|
|
@ -257,6 +257,17 @@ public class GameServiceTest { |
|
|
|
assertEquals(expected, answer); |
|
|
|
} |
|
|
|
|
|
|
|
@Test |
|
|
|
@DisplayName("CheckThatBotDeckHasSevenCardsAfterGameStart") |
|
|
|
public void CheckThatBotDeckHasSevenCardsAfterGameStart() { |
|
|
|
GameService gameService = new GameService(); |
|
|
|
|
|
|
|
int expected = 7; |
|
|
|
int actual = gameService.getGame().getPlayerService().getPlayerList().getLast().getPlayerDeck().size(); |
|
|
|
|
|
|
|
assertEquals(expected, actual); |
|
|
|
} |
|
|
|
|
|
|
|
@Test |
|
|
|
@DisplayName("CheckFirstCardIsSet") |
|
|
|
public void CheckFirstCardIsSet() { |
|
|
|