Skip to content

Commit 798701a

Browse files
migrate 59 test to use Junit5
1 parent ac5e924 commit 798701a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

+4-4
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._59;
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 _59Test {
99
private static _59.Solution1 solution1;
1010
private static _59.Solution2 solution2;
1111

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

0 commit comments

Comments
 (0)