Fix: Replaced Model With MiniModel in the client implementation and in the view

This commit is contained in:
rubenpirreram
2026-05-12 23:21:06 +02:00
parent 40aa62e3d0
commit 779b72275c
16 changed files with 224 additions and 217 deletions
@@ -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)