diff --git a/src/test/java/de/hsfulda/onses/GameServiceTest.java b/src/test/java/de/hsfulda/onses/GameServiceTest.java index acefad7..02dff9b 100644 --- a/src/test/java/de/hsfulda/onses/GameServiceTest.java +++ b/src/test/java/de/hsfulda/onses/GameServiceTest.java @@ -484,4 +484,14 @@ public class GameServiceTest { assertTrue(gameService.getGame().getDrawCardDeck().get(i).isFacedown()); } } + + @Test + @DisplayName("CheckIfCardsInPlayerDeckAreFaceUp") + public void CheckIfCardsInPlayerDeckAreFaceUp() { + GameService gameService = new GameService(); + + for (int i = 0; i < gameService.getGame().getPlayerService().getPlayerList().getFirst().getPlayerDeck().size(); i++) { + assertFalse(gameService.getGame().getPlayerService().getPlayerList().getFirst().getPlayerDeck().get(i).isFacedown()); + } + } }