diff --git a/src/test/java/de/hsfulda/onses/GameServiceTest.java b/src/test/java/de/hsfulda/onses/GameServiceTest.java index de47a5e..acefad7 100644 --- a/src/test/java/de/hsfulda/onses/GameServiceTest.java +++ b/src/test/java/de/hsfulda/onses/GameServiceTest.java @@ -474,4 +474,14 @@ public class GameServiceTest { assertTrue(answer); } + + @Test + @DisplayName("CheckIfCardsInDrawCardDeckAreFaceDown") + public void CheckIfCardsInDrawCardDeckAreFaceDown() { + GameService gameService = new GameService(); + + for (int i = 0; i < gameService.getGame().getDrawCardDeck().size(); i++) { + assertTrue(gameService.getGame().getDrawCardDeck().get(i).isFacedown()); + } + } }