☰
Debian Codegraph
@
2.9.7+dfsg1-1
2.10.0+dfsg1-1
/
/
tests
/
spec
/
unit
/
general
/
test_set_lt_3.mzn
☽
☼
tests/spec/unit/general/test_set_lt_3.mzn
code
plain
raw
MPL-2.0
2014-2025 Monash University and NICTA
debian/copyright
1
/***
2
--- !Test
3
solvers: [chuffed, cbc, highs]
4
expected: !Result
5
solution: !Solution
6
y: !!set {1, 4}
7
***/
8
9
% Comparison of sets with holes
10
11
set of int: x = {1, 2};
12
var set of {1, 4}: y;
13
14
constraint card(y) = 2;
15
constraint x < y;