Fixing syntax in tests
This commit is contained in:
parent
5424c7cd98
commit
f240cafa83
|
@ -28,5 +28,6 @@ class TestRandomWalk(unittest.TestCase):
|
|||
y, x = queue.pop()
|
||||
if m.tiles[y][x].can_walk():
|
||||
m.tiles[y][x] = Tile.WALL
|
||||
queue += m.neighbourhood(y, x)
|
||||
queue += Map.neighbourhood(m.tiles, y, x)
|
||||
|
||||
self.assertFalse(any([any([t.can_walk() for t in l]) for l in m.tiles]))
|
||||
|
|
Loading…
Reference in New Issue