diff --git a/src/test/java/org/bitbiome/classes/BlackJackTest.java b/src/test/java/org/bitbiome/classes/BlackJackTest.java new file mode 100644 index 0000000..35247ff --- /dev/null +++ b/src/test/java/org/bitbiome/classes/BlackJackTest.java @@ -0,0 +1,20 @@ +package org.bitbiome.classes; + +import org.junit.jupiter.api.BeforeAll; +import org.junit.jupiter.api.Test; + +import static org.junit.jupiter.api.Assertions.assertEquals; + +public class BlackJackTest { + + private static BlackJack bj; + @BeforeAll + public static void setUpTest() { + bj = new BlackJack("UnitTest"); + } + @Test + public void testGetEntity() { + assertEquals(BlackJack.Entity.PLAYER, bj.getEntity(1)); + } + +}