"vscode:/vscode.git/clone" did not exist on "d0a64c7e2cc9c613084a828d9e32ba41b7742cf5"
dense_grid.json 1.11 KB
Newer Older
rusty1s's avatar
rusty1s committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[
  {
    "name": "One-dimensional positions without start/end",
    "position": [2, 16],
    "size": [5],
    "expected": [0, 2],
    "expected_C": 3
  },
  {
    "name": "Start parameter",
    "position": [2, 16],
    "size": [5],
    "start": 0,
    "expected": [0, 3],
    "expected_C": 4
  },
  {
    "name": "End parameter",
    "position": [2, 16],
    "size": [5],
    "start": 0,
    "end": 30,
    "expected": [0, 3],
    "expected_C": 6
  },
  {
    "name": "Two-dimensional positions",
    "position": [[0, 0], [11, 9], [2, 8], [2, 2], [8, 3]],
    "size": [5, 5],
    "expected": [0, 5, 1, 0, 2],
    "expected_C": 6
  },
  {
    "name": "Batch",
    "position": [[0, 0], [11, 9], [2, 8], [2, 2], [8, 3], [1, 1], [6, 6]],
    "size": [5, 5],
    "batch": [0, 0, 0, 0, 0, 1, 1],
    "expected": [0, 5, 1, 0, 2, 6, 9],
    "expected_C": 6
rusty1s's avatar
rusty1s committed
40
41
42
43
44
45
46
47
48
49
  },
  {
    "name": "Batch with start/end parameter",
    "position": [[0, 0], [11, 9], [2, 8], [2, 2], [8, 3], [1, 1], [6, 6]],
    "size": [5, 5],
    "batch": [0, 0, 0, 0, 0, 1, 1],
    "start": 0,
    "end": 20,
    "expected": [0, 9, 1, 0, 4, 16, 21],
    "expected_C": 16
rusty1s's avatar
rusty1s committed
50
51
52
  }
]