8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e0cb33 commit ccd0b30Copy full SHA for ccd0b30
src/test/java/com/fishercoder/_40Test.java
@@ -1,23 +1,22 @@
1
package com.fishercoder;
2
3
import com.fishercoder.solutions._40;
4
+import org.junit.jupiter.api.BeforeEach;
5
+import org.junit.jupiter.api.Test;
6
7
import java.util.Arrays;
8
import java.util.List;
9
-import org.junit.BeforeClass;
-import org.junit.Test;
10
-
11
-import static org.junit.Assert.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertEquals;
12
13
public class _40Test {
14
private static _40.Solution1 solution1;
15
private static int[] candidates;
16
private static int target;
17
private static List<List<Integer>> expected;
18
19
- @BeforeClass
20
- public static void setup() {
+ @BeforeEach
+ public void setup() {
21
solution1 = new _40.Solution1();
22
}
23
0 commit comments