Skip to content

Commit 2560e0b

Browse files
migrate 56 to junit5
1 parent 6da3da0 commit 2560e0b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
package com.fishercoder;
22

33
import com.fishercoder.solutions._56;
4-
import org.junit.BeforeClass;
5-
import org.junit.Test;
4+
import org.junit.jupiter.api.BeforeEach;
5+
import org.junit.jupiter.api.Test;
66

7-
import static org.junit.Assert.assertEquals;
7+
import static org.junit.jupiter.api.Assertions.assertEquals;
88

99
public class _56Test {
1010
private static _56.Solution1 solution1;
1111
private static int[][] intervals;
1212
private static int[][] expected;
1313

14-
@BeforeClass
15-
public static void setup() {
14+
@BeforeEach
15+
public void setup() {
1616
solution1 = new _56.Solution1();
1717
}
1818

0 commit comments

Comments
 (0)