Browse Source

refactoring: Fixed typo

remotes/origin/ghostsbehaviour
fdai7753 11 months ago
parent
commit
b53e5ff500
  1. 4
      src/test/java/pacmanTests/GameManagerTest.java

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

@ -54,11 +54,11 @@ class GameManagerTest {
GameManager gameManager = new GameManager();
gameManager.player.position = gameManager.ghosts[0].position.Clone();
//act
boolean colision = gameManager.GhostPlayerColisionTest();
boolean collision = gameManager.GhostPlayerColisionTest();
boolean expected = true;
// assert
assertThat(colision).isEqualTo(expected);
assertThat(collision).isEqualTo(expected);
}
@Test
void GameManager_GostPlayerColisionTest_DoesntDetectColosion() {

Loading…
Cancel
Save