diff --git a/src/test/java/pacmanTests/GameManagerTest.java b/src/test/java/pacmanTests/GameManagerTest.java index 928c9c7..1b093b0 100644 --- a/src/test/java/pacmanTests/GameManagerTest.java +++ b/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);