Browse Source

fixed error in GameManagerTest

remotes/origin/visualizer
fdai7012 11 months ago
parent
commit
60c636c33a
  1. 1
      src/test/java/pacmanTests/GameManagerTest.java

1
src/test/java/pacmanTests/GameManagerTest.java

@ -34,6 +34,7 @@ class GameManagerTest {
// arrange // arrange
GameManager gameManager = new GameManager(); GameManager gameManager = new GameManager();
gameManager.visualizer = new VisualizerPlainText(gameManager);
VisualizerPlainText vpt = (VisualizerPlainText) gameManager.visualizer; VisualizerPlainText vpt = (VisualizerPlainText) gameManager.visualizer;
// act // act

Loading…
Cancel
Save