Debian Codegraph @

tests/spec/unit/general/test_var_set_assignment.mzn

raw
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;