Browse Source

refactoring: Fixed typo

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

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

@ -84,8 +84,8 @@ class GameManagerTest {
Vector2 expectedPosition = new Vector2(1, 1);
// act
gameManager.ghosts[0].spawn();
Vector2 ghostPositeion = gameManager.ghosts[0].position;
Vector2 ghostPosition = gameManager.ghosts[0].position;
// assert
assertThat(ghostPositeion).isEqualTo(expectedPosition);
assertThat(ghostPosition).isEqualTo(expectedPosition);
}
}
Loading…
Cancel
Save