Browse Source

added the gUnitTest for TooglePause function in to gameManagerTest

remotes/origin/playerRefactoring
fdai2751 11 months ago
parent
commit
7d9d02db94
  1. 4
      src/test/java/pacmanTests/GameManagerTest.java

4
src/test/java/pacmanTests/GameManagerTest.java

@ -89,7 +89,7 @@ class GameManagerTest {
assertThat(ghostPosition).isEqualTo(expectedPosition);
}
/*@Test
@Test
void GameManager_TogglePause_NotTogglePause() {
GameManager gameManager = new GameManager();
gameManager.isPaused = true;
@ -97,7 +97,7 @@ class GameManagerTest {
boolean pause = gameManager.isPaused;
boolean expected = false;
assertThat(pause).isEqualTo(expected);
}*/
}
@Test
void GameManager_Pause_NotPause() {
GameManager gameManager = new GameManager();

Loading…
Cancel
Save