From 44b4ac4d9b11174a2509c105196ce0229ce537a5 Mon Sep 17 00:00:00 2001 From: Friederike von Gruben Date: Mon, 6 Feb 2023 14:53:54 +0100 Subject: [PATCH] unittest: Added test to BlackJackTest This tests the bot name of BlackJack --- 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 bc4a408..d6da1c2 100644 --- a/src/test/java/org/bitbiome/classes/BlackJackTest.java +++ b/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)); + } + }