Browse Source

Removed useless test

remotes/origin/fight-engine
fdai7430 2 years ago
parent
commit
51c5b40827
  1. 3
      src/test/java/org/bitbiome/commands/UseCommandTest.java

3
src/test/java/org/bitbiome/commands/UseCommandTest.java

@ -1,7 +1,6 @@
package org.bitbiome.commands;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
import java.util.ArrayList;
@ -41,8 +40,6 @@ public class UseCommandTest {
UseCommand com = new UseCommand();
assertEquals(true, com.runawaySucceeds(0));
assertEquals(false, com.runawaySucceeds(101));
int random = (int)(Math.random()*100);
assertTrue(com.runawaySucceeds(random) || !com.runawaySucceeds(random));
}
@Test

Loading…
Cancel
Save