☰
Debian Codegraph
@
2.9.7+dfsg1-1
2.10.0+dfsg1-1
/
/
tests
/
spec
/
unit
/
regression
/
test_bug_129.mzn
☽
☼
tests/spec/unit/regression/test_bug_129.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
***/
6
7
array[int] of int: x = [3,4];
8
9
array[int] of int : y = [x | x in 1..2 where z[x]];
10
array[int] of bool : z = [x[i] == 1| i in 1..2];
11
12
solve satisfy;