From 60c636c33a9c9914dccbf0d2e0c7b3bcc7607b20 Mon Sep 17 00:00:00 2001 From: fdai7012 Date: Thu, 8 Feb 2024 00:18:17 +0100 Subject: [PATCH] fixed error in GameManagerTest --- src/test/java/pacmanTests/GameManagerTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/java/pacmanTests/GameManagerTest.java b/src/test/java/pacmanTests/GameManagerTest.java index 175852b..28e4932 100644 --- a/src/test/java/pacmanTests/GameManagerTest.java +++ b/src/test/java/pacmanTests/GameManagerTest.java @@ -34,6 +34,7 @@ class GameManagerTest { // arrange GameManager gameManager = new GameManager(); + gameManager.visualizer = new VisualizerPlainText(gameManager); VisualizerPlainText vpt = (VisualizerPlainText) gameManager.visualizer; // act