From 8407682f169e624b51ef258c3a19e85043720fc6 Mon Sep 17 00:00:00 2001 From: Max Gerbeth Date: Mon, 30 Jan 2023 10:17:08 +0100 Subject: [PATCH] unittest: testSubtractGold17() --- 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 34b7330..d80674d 100755 --- a/src/test/java/org/bitbiome/commands/ShopCommandTest.java +++ b/src/test/java/org/bitbiome/commands/ShopCommandTest.java @@ -78,4 +78,10 @@ public class ShopCommandTest { int result = shop.subtractGold(24, 12); assertEquals(expected, result); } + @Test + public void testSubtractGold7(){ + int expected = 15; + int result = shop.subtractGold(31, 16); + assertEquals(expected, result); + } }