From 7d9d02db9435fe1c121629ebb15a7b4fa74d0b70 Mon Sep 17 00:00:00 2001 From: fdai2751 Date: Wed, 7 Feb 2024 21:33:42 +0100 Subject: [PATCH] added the gUnitTest for TooglePause function in to gameManagerTest --- 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 14cbd0c..099d5f7 100644 --- a/src/test/java/pacmanTests/GameManagerTest.java +++ b/src/test/java/pacmanTests/GameManagerTest.java @@ -89,7 +89,7 @@ class GameManagerTest { assertThat(ghostPosition).isEqualTo(expectedPosition); } - /*@Test + @Test void GameManager_TogglePause_NotTogglePause() { GameManager gameManager = new GameManager(); gameManager.isPaused = true; @@ -97,7 +97,7 @@ class GameManagerTest { boolean pause = gameManager.isPaused; boolean expected = false; assertThat(pause).isEqualTo(expected); - }*/ + } @Test void GameManager_Pause_NotPause() { GameManager gameManager = new GameManager();