tests/spec/unit/optional/test-opt-binop-flatten.mzn
raw| 1 | /*** |
| 2 | !Test |
| 3 | expected: !Result |
| 4 | solution: !Solution |
| 5 | z: 5 |
| 6 | status: SATISFIED |
| 7 | ***/ |
| 8 | |
| 9 | % Checks to ensure that correct evaluation is done when flattening vars that are actually par |
| 10 | |
| 11 | var opt int: x = 10; |
| 12 | var opt int: y = 5; |
| 13 | |
| 14 | var opt int: z :: add_to_output :: mzn_break_here = x - y; |