Need the test file.json
This commit is contained in:
parent
ebb5360c5c
commit
c6d298023a
1 changed files with 41 additions and 0 deletions
41
tests/dijkstra.json
Normal file
41
tests/dijkstra.json
Normal file
|
@ -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…
Add table
Add a link
Reference in a new issue