| 1 |
/*** |
| 2 |
!Test |
| 3 |
extra_files: |
| 4 |
- json_input_1.json |
| 5 |
solvers: [gecode] |
| 6 |
expected: !Result |
| 7 |
solution: !Solution |
| 8 |
int_set: !!set {1, 2, 4, 5, 7, 9} |
| 9 |
float_set: !!set {1.0, 2.0} |
| 10 |
array_1d_float: [1.0, 2.0, 3.0] |
| 11 |
array_2d_bool: [[true]] |
| 12 |
array_3d_int: [[[1, 2], [3, 4]], [[5, 6], [7, 8]]] |
| 13 |
array_opt_float: [1.5, null] |
| 14 |
x: 1 |
| 15 |
y: 2.0 |
| 16 |
z: true |
| 17 |
o: null |
| 18 |
***/ |
| 19 |
|
| 20 |
set of int: int_set :: add_to_output; |
| 21 |
set of float: float_set :: add_to_output; |
| 22 |
|
| 23 |
array [1..3] of float: array_1d_float :: add_to_output; |
| 24 |
array [1..1, 1..1] of bool: array_2d_bool :: add_to_output; |
| 25 |
array [1..2, 1..2, 1..2] of int: array_3d_int :: add_to_output; |
| 26 |
|
| 27 |
array [1..2] of opt float: array_opt_float :: add_to_output; |
| 28 |
|
| 29 |
int: x :: add_to_output; |
| 30 |
float: y :: add_to_output; |
| 31 |
bool: z :: add_to_output; |
| 32 |
|
| 33 |
opt int: o :: add_to_output; |