From d190f351358d3042b288a7f1a3e535dbe755938a Mon Sep 17 00:00:00 2001 From: Max Gerbeth Date: Wed, 8 Feb 2023 11:01:11 +0100 Subject: [PATCH] unittest: testSubtractGold9() --- src/test/java/org/bitbiome/commands/ShopCommandTest.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/test/java/org/bitbiome/commands/ShopCommandTest.java b/src/test/java/org/bitbiome/commands/ShopCommandTest.java index 9c53114..f650133 100755 --- a/src/test/java/org/bitbiome/commands/ShopCommandTest.java +++ b/src/test/java/org/bitbiome/commands/ShopCommandTest.java @@ -90,4 +90,10 @@ public class ShopCommandTest { int result = shop.subtractGold(2, 1); assertEquals(expected, result); } + @Test + public void testSubtractGold9(){ + int expected = 8; + int result = shop.subtractGold(10, 2); + assertEquals(expected, result); + } }