Need the test file.json

main
Zed A. Shaw 2 months ago
parent ebb5360c5c
commit c6d298023a
  1. 41
      tests/dijkstra.json

@ -0,0 +1,41 @@
[{
"input": [
[1, 1, 1, 0],
[1, 0, 1, 1],
[1, 0, 1, 1],
[1, 1, 1, 1]
],
"walls": [
[0, 0, 0, 0],
[0, 0, 0, 0],
[0, 0, 1, 0],
[0, 0, 1, 0]
],
"expected": [
[1, 1, 1, 0],
[1, 0, 1, 1],
[1, 0, 10, 2],
[1, 1, 10, 3]
],
"limit": 10
},{
"input": [
[1, 1, 1, 0],
[1, 0, 1, 1],
[1, 0, 1, 1],
[1, 1, 1, 1]
],
"walls": [
[0, 0, 0, 0],
[0, 0, 0, 0],
[0, 0, 1, 0],
[0, 0, 1, 0]
],
"expected": [
[1, 1, 1, 0],
[1, 0, 1, 1],
[1, 0, 0, 2],
[1, 1, 0, 3]
],
"limit": 0
}]
Loading…
Cancel
Save