|
|
@ -61,6 +61,14 @@ class GameManagerTest { |
|
|
|
// assert |
|
|
|
assertThat(collision).isEqualTo(expected); |
|
|
|
} |
|
|
|
|
|
|
|
@Test |
|
|
|
void testResumeGame() { |
|
|
|
GameManager game = new GameManager(); |
|
|
|
game.Unpause(); |
|
|
|
assertFalse(game.isPaused); |
|
|
|
} |
|
|
|
|
|
|
|
@Test |
|
|
|
void testPauseGame() { |
|
|
|
GameManager game = new GameManager(); |
|
|
@ -69,7 +77,6 @@ class GameManagerTest { |
|
|
|
game.Pause(); |
|
|
|
assertTrue(game.isPaused); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
void GameManager_GostPlayerCollisionTest_DoesntDetectColliosion() { |
|
|
|