Skip to content

Commit b05f272

Browse files
migrate 78 to junit5
1 parent b7e267a commit b05f272

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

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

33
import com.fishercoder.common.utils.CommonUtils;
44
import com.fishercoder.solutions._78;
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 _78Test {
99
private static _78.Solution1 solution1;
1010
private static _78.Solution2 solution2;
1111
private static _78.Solution3 solution3;
1212

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

0 commit comments

Comments
 (0)