|
|
@ -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() { |
|
|
|
|
|
|
|