Debian Codegraph @

tests/spec/unit/json/tuple_json_input.mzn

raw
1 /***
2 !Test
3 extra_files:
4 - tuple_json_input.json
5 solvers: [gecode]
6 expected: !Result
7 solution: !Solution
8 singlet: [-3]
9 duo: ["Albus", true]
10 arr1d: [[0.2, true], [-23.1, false]]
11 arr2d: [[[1, "one", true], [2, "two", true]], [[-1, "min one", false], [-2, "min two", false]]]
12 empty_arr: []
13 ***/
14
15
16 tuple(int): singlet ::output;
17 tuple(string, bool): duo ::output;
18 array[_] of tuple(float, bool): arr1d ::output;
19 array[_,_] of tuple(int, string, bool): arr2d ::output;
20 array[_] of tuple(bool, int, float, string): empty_arr :: output;