Skip to content

Commit 51bd13e

Browse files
committed
Added test
1 parent a1d0c5a commit 51bd13e

File tree

1 file changed

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

1 file changed

+12
-0
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,16 @@ void maxPathLength4() {
3232
new Solution().maxPathLength(new int[][] {{8, 8}, {7, 0}, {5, 6}, {9, 1}}, 0),
3333
equalTo(2));
3434
}
35+
36+
@Test
37+
void maxPathLength5() {
38+
assertThat(
39+
new Solution()
40+
.maxPathLength(
41+
new int[][] {
42+
{1, 1}, {0, 1}, {5, 4}, {3, 3}, {2, 0}, {1, 4}, {6, 8}
43+
},
44+
6),
45+
equalTo(4));
46+
}
3547
}

0 commit comments

Comments
 (0)