Skip to content

Commit e5a4c04

Browse files
migrate _22 test to Junit5
1 parent e5f20ac commit e5a4c04

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/java/com/fishercoder/_22Test.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._22;
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 _22Test {
99
private static _22.Solution1 solution1;
1010
private static _22.Solution2 solution2;
1111

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy