Browse Source

Test.facedownSetter

main
fdai7906 11 months ago
parent
commit
3f58b77670
  1. 11
      src/test/java/de/hsfulda/onses/CardTest.java

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