Browse Source

refactoring: optimizations

main
fdai7012 11 months ago
parent
commit
ca90312709
  1. 3
      src/test/java/pacmanTests/GameManagerTest.java

3
src/test/java/pacmanTests/GameManagerTest.java

@ -17,11 +17,10 @@ class GameManagerTest {
// act
int initialTime = gameManager.time;
int expectedUpdatedTime = gameManager.time + 1;
gameManager.Update();
int updatedTime = gameManager.time;
int expectedUpdatedTime = initialTime + 1;
// assert
assertThat(expectedUpdatedTime).isEqualTo(updatedTime);

Loading…
Cancel
Save