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 gameManager = new GameManager();
gameManager.player.position = gameManager.ghosts[0].position.Clone(); gameManager.player.position = gameManager.ghosts[0].position.Clone();
//act //act
boolean colision = gameManager.GhostPlayerColisionTest();
boolean collision = gameManager.GhostPlayerColisionTest();
boolean expected = true; boolean expected = true;
// assert // assert
assertThat(colision).isEqualTo(expected);
assertThat(collision).isEqualTo(expected);
} }
@Test @Test
void GameManager_GostPlayerColisionTest_DoesntDetectColosion() { void GameManager_GostPlayerColisionTest_DoesntDetectColosion() {

Loading…
Cancel
Save