Debian Codegraph @

tests/spec/unit/optional/test-opt-bool-3.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: false
19 y: true
20 - !Solution
21 x: true
22 y: false
23 status: ALL_SOLUTIONS
24 ***/
25
26 var opt bool: x;
27 var opt bool: y;
28
29 constraint x \/ y;