Browse Source

Test.facedownGetter

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

11
src/test/java/de/hsfulda/onses/CardTest.java

@ -1,6 +1,7 @@
package de.hsfulda.onses;
import de.hsfulda.onses.services.GameService;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
@ -65,4 +66,14 @@ public class CardTest {
assertEquals(expected, answer);
}
@Test
@DisplayName("facedownGetter")
public void facedownGetter() {
Card card = new Card();
boolean answer = card.isFacedown();
boolean expected = false;
assertEquals(expected, answer);
}
}
Loading…
Cancel
Save