1
1
package com .fishercoder .fourththousand ;
2
2
3
+ import static org .junit .jupiter .api .Assertions .assertFalse ;
4
+ import static org .junit .jupiter .api .Assertions .assertTrue ;
5
+
3
6
import com .fishercoder .solutions .fourththousand ._3349 ;
7
+ import java .util .Arrays ;
4
8
import org .junit .jupiter .api .BeforeEach ;
5
9
import org .junit .jupiter .api .Test ;
6
10
7
- import java .util .Arrays ;
8
-
9
- import static org .junit .jupiter .api .Assertions .assertFalse ;
10
- import static org .junit .jupiter .api .Assertions .assertTrue ;
11
-
12
11
public class _3349Test {
13
12
private _3349 .Solution1 solution1 ;
14
13
@@ -19,17 +18,18 @@ public void setup() {
19
18
20
19
@ Test
21
20
public void test1 () {
22
- assertTrue (solution1 .hasIncreasingSubarrays (Arrays .asList (2 , 5 , 7 , 8 , 9 , 2 , 3 , 4 , 3 , 1 ), 3 ));
21
+ assertTrue (
22
+ solution1 .hasIncreasingSubarrays (Arrays .asList (2 , 5 , 7 , 8 , 9 , 2 , 3 , 4 , 3 , 1 ), 3 ));
23
23
}
24
24
25
25
@ Test
26
26
public void test2 () {
27
- assertFalse (solution1 .hasIncreasingSubarrays (Arrays .asList (1 , 2 , 3 , 4 , 4 , 4 , 4 , 5 , 6 , 7 ), 5 ));
27
+ assertFalse (
28
+ solution1 .hasIncreasingSubarrays (Arrays .asList (1 , 2 , 3 , 4 , 4 , 4 , 4 , 5 , 6 , 7 ), 5 ));
28
29
}
29
30
30
31
@ Test
31
32
public void test3 () {
32
33
assertTrue (solution1 .hasIncreasingSubarrays (Arrays .asList (5 , 8 , -2 , -1 ), 2 ));
33
34
}
34
-
35
35
}
0 commit comments