]> git.xonotic.org Git - xonotic/gmqcc.git/blob - tests/truth-flags-1.tmpl
add tests for INSTR_STATE and -femulate-state
[xonotic/gmqcc.git] / tests / truth-flags-1.tmpl
1 I: truth-flags-2.qc
2 D: logic flags
3 T: -execute
4 C: -std=fteqcc
5 M:                 ! & | i N
6 M: 'str', 'str' -> 0 1 1 1 0
7 M: 'str', ''    -> 0 1 1 1 0
8 M: 'str', 0     -> 0 0 1 1 0
9 M: '',    'str' -> 1 1 1 1 0
10 M: '',    ''    -> 1 1 1 1 0
11 M: '',    0     -> 1 0 1 1 0
12 M: 0,     'str' -> 1 0 1 0 1
13 M: 0,     ''    -> 1 0 1 0 1
14 M: 0,     0     -> 1 0 0 0 1