Browse Source

unittest: testSubtractGold17()

remotes/origin/shop
Max Gerbeth 2 years ago
parent
commit
8407682f16
  1. 6
      src/test/java/org/bitbiome/commands/ShopCommandTest.java

6
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);
}
}
Loading…
Cancel
Save