Fix: Replaced Model With MiniModel in the client implementation and in the view
This commit is contained in:
@@ -1480,35 +1480,7 @@ class GameTest {
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
void playersStampShouldReturnPlayersInformation() {
|
||||
Game game = new Game(3);
|
||||
|
||||
addPlayers(game, 3, "stamp_");
|
||||
|
||||
String result = game.PlayersStamp();
|
||||
|
||||
assertNotNull(result);
|
||||
assertFalse(result.isBlank());
|
||||
assertTrue(result.contains("stamp_1"));
|
||||
assertTrue(result.contains("stamp_2"));
|
||||
assertTrue(result.contains("stamp_3"));
|
||||
}
|
||||
|
||||
@Test
|
||||
void boardStampShouldReturnBoardInformation() {
|
||||
Game game = new Game(3);
|
||||
|
||||
addPlayers(game, 3, "board_stamp_");
|
||||
|
||||
String result = game.BoardStamp();
|
||||
|
||||
assertNotNull(result);
|
||||
assertFalse(result.isBlank());
|
||||
assertTrue(result.contains("CURRENT STATE"));
|
||||
assertTrue(result.contains("Char/Events"));
|
||||
assertTrue(result.contains("Building"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@Timeout(value = 20, unit = TimeUnit.SECONDS)
|
||||
|
||||
Reference in New Issue
Block a user