From 51c5b408271213d961368d7685738a93e365edbb Mon Sep 17 00:00:00 2001 From: fdai7430 Date: Sat, 4 Feb 2023 20:18:28 +0100 Subject: [PATCH] Removed useless test --- src/test/java/org/bitbiome/commands/UseCommandTest.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/test/java/org/bitbiome/commands/UseCommandTest.java b/src/test/java/org/bitbiome/commands/UseCommandTest.java index d9a1710..a131e68 100644 --- a/src/test/java/org/bitbiome/commands/UseCommandTest.java +++ b/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