Skip to content

Commit a1d0c5a

Browse files
committed
Added tests
1 parent bf266e6 commit a1d0c5a

File tree

1 file changed

+13
-0
lines changed
  • src/test/java/g3201_3300/s3288_length_of_the_longest_increasing_path

1 file changed

+13
-0
lines changed

src/test/java/g3201_3300/s3288_length_of_the_longest_increasing_path/SolutionTest.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,17 @@ void maxPathLength2() {
1919
assertThat(
2020
new Solution().maxPathLength(new int[][] {{2, 1}, {7, 0}, {5, 6}}, 2), equalTo(2));
2121
}
22+
23+
@Test
24+
void maxPathLength3() {
25+
assertThat(
26+
new Solution().maxPathLength(new int[][] {{0, 3}, {8, 5}, {6, 8}}, 0), equalTo(2));
27+
}
28+
29+
@Test
30+
void maxPathLength4() {
31+
assertThat(
32+
new Solution().maxPathLength(new int[][] {{8, 8}, {7, 0}, {5, 6}, {9, 1}}, 0),
33+
equalTo(2));
34+
}
2235
}

0 commit comments

Comments
 (0)