☰
Debian Codegraph
@
2.9.7+dfsg1-1
2.10.0+dfsg1-1
/
/
tests
/
spec
/
unit
/
general
/
mzn_mod.mzn
☽
☼
tests/spec/unit/general/mzn_mod.mzn
code
plain
raw
MPL-2.0
2014-2025 Monash University and NICTA
debian/copyright
1
/***
2
!Test
3
expected: !Result
4
status: SATISFIED
5
***/
6
7
constraint 7 mod 4 = 3;
8
constraint -7 mod 4 = -3;
9
constraint 7 mod -4 = 3;
10
constraint -7 mod -4 = -3;
11
12
solve satisfy;
13