We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 517b25e commit 76b1570Copy full SHA for 76b1570
src/test/java/com/fishercoder/_543Test.java
@@ -3,19 +3,19 @@
3
import com.fishercoder.common.classes.TreeNode;
4
import com.fishercoder.common.utils.TreeUtils;
5
import com.fishercoder.solutions._543;
6
-import org.junit.BeforeClass;
7
-import org.junit.Test;
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Test;
8
9
import java.util.Arrays;
10
11
-import static junit.framework.TestCase.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertEquals;
12
13
public class _543Test {
14
private static _543.Solution1 solution1;
15
private static TreeNode root;
16
17
- @BeforeClass
18
- public static void setup() {
+ @BeforeEach
+ public void setup() {
19
solution1 = new _543.Solution1();
20
}
21
0 commit comments