Debian Codegraph @

tests/spec/unit/general/test_negated_and_or.mzn

raw
1 /***
2 !Test
3 solvers: [gecode, chuffed]
4 options:
5 all_solutions: true
6 expected: !Result
7 status: ALL_SOLUTIONS
8 solution: !SolutionSet
9 - !Solution
10 x: true
11 y: false
12 z: false
13 - !Solution
14 x: false
15 y: true
16 z: false
17 - !Solution
18 x: false
19 y: false
20 z: false
21 ***/
22
23 var bool: x;
24 var bool: y;
25 var bool: z;
26
27 constraint not (x /\ y \/ z);
28
29 solve satisfy;