10000 migrate 23 test to use Junit5 · githubniraj/Leetcode@472bc6c · GitHub
[go: up one dir, main page]

Skip to content

Commit 472bc6c

Browse files
migrate 23 test to use Junit5
1 parent e5a4c04 commit 472bc6c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/test/java/com/fishercoder/_23Test.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,18 @@
44
import com.fishercoder.common.utils.CommonUtils;
55
import com.fishercoder.common.utils.LinkedListUtils;
66
import com.fishercoder.solutions._23;
7-
import org.junit.BeforeClass;
8-
import org.junit.Test;
7+
8+
import org.junit.jupiter.api.BeforeEach;
9+
import org.junit.jupiter.api.Test;
910

1011
import java.util.Arrays;
1112

1213
public class _23Test {
1314
private static _23.Solution1 solution1;
1415
private static ListNode[] lists;
1516

16-
@BeforeClass
17-
public static void setup() {
17+
@BeforeEach
18+
public void setup() {
1819
solution1 = new _23.Solution1();
1920
}
2021

0 commit comments

Comments
 (0)
0