Skip to content

Commit 0bfc3fa

Browse files
migrate 73 to junit5
1 parent 3d534d9 commit 0bfc3fa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
package com.fishercoder;
22

33
import com.fishercoder.solutions._73;
4-
import org.junit.BeforeClass;
5-
import org.junit.Test;
4+
import org.junit.jupiter.api.BeforeEach;
5+
import org.junit.jupiter.api.Test;
66

7-
import static org.junit.Assert.assertArrayEquals;
7+
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
88

99
public class _73Test {
1010
private static _73.Solution1 solution1;
@@ -14,8 +14,8 @@ public class _73Test {
1414
private static int[][] matrix;
1515
private static int[][] expected;
1616

17-
@BeforeClass
18-
public static void setup() {
17+
@BeforeEach
18+
public void setup() {
1919
solution1 = new _73.Solution1();
2020
solution2 = new _73.Solution2();
2121
solution3 = new _73.Solution3();

0 commit comments

Comments
 (0)