Skip to content

Commit ccab813

Browse files
migrate _46 to junit 5
1 parent 4ea8f84 commit ccab813

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: src/test/java/com/fishercoder/_46Test.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._46;
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 _46Test {
99
private static _46.Solution1 solution1;
1010
private static _46.Solution2 solution2;
1111
private static _46.Solution3 solution3;
1212

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

0 commit comments

Comments
 (0)