Debian Codegraph @

tests/spec/unit/compilation/op_precedences.mzn

raw
1 /***
2 !Test
3 check_against: []
4 expected:
5 - !Result
6 status: SATISFIED
7 solvers:
8 - gecode
9 type: solve
10 ***/
11 set of int: x = 1..3;
12 set of int: y = 2..4;
13 set of int: z = 3..5;
14
15 constraint (x union y intersect z) = (x union (y intersect z));
16 constraint -2^2 = -4;