From f33234439eac04ee1ba1ef0eef1a6cac1dec8d26 Mon Sep 17 00:00:00 2001 From: fdai7906 <finn.kraemer@informatik.hs-fulda.de> Date: Wed, 7 Feb 2024 11:41:48 +0100 Subject: [PATCH] Test.facedownGetter --- src/test/java/de/hsfulda/onses/CardTest.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/test/java/de/hsfulda/onses/CardTest.java b/src/test/java/de/hsfulda/onses/CardTest.java index a2a570a..8f396b5 100644 --- a/src/test/java/de/hsfulda/onses/CardTest.java +++ b/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); + } + } \ No newline at end of file