Browse Source

unittest: testSubtractGold3()

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

6
src/test/java/org/bitbiome/commands/ShopCommandTest.java

@ -53,4 +53,10 @@ public class ShopCommandTest {
int result = shop.subtractGold(7, 3);
assertEquals(expected, result);
}
@Test
public void testSubtractGold3(){
int expected = 5;
int result = shop.subtractGold(10, 5);
assertEquals(expected, result);
}
}
Loading…
Cancel
Save