From 9edfb370d379aec6b06298d8a3910f751a9b0161 Mon Sep 17 00:00:00 2001 From: Friederike von Gruben Date: Mon, 6 Feb 2023 14:52:01 +0100 Subject: [PATCH] unittest: Added test to BlackJackTest This test tests the entity ID of the bot --- src/test/java/org/bitbiome/classes/BlackJackTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/test/java/org/bitbiome/classes/BlackJackTest.java b/src/test/java/org/bitbiome/classes/BlackJackTest.java index 35247ff..be098bc 100644 --- a/src/test/java/org/bitbiome/classes/BlackJackTest.java +++ b/src/test/java/org/bitbiome/classes/BlackJackTest.java @@ -17,4 +17,9 @@ public class BlackJackTest { assertEquals(BlackJack.Entity.PLAYER, bj.getEntity(1)); } + @Test + public void testGetEntityBot() { + assertEquals(BlackJack.Entity.BOT, bj.getEntity(2)); + } + }