Browse Source

Test.CheckIfCardsInDrawCardDeckAreFaceDown

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

10
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());
}
}
}
Loading…
Cancel
Save