this repo has no description
1/***
2!Test
3extra_files:
4- coerce_indices.json
5expected: !Result
6 solution: !Solution
7 offset1d: [-10,-9,-8]
8 offset2d: [[1, 2], [3, 4]]
9 coerce1d: [[[1, 2, 3], [4, 5, 6]]]
10 singleUndef: [1, 2, 3]
11 coerceCalc: [[1, 2], [3, 4]]
12 ndimEmpty: []
13***/
14
15
16array[-10..-8] of int: offset1d ::add_to_output;
17array[4..5, 0..1] of int: offset2d ::add_to_output;
18
19array[1..1, 1..2, 1..3] of int: coerce1d ::add_to_output;
20array[2..3, int] of int: coerceCalc ::add_to_output;
21
22array[int] of int: singleUndef ::add_to_output;
23array[int, 1..2] of int: ndimEmpty ::add_to_output;
24