Skip to content

Commit 6c16049

Browse files
committed
Added test
1 parent c22092d commit 6c16049

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
@@ -35,4 +35,9 @@ void countSubstrings5() {
3535
void countSubstrings6() {
3636
assertThat(new Solution().countSubstrings("04"), equalTo(2L));
3737
}
38+
39+
@Test
40+
void countSubstrings7() {
41+
assertThat(new Solution().countSubstrings("8"), equalTo(1L));
42+
}
3843
}

0 commit comments

Comments
 (0)