☰
Debian Codegraph
@
2.9.7+dfsg1-1
2.10.0+dfsg1-1
/
/
tests
/
spec
/
unit
/
regression
/
move_where_clause.mzn
☽
☼
tests/spec/unit/regression/move_where_clause.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[1..4] of bool: t = [true, false, true, false];
8
array[int] of int: x = [ i+j | i in 1..4 where t[i], j in 1..4];
9
constraint sum(x) = 36;