Browse Source

Test.CheckThatPlayerReceivedSevenCards

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

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

@ -291,4 +291,14 @@ public class GameServiceTest {
assertEquals(Card.Color.BLACK, card.getColor());
}
@Test
@DisplayName("CheckThatPlayerReceivedSevenCards")
public void CheckThatPlayerReceivedSevenCards() {
GameService gameService = new GameService();
int numberOfCards = gameService.getGame().getPlayerService().getPlayerList().getFirst().getPlayerDeck().size();
assertEquals(7, numberOfCards);
}
}
Loading…
Cancel
Save