Skip to content

Commit ed6cf34

Browse files
[LEET-1233] add 1233
1 parent 400b0d3 commit ed6cf34

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/test/java/com/fishercoder/secondthousand/_1233Test.java

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

3+
import static org.assertj.core.api.AssertionsForInterfaceTypes.assertThat;
4+
35
import com.fishercoder.solutions.secondthousand._1233;
6+
import java.util.ArrayList;
47
import org.junit.jupiter.api.BeforeEach;
58
import org.junit.jupiter.api.Test;
69

7-
import java.util.ArrayList;
8-
9-
import static org.assertj.core.api.AssertionsForInterfaceTypes.assertThat;
10-
1110
public class _1233Test {
1211
private _1233.Solution1 solution1;
1312
private static String[] folder;
@@ -19,7 +18,7 @@ public void setup() {
1918

2019
@Test
2120
public void test1() {
22-
folder = new String[]{"/a", "/a/b", "/c/d", "/c/d/e", "/c/f"};
21+
folder = new String[] {"/a", "/a/b", "/c/d", "/c/d/e", "/c/f"};
2322
ArrayList expected = new ArrayList();
2423
expected.add("/a");
2524
expected.add("/c/d");
@@ -29,7 +28,7 @@ public void test1() {
2928

3029
@Test
3130
public void test2() {
32-
folder = new String[]{"/a", "/a/b/c", "/a/b/d"};
31+
folder = new String[] {"/a", "/a/b/c", "/a/b/d"};
3332
ArrayList expected = new ArrayList();
3433
expected.add("/a");
3534
assertThat(expected).hasSameElementsAs(solution1.removeSubfolders(folder));

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