Browse Source

unittest: testValidInput3

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

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

@ -19,4 +19,10 @@ public class ShopCommandTest {
boolean result = shopCommand.validInput("2"); boolean result = shopCommand.validInput("2");
assertEquals(expected, result); assertEquals(expected, result);
} }
@Test
public void testValidInput3(){
boolean expected = true;
boolean result = shopCommand.validInput("3");
assertEquals(expected, result);
}
} }
Loading…
Cancel
Save