diff --git a/src/test/java/de/hsfulda/onses/CardTest.java b/src/test/java/de/hsfulda/onses/CardTest.java index 8f396b5..d7ea092 100644 --- a/src/test/java/de/hsfulda/onses/CardTest.java +++ b/src/test/java/de/hsfulda/onses/CardTest.java @@ -76,4 +76,15 @@ public class CardTest { assertEquals(expected, answer); } + @Test + @DisplayName("facedownSetter") + public void faceDownSetter() { + Card card = new Card(); + card.setFacedown(true); + boolean answer = card.isFacedown(); + boolean expected = true; + assertEquals(expected, answer); + + } + } \ No newline at end of file