From ac443832b7913f72d76d217908511f13c22cb9eb Mon Sep 17 00:00:00 2001 From: Max Gerbeth Date: Thu, 19 Jan 2023 23:42:48 +0100 Subject: [PATCH] unittest: testValidInput2 --- src/test/java/org/bitbiome/commands/ShopCommandTest.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/test/java/org/bitbiome/commands/ShopCommandTest.java b/src/test/java/org/bitbiome/commands/ShopCommandTest.java index 449fc23..a024816 100755 --- a/src/test/java/org/bitbiome/commands/ShopCommandTest.java +++ b/src/test/java/org/bitbiome/commands/ShopCommandTest.java @@ -8,9 +8,15 @@ import static org.junit.jupiter.api.Assertions.assertEquals; public class ShopCommandTest { final ShopCommand shopCommand = new ShopCommand(); @Test - public void testValidInput(){ + public void testValidInput1(){ boolean expected = true; boolean result = shopCommand.validInput("1"); assertEquals(expected, result); } + @Test + public void testValidInput2(){ + boolean expected = true; + boolean result = shopCommand.validInput("2"); + assertEquals(expected, result); + } }