We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc1b92e commit a054d47Copy full SHA for a054d47
src/test/java/com/fishercoder/_53Test.java
@@ -1,23 +1,17 @@
1
package com.fishercoder;
2
3
import com.fishercoder.solutions._53;
4
-import org.junit.Before;
5
-import org.junit.BeforeClass;
6
-import org.junit.Test;
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Test;
7
8
-import static org.junit.Assert.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertEquals;
9
10
public class _53Test {
11
private static _53.Solution1 solution1;
12
private static int[] nums;
13
14
- @BeforeClass
15
- public static void setup() {
16
- solution1 = new _53.Solution1();
17
- }
18
-
19
- @Before
20
- public void clear() {
+ @BeforeEach
+ public void setup() {
21
solution1 = new _53.Solution1();
22
}
23
0 commit comments