☰
Debian Codegraph
@
2.9.7+dfsg1-1
2.10.0+dfsg1-1
/
/
tests
/
spec
/
unit
/
regression
/
github_1014.mzn
☽
☼
tests/spec/unit/regression/github_1014.mzn
code
plain
raw
MPL-2.0
2014-2025 Monash University and NICTA
debian/copyright
1
/***
2
!Test
3
solvers: [gecode]
4
type: solve
5
expected: !Result
6
solution: !Solution
7
v: A
8
***/
9
10
enum E = { A, B };
11
12
array[1..2] of record(E: x, E: y): tab = [
13
(x: A, y: A),
14
(x: B, y: B),
15
];
16
17
var E: v;
18
19
constraint (x: v, y: A) in tab;
20
21
solve satisfy;