diff --git a/src/test/java/pacmanTests/GameManagerTest.java b/src/test/java/pacmanTests/GameManagerTest.java index eb24fed..fff3574 100644 --- a/src/test/java/pacmanTests/GameManagerTest.java +++ b/src/test/java/pacmanTests/GameManagerTest.java @@ -46,6 +46,7 @@ class GameManagerTest { // assert assertThat(initialVptOutput).isNotEqualTo(updatedVptOutput); } + @Test void GameManager_GostPlayerColisionTest_DetectsColosion() { @@ -60,6 +61,16 @@ class GameManagerTest { // assert assertThat(collision).isEqualTo(expected); } + @Test + void testPauseGame() { + GameManager game = new GameManager(); + + assertFalse(game.isPaused); + game.Pause(); + assertTrue(game.isPaused); + } + + @Test void GameManager_GostPlayerCollisionTest_DoesntDetectColliosion() {