☰
Debian Codegraph
@
2.9.7+dfsg1-1
2.10.0+dfsg1-1
/
/
tests
/
spec
/
unit
/
general
/
test_var_set_assignment.mzn
☽
☼
tests/spec/unit/general/test_var_set_assignment.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
a:
6
- !!set {1}
7
- !Range 2..3
8
- !Range 4..5
9
***/
10
11
array [1..3] of var set of 1..5: a :: add_to_output = [{1}, {2, 3}, {4, 5}];
12
solve satisfy;