10BC0 migrate _509 test to Junit5 · githubniraj/Leetcode@6f096a7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6f096a7

Browse files
migrate _509 test to Junit5
1 parent 0e5f650 commit 6f096a7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/test/java/com/fishercoder/_509Test.java

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

33
import com.fishercoder.solutions._509;
4-
import org.junit.BeforeClass;
5-
import org.junit.Test;
4+
import org.junit.jupiter.api.BeforeEach;
5+
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 _509Test {
1010
private static _509.Solution1 solution1;
1111
private static _509.Solution2 solution2;
1212
private static _509.Solution3 solution3;
1313

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

0 commit comments

Comments
 (0)
0