From e10321a9c2aa345752383e4140d3a949f26ca818 Mon Sep 17 00:00:00 2001 From: Max Gerbeth Date: Mon, 30 Jan 2023 10:16:01 +0100 Subject: [PATCH] unittest: testSubtractGold16() --- src/test/java/org/bitbiome/commands/ShopCommandTest.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/test/java/org/bitbiome/commands/ShopCommandTest.java b/src/test/java/org/bitbiome/commands/ShopCommandTest.java index 54b35c1..34b7330 100755 --- a/src/test/java/org/bitbiome/commands/ShopCommandTest.java +++ b/src/test/java/org/bitbiome/commands/ShopCommandTest.java @@ -71,4 +71,11 @@ public class ShopCommandTest { int result = shop.subtractGold(20, 10); assertEquals(expected, result); } + + @Test + public void testSubtractGold6(){ + int expected = 12; + int result = shop.subtractGold(24, 12); + assertEquals(expected, result); + } }