|
@ -0,0 +1,16 @@ |
|
|
|
|
|
package org.bitbiome.commands; |
|
|
|
|
|
|
|
|
|
|
|
import org.bitbiome.shop.Shop; |
|
|
|
|
|
import org.junit.jupiter.api.Test; |
|
|
|
|
|
|
|
|
|
|
|
import static org.junit.jupiter.api.Assertions.assertEquals; |
|
|
|
|
|
|
|
|
|
|
|
public class ShopCommandTest { |
|
|
|
|
|
final ShopCommand shopCommand = new ShopCommand(); |
|
|
|
|
|
@Test |
|
|
|
|
|
public void testValidInput(){ |
|
|
|
|
|
boolean expected = true; |
|
|
|
|
|
boolean result = shopCommand.validInput("1"); |
|
|
|
|
|
assertEquals(expected, result); |
|
|
|
|
|
} |
|
|
|
|
|
} |