Browse Source

unittest: testSubtractGold9()

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

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