Skip to content

Commit 24d66a4

Browse files
migrate _994 to junit 5
1 parent 1770ba0 commit 24d66a4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/test/java/com/fishercoder/_994Test.java

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

33
import com.fishercoder.common.utils.CommonUtils;
44
import com.fishercoder.solutions._994;
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

8-
import static org.junit.Assert.assertEquals;
8+
import static org.junit.jupiter.api.Assertions.assertEquals;
99

1010
public class _994Test {
1111
private static _994.Solution1 solution1;
1212
private static _994.Solution2 solution2;
1313
private static _994.Solution3 solution3;
1414
private static int[][] grid;
1515

16-
@BeforeClass
17-
public static void setUp() {
16+
@BeforeEach
17+
public void setUp() {
1818
solution1 = new _994.Solution1();
1919
solution2 = new _994.Solution2();
2020
solution3 = new _994.Solution3();

0 commit comments

Comments
 (0)