|
@ -4,6 +4,7 @@ import org.junit.jupiter.api.BeforeAll; |
|
|
import org.junit.jupiter.api.Test; |
|
|
import org.junit.jupiter.api.Test; |
|
|
|
|
|
|
|
|
import static org.junit.jupiter.api.Assertions.assertEquals; |
|
|
import static org.junit.jupiter.api.Assertions.assertEquals; |
|
|
|
|
|
import static org.junit.jupiter.api.Assertions.assertTrue; |
|
|
|
|
|
|
|
|
public class BlackJackTest { |
|
|
public class BlackJackTest { |
|
|
|
|
|
|
|
@ -32,4 +33,9 @@ public class BlackJackTest { |
|
|
assertEquals("BitBiome", bj.getPlayerName(BlackJack.Entity.BOT)); |
|
|
assertEquals("BitBiome", bj.getPlayerName(BlackJack.Entity.BOT)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|
|
public void testPlayerIsIn() { |
|
|
|
|
|
assertTrue(bj.isIn(BlackJack.Entity.PLAYER)); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |