Skip to content

Commit b6308a5

Browse files
migrate 76 to junit5
1 parent 7036631 commit b6308a5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

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

33
import com.fishercoder.solutions._76;
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 _76Test {
1010
private static _76.Solution1 solution1;
@@ -13,8 +13,8 @@ public class _76Test {
1313
private static String s;
1414
private static String t;
1515

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

0 commit comments

Comments
 (0)