Skip to content

Commit 76b1570

Browse files
update 543 test
1 parent 517b25e commit 76b1570

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: src/test/java/com/fishercoder/_543Test.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33
import com.fishercoder.common.classes.TreeNode;
44
import com.fishercoder.common.utils.TreeUtils;
55
import com.fishercoder.solutions._543;
6-
import org.junit.BeforeClass;
7-
import org.junit.Test;
6+
import org.junit.jupiter.api.BeforeEach;
7+
import org.junit.jupiter.api.Test;
88

99
import java.util.Arrays;
1010

11-
import static junit.framework.TestCase.assertEquals;
11+
import static org.junit.jupiter.api.Assertions.assertEquals;
1212

1313
public class _543Test {
1414
private static _543.Solution1 solution1;
1515
private static TreeNode root;
1616

17-
@BeforeClass
18-
public static void setup() {
17+
@BeforeEach
18+
public void setup() {
1919
solution1 = new _543.Solution1();
2020
}
2121

0 commit comments

Comments
 (0)