8000 migrate _37 to junit 5 · aav789/Leetcode@17dd539 · GitHub
[go: up one dir, main page]

Skip to content

Commit 17dd539

Browse files
migrate _37 to junit 5
1 parent 2df37f7 commit 17dd539

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/java/com/fishercoder/_37Test.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
import com.fishercoder.common.utils.CommonUtils;
44
import com.fishercoder.solutions._37;
5-
import org.junit.BeforeClass;
6-
import org.junit.Test;
5+
import org.junit.jupiter.api.BeforeEach;
6+
import org.junit.jupiter.api.Test;
77

88
public class _37Test {
99
private static _37.Solution1 solution1;
1010
private static char[][] board;
1111

12-
@BeforeClass
13-
public static void setup() {
12+
@BeforeEach
13+
public void setup() {
1414
solution1 = new _37.Solution1();
1515
}
1616

0 commit comments

Comments
 (0)
0