Browse Source

unittest: Added test to BlackJackTest

This tests the bot name of BlackJack
remotes/origin/quiz
Friederike von Gruben 2 years ago
parent
commit
44b4ac4d9b
  1. 5
      src/test/java/org/bitbiome/classes/BlackJackTest.java

5
src/test/java/org/bitbiome/classes/BlackJackTest.java

@ -27,4 +27,9 @@ public class BlackJackTest {
assertEquals("UnitTest", bj.getPlayerName(BlackJack.Entity.PLAYER));
}
@Test
public void testBotName() {
assertEquals("BitBiome", bj.getPlayerName(BlackJack.Entity.BOT));
}
}
Loading…
Cancel
Save