Browse Source

Test.CheckThatBotDeckHasSevenCardsAfterGameStart

main
fdai7793 11 months ago
parent
commit
1637ecf8ba
  1. 11
      src/test/java/de/hsfulda/onses/GameServiceTest.java

11
src/test/java/de/hsfulda/onses/GameServiceTest.java

@ -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() {

Loading…
Cancel
Save