From b53e5ff5005b3a6fc548e67cbae155acfff7f571 Mon Sep 17 00:00:00 2001 From: fdai7753 Date: Wed, 7 Feb 2024 19:17:04 +0100 Subject: [PATCH] refactoring: Fixed typo --- src/test/java/pacmanTests/GameManagerTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() {