Skip to content

Commit 96afc16

Browse files
committed
Added test
1 parent 29fd855 commit 96afc16

File tree

1 file changed

+5
-0
lines changed
  • src/test/java/g3401_3500/s3448_count_substrings_divisible_by_last_digit

1 file changed

+5
-0
lines changed

src/test/java/g3401_3500/s3448_count_substrings_divisible_by_last_digit/SolutionTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,9 @@ void countSubstrings3() {
2525
void countSubstrings4() {
2626
assertThat(new Solution().countSubstrings("4"), equalTo(1L));
2727
}
28+
29+
@Test
30+
void countSubstrings5() {
31+
assertThat(new Solution().countSubstrings("28"), equalTo(2L));
32+
}
2833
}

0 commit comments

Comments
 (0)