Skip to content

Commit 9b32ed7

Browse files
migrate 66 to junit5
1 parent 73c484b commit 9b32ed7

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

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

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

3-
import static org.junit.Assert.assertArrayEquals;
4-
5-
import org.junit.BeforeClass;
6-
import org.junit.Test;
7-
83
import com.fishercoder.solutions._66;
4+
import org.junit.jupiter.api.BeforeEach;
5+
import org.junit.jupiter.api.Test;
6+
7+
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
98

109
public class _66Test {
1110
private static _66.Solution1 solution1;
1211
private static _66.Solution2 solution2;
1312
private static int[] digits;
1413

15-
@BeforeClass
16-
public static void setup() {
14+
@BeforeEach
15+
public void setup() {
1716
solution1 = new _66.Solution1();
1817
solution2 = new _66.Solution2();
1918
}

0 commit comments

Comments
 (0)