Browse Source

unittest: Added test to BlackJackTest

This test tests the entity ID of the bot
remotes/origin/quiz
Friederike von Gruben 2 years ago
parent
commit
9edfb370d3
  1. 5
      src/test/java/org/bitbiome/classes/BlackJackTest.java

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

@ -17,4 +17,9 @@ public class BlackJackTest {
assertEquals(BlackJack.Entity.PLAYER, bj.getEntity(1)); assertEquals(BlackJack.Entity.PLAYER, bj.getEntity(1));
} }
@Test
public void testGetEntityBot() {
assertEquals(BlackJack.Entity.BOT, bj.getEntity(2));
}
} }
Loading…
Cancel
Save