☰
Debian Codegraph
@
2.9.7+dfsg1-1
2.10.0+dfsg1-1
/
/
tests
/
spec
/
unit
/
general
/
test_let_var_array.mzn
☽
☼
tests/spec/unit/general/test_let_var_array.mzn
code
plain
raw
MPL-2.0
2014-2025 Monash University and NICTA
debian/copyright
1
/***
2
!Test
3
expected:
4
- !Result
5
status: SATISFIED
6
solution: !Solution
7
x: 1
8
- !Result
9
status: SATISFIED
10
solution: !Solution
11
x: 10
12
***/
13
14
var int: x :: add_to_output =
15
let {
16
array [1..3] of var 1..10: a = [1, _, 3]
17
}
18
in a[2];
19
solve satisfy;