Debian Codegraph @

tests/spec/unit/optional/test-opt-bool-2.mzn

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