tests/spec/unit/regression/github_644_a.mzn
raw| 1 | /*** |
| 2 | !Test |
| 3 | solvers: [gecode] |
| 4 | options: |
| 5 | all_solutions: true |
| 6 | expected: !Result |
| 7 | solution: !SolutionSet |
| 8 | - !Solution |
| 9 | arr: [null, null] |
| 10 | - !Solution |
| 11 | arr: [null, false] |
| 12 | - !Solution |
| 13 | arr: [null, true] |
| 14 | - !Solution |
| 15 | arr: [false, null] |
| 16 | - !Solution |
| 17 | arr: [false, false] |
| 18 | - !Solution |
| 19 | arr: [false, true] |
| 20 | - !Solution |
| 21 | arr: [true, true] |
| 22 | ***/ |
| 23 | |
| 24 | array[1..2] of var opt bool: arr; |
| 25 | |
| 26 | constraint arr[1] = true -> arr[2] = true; |