☰
Debian Codegraph
@
2.9.7+dfsg1-1
2.10.0+dfsg1-1
/
/
tests
/
spec
/
unit
/
regression
/
test_bug66.mzn
☽
☼
tests/spec/unit/regression/test_bug66.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
s1: !set {1}
7
s2: !Range 1..2
8
***/
9
10
var set of 1..1: s1;
11
var set of 1..3: s2;
12
13
constraint s2 = s1 union if 1 in s1 then {2} else {3} endif;
14
15
solve satisfy;