Skip to content

Commit d94f8c6

Browse files
migrate _47 to junit 5
1 parent ccab813 commit d94f8c6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/java/com/fishercoder/_47Test.java

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

33
import com.fishercoder.common.utils.CommonUtils;
44
import com.fishercoder.solutions._47;
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
import java.util.List;
99

@@ -12,8 +12,8 @@ public class _47Test {
1212
private static _47.Solution2 solution2;
1313
private static List<List<Integer>> actual;
1414

15-
@BeforeClass
16-
public static void setup() {
15+
@BeforeEach
16+
public void setup() {
1717
solution1 = new _47.Solution1();
1818
solution2 = new _47.Solution2();
1919
}

0 commit comments

Comments
 (0)