Map at floor -1 is now not deterministic
This commit is contained in:
parent
571857b063
commit
949555ffff
|
@ -745,8 +745,6 @@ class TestGame(unittest.TestCase):
|
||||||
self.game.handle_key_pressed(KeyValues.LADDER)
|
self.game.handle_key_pressed(KeyValues.LADDER)
|
||||||
self.assertEqual(self.game.map_index, 1)
|
self.assertEqual(self.game.map_index, 1)
|
||||||
self.assertEqual(self.game.player.map.floor, 1)
|
self.assertEqual(self.game.player.map.floor, 1)
|
||||||
self.assertEqual(self.game.player.y, 1)
|
|
||||||
self.assertEqual(self.game.player.x, 17)
|
|
||||||
self.game.display_actions(DisplayActions.UPDATE)
|
self.game.display_actions(DisplayActions.UPDATE)
|
||||||
|
|
||||||
# Move up
|
# Move up
|
||||||
|
|
Loading…
Reference in New Issue