Skip to content

Commit 1a654f0

Browse files
committedJun 17, 2024·
update 2001
1 parent c6938ce commit 1a654f0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
 

‎src/test/java/com/fishercoder/_2001Test.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
import com.fishercoder.common.utils.CommonUtils;
44
import com.fishercoder.solutions.thirdthousand._2001;
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

8-
import static org.junit.Assert.assertEquals;
8+
import static org.junit.jupiter.api.Assertions.assertEquals;
99

1010
public class _2001Test {
1111
private static _2001.Solution1 solution1;
1212
private static _2001.Solution2 solution2;
1313

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

0 commit comments

Comments
 (0)
Please sign in to comment.