|
@ -22,6 +22,7 @@ class VisualizerPlainTextTest { |
|
|
GameManager gameManager = new GameManager(); |
|
|
GameManager gameManager = new GameManager(); |
|
|
gameManager.map = new Map(mapTest, gameManager); |
|
|
gameManager.map = new Map(mapTest, gameManager); |
|
|
VisualizerPlainText vpt = new VisualizerPlainText(gameManager); |
|
|
VisualizerPlainText vpt = new VisualizerPlainText(gameManager); |
|
|
|
|
|
vpt.showScore = false; |
|
|
|
|
|
|
|
|
String expected = "" |
|
|
String expected = "" |
|
|
+ "[]. []\n" |
|
|
+ "[]. []\n" |
|
@ -46,6 +47,7 @@ class VisualizerPlainTextTest { |
|
|
GameManager gameManager = new GameManager(); |
|
|
GameManager gameManager = new GameManager(); |
|
|
gameManager.map = new Map(mapTest, gameManager); |
|
|
gameManager.map = new Map(mapTest, gameManager); |
|
|
VisualizerPlainText vpt = new VisualizerPlainText(gameManager); |
|
|
VisualizerPlainText vpt = new VisualizerPlainText(gameManager); |
|
|
|
|
|
vpt.showScore = false; |
|
|
|
|
|
|
|
|
gameManager.ghosts[0].position = new Vector2(1, 1); |
|
|
gameManager.ghosts[0].position = new Vector2(1, 1); |
|
|
|
|
|
|
|
|