Skip to content

Commit af69586

Browse files
migrate _48 to junit 5
1 parent d94f8c6 commit af69586

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
import com.fishercoder.common.utils.CommonUtils;
44
import com.fishercoder.solutions._48;
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 _48Test {
99
private static _48.Solution1 solution1;
1010
private static _48.Solution2 solution2;
1111
private static _48.Solution3 solution3;
1212
private static int[][] matrix;
1313

14-
@BeforeClass
15-
public static void setup() {
14+
@BeforeEach
15+
public void setup() {
1616
solution1 = new _48.Solution1();
1717
solution2 = new _48.Solution2();
1818
solution3 = new _48.Solution3();

0 commit comments

Comments
 (0)