8000 migrate _9 test to Junit5 · githubniraj/Leetcode@4c833c7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4c833c7

Browse files
migrate _9 test to Junit5
1 parent 93878cf commit 4c833c7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/test/java/com/fishercoder/_9Test.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
package com.fishercoder;
22

33
import com.fishercoder.solutions._9;
4-
import org.junit.BeforeClass;
5-
import org.junit.Test;
4+
import org.junit.jupiter.api.BeforeEach;
5< 870A /td>+
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 _9Test {
1010
private static _9.Solution1 solution1;
1111

12-
@BeforeClass
13-
public static void setup() {
12+
@BeforeEach
13+
public void setup() {
1414
solution1 = new _9.Solution1();
1515
}
1616

0 commit comments

Comments
 (0)
0