fix: placement and tests
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
package BonusTests;
|
||||
|
||||
import org.junit.jupiter.api.BeforeAll;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
import static org.junit.jupiter.api.Assertions.assertNull;
|
||||
|
||||
public class TestDates {
|
||||
public class BonusTestDates {
|
||||
static BonusExercises ex;
|
||||
|
||||
@BeforeAll
|
||||
@@ -1,12 +1,10 @@
|
||||
package BonusTests;
|
||||
|
||||
import org.junit.jupiter.api.BeforeAll;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertFalse;
|
||||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
|
||||
public class TestEmail {
|
||||
public class BonusTestEmail {
|
||||
static BonusExercises ex;
|
||||
|
||||
@BeforeAll
|
||||
+1
-3
@@ -1,5 +1,3 @@
|
||||
package BonusTests;
|
||||
|
||||
import org.junit.jupiter.api.BeforeAll;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
@@ -8,7 +6,7 @@ import java.util.List;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
|
||||
public class TestPalindromes {
|
||||
public class BonusTestPalindromes {
|
||||
static BonusExercises ex;
|
||||
|
||||
@BeforeAll
|
||||
@@ -1,11 +1,9 @@
|
||||
package BonusTests;
|
||||
|
||||
import org.junit.jupiter.api.BeforeAll;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
|
||||
public class TestPasswords {
|
||||
public class BonusTestPasswords {
|
||||
static BonusExercises ex;
|
||||
|
||||
@BeforeAll
|
||||
@@ -1,16 +1,14 @@
|
||||
package MainTests;
|
||||
|
||||
import org.junit.jupiter.api.BeforeAll;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
|
||||
|
||||
public class TestPartitions {
|
||||
static Exercises ex;
|
||||
public class MainTestPartitions {
|
||||
static MainExercises ex;
|
||||
|
||||
@BeforeAll
|
||||
static void setUp() {
|
||||
ex = new Exercises();
|
||||
ex = new MainExercises();
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -1,16 +1,14 @@
|
||||
package MainTests;
|
||||
|
||||
import org.junit.jupiter.api.BeforeAll;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
|
||||
|
||||
public class TestTraversal {
|
||||
static Exercises ex;
|
||||
public class MainTestTraversal {
|
||||
static MainExercises ex;
|
||||
|
||||
@BeforeAll
|
||||
static void setUp() {
|
||||
ex = new Exercises();
|
||||
ex = new MainExercises();
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -1,16 +1,14 @@
|
||||
package MainTests;
|
||||
|
||||
import org.junit.jupiter.api.BeforeAll;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
|
||||
|
||||
public class TestTriangle {
|
||||
static Exercises ex;
|
||||
public class MainTestTriangle {
|
||||
static MainExercises ex;
|
||||
|
||||
@BeforeAll
|
||||
static void setUp() {
|
||||
ex = new Exercises();
|
||||
ex = new MainExercises();
|
||||
}
|
||||
|
||||
@Test
|
||||
Reference in New Issue
Block a user