Skip to content

Commit 6f33f4f

Browse files
migrate 79 to junit5
1 parent b05f272 commit 6f33f4f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/test/java/com/fishercoder/_79Test.java

+5-5
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._79;
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 junit.framework.TestCase.assertEquals;
8+
import static org.junit.jupiter.api.Assertions.assertEquals;
99

1010
public class _79Test {
1111
private static _79.Solution1 solution1;
1212
private static _79.Solution2 solution2;
1313
private static _79.Solution3 solution3;
1414
private static char[][] board;
1515

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

0 commit comments

Comments
 (0)