|
@ -117,12 +117,13 @@ class VisualizerPlainTextUltraTest { |
|
|
|
|
|
|
|
|
gameManager.score = 100; |
|
|
gameManager.score = 100; |
|
|
|
|
|
|
|
|
|
|
|
String expected = "\nSCORE: 100"; |
|
|
// act |
|
|
// act |
|
|
vptu.Update(); |
|
|
vptu.Update(); |
|
|
String result = (String)vptu.GetOutput(); |
|
|
String result = (String)vptu.GetOutput(); |
|
|
|
|
|
|
|
|
// assert |
|
|
// assert |
|
|
assertThat(result).startsWith("\nSCORE: 100"); |
|
|
|
|
|
|
|
|
assertThat(result).startsWith(expected); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Test |
|
|
@Test |
|
|