☰
Debian Codegraph
@
2.9.7+dfsg1-1
2.10.0+dfsg1-1
/
/
tests
/
spec
/
unit
/
regression
/
array_of_empty_sets.mzn
☽
☼
tests/spec/unit/regression/array_of_empty_sets.mzn
code
plain
raw
MPL-2.0
2014-2025 Monash University and NICTA
debian/copyright
1
/***
2
!Test
3
solvers: [gecode]
4
options:
5
all_solutions: true
6
expected: !Result
7
solution: !SolutionSet
8
- !Solution
9
i: 1
10
- !Solution
11
i: 2
12
***/
13
14
include "nosets.mzn";
15
16
array [int] of set of int: a = [{}, {}];
17
var 1..2: i;
18
constraint not (i in a[i]);