11package com .fishercoder .secondthousand ;
22
3+ import static org .assertj .core .api .AssertionsForInterfaceTypes .assertThat ;
4+ 35import com .fishercoder .solutions .secondthousand ._1233 ;
6+ import java .util .ArrayList ;
47import org .junit .jupiter .api .BeforeEach ;
58import org .junit .jupiter .api .Test ;
69
7- import java .util .ArrayList ;
8- 9- import static org .assertj .core .api .AssertionsForInterfaceTypes .assertThat ;
10- 1110public 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