mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-23 07:29:02 -08:00
Print total after STAY
This commit is contained in:
@@ -84,7 +84,7 @@ public class GameTest {
|
||||
game.play(player);
|
||||
|
||||
// Then
|
||||
assertEquals("PLAYER 1 ? ", out.toString());
|
||||
assertTrue(out.toString().startsWith("PLAYER 1 ? TOTAL IS 5"));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user