☰
Debian Codegraph
@
2.9.7+dfsg1-1
2.10.0+dfsg1-1
/
/
tests
/
spec
/
unit
/
compilation
/
op_precedences.mzn
☽
☼
tests/spec/unit/compilation/op_precedences.mzn
code
plain
raw
MPL-2.0
2014-2025 Monash University and NICTA
debian/copyright
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;