8000 migrate 77 to junit5 · githubniraj/Leetcode@b7e267a · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

8000
Appearance settings

Commit b7e267a

Browse files
migrate 77 to junit5
1 parent b6308a5 commit b7e267a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/java/com/fishercoder/_77Test.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

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

88
public class _77Test {
99
private static _77.Solution1 solution1;
1010
private static _77.Solution2 solution2;
1111

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

0 commit comments

Comments
 (0)
0