Debian Codegraph @

tests/spec/unit/regression/github_716.mzn

raw
1 /***
2 !Test
3 solvers: [gecode]
4 options:
5 all_solutions: true
6 expected: !Result
7 status: ALL_SOLUTIONS
8 solution: !SolutionSet
9 - !Solution
10 BV9: false
11 BV8: true
12 BV7: false
13 BV4: true
14 - !Solution
15 BV9: true
16 BV8: true
17 BV7: false
18 BV4: true
19 - !Solution
20 BV9: false
21 BV8: false
22 BV7: true
23 BV4: true
24 - !Solution
25 BV9: true
26 BV8: false
27 BV7: true
28 BV4: true
29 ***/
30 var bool: BV9;
31 var bool: BV8;
32 var bool: BV7;
33 var bool: BV4;
34
35 constraint (BV9) \/ ((not BV8) == (BV7));
36 constraint ((not BV8) == (BV7)) == (BV4);
37 constraint BV4;