This commit is contained in:
Yohann D'ANELLO 2020-11-11 17:24:57 +01:00
parent af39a305b1
commit a4eaab0db6
1 changed files with 1 additions and 2 deletions

View File

@ -123,7 +123,7 @@ class TestGame(unittest.TestCase):
self.game.handle_key_pressed(KeyValues.SPACE) self.game.handle_key_pressed(KeyValues.SPACE)
self.assertEqual(self.game.state, GameMode.MAINMENU) self.assertEqual(self.game.state, GameMode.MAINMENU)
def test_dead_screen(self): def test_dead_screen(self) -> None:
""" """
Kill player and render dead screen. Kill player and render dead screen.
""" """
@ -138,4 +138,3 @@ class TestGame(unittest.TestCase):
new_y, new_x = self.game.player.y, self.game.player.x new_y, new_x = self.game.player.y, self.game.player.x
self.assertEqual(new_y, y) self.assertEqual(new_y, y)
self.assertEqual(new_x, x) self.assertEqual(new_x, x)