Get MazeFinderTest to compile, although it will still fail

main
Bryson Zimmerman 12 months ago
parent 8095aed6be
commit 87a7d5ce60

@ -42,7 +42,7 @@ class MazeFinderTest {
col -> col ->
col.forEach { col.forEach {
tile -> tile ->
assert(tile.visited) assert(tile.visited())
} }
} }
} }
@ -54,9 +54,9 @@ class MazeFinderTest {
col -> col ->
col.forEachIndexed { y, col.forEachIndexed { y,
tileprop -> tileprop ->
if(tileprop.connections.isEmpty()) if(!tileprop.visited())
println("Empty Connections at: " + Tile(x, y).toString()) println("Empty Connections at: " + Tile(x, y).toString())
assert(tileprop.connections.isNotEmpty()) assert(tileprop.visited())
} }
} }
} }

Loading…
Cancel
Save