Skip to content

Commit b6e799f

Browse files
update 270
1 parent ae11ea0 commit b6e799f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@
33
import com.fishercoder.common.classes.TreeNode;
44
import com.fishercoder.common.utils.TreeUtils;
55
import com.fishercoder.solutions._270;
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.Assert.assertEquals;
11+
import static org.junit.jupiter.api.Assertions.assertEquals;
1212

1313
public class _270Test {
1414
private static _270.Solution1 solution1;
1515
private static int expected;
1616
private static TreeNode root;
1717
private static double target;
1818

19-
@BeforeClass
20-
public static void setup() {
19+
@BeforeEach
20+
public void setup() {
2121
solution1 = new _270.Solution1();
2222
}
2323

0 commit comments

Comments
 (0)