Debian Codegraph @

tests/spec/unit/regression/github_821.mzn

raw
1 /***
2 !Test
3 solvers: [gecode]
4 expected: !Result
5 solution: !Solution
6 x: [B, A]
7 ***/
8
9 enum E = {A, B};
10 array[1..2] of var E: x :: output = [
11 if i == 1 then B else _ endif
12 | i in 1..2
13 ];
14
15 constraint x[1] != x[2];