Skip to content

Commit d6f287e

Browse files
committed
Added test
1 parent 19c20ee commit d6f287e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/test/java/g3601_3700/s3615_longest_palindromic_path_in_graph/SolutionTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,10 @@ void maxLen3() {
2121
assertThat(
2222
new Solution().maxLen(4, new int[][] {{0, 2}, {0, 3}, {3, 1}}, "bbac"), equalTo(3));
2323
}
24+
25+
@Test
26+
void maxLen4() {
27+
assertThat(
28+
new Solution().maxLen(3, new int[][] {{2, 0}, {2, 1}}, "mll"), equalTo(2));
29+
}
2430
}

0 commit comments

Comments
 (0)