tests/spec/unit/general/test_negated_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: false |
| 11 | y: false |
| 12 | z: false |
| 13 | ***/ |
| 14 | |
| 15 | var bool: x; |
| 16 | var bool: y; |
| 17 | var bool: z; |
| 18 | |
| 19 | constraint not(x \/ y \/ z); |
| 20 | |
| 21 | solve satisfy; |