☰
Debian Codegraph
@
2.9.7+dfsg1-1
2.10.0+dfsg1-1
/
/
tests
/
spec
/
unit
/
division
/
test_div9.mzn
☽
☼
tests/spec/unit/division/test_div9.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
solution: !Solution
6
y: 1
7
***/
8
9
var 0..2: y;
10
11
constraint 2 div y + 2 div (y - 2) == 0 ;
12
13
solve satisfy;