☰
Debian Codegraph
@
2.9.7+dfsg1-1
2.10.0+dfsg1-1
/
/
tests
/
spec
/
unit
/
general
/
mzn-implicit6.mzn
☽
☼
tests/spec/unit/general/mzn-implicit6.mzn
code
plain
raw
MPL-2.0
2014-2025 Monash University and NICTA
debian/copyright
1
/***
2
!Test
3
expected: !Result
4
solution: !Solution
5
x: [[1, 1], [1, 1]]
6
ix: !Range 3..4
7
***/
8
9
array[int, int] of var 1..1: x :: add_to_output = array2d(1..2, 3..4, [1, _, _, _]);
10
set of int: ix :: add_to_output = index_set_2of2(x);
11
solve satisfy;