diff --git a/src/test/java/pacmanTests/GameManagerTest.java b/src/test/java/pacmanTests/GameManagerTest.java index 1646f9d..ef7f702 100644 --- a/src/test/java/pacmanTests/GameManagerTest.java +++ b/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() {