Skip to content

Commit ca70fcc

Browse files
committed
Added test
1 parent 71598f7 commit ca70fcc

File tree

1 file changed

+7
-0
lines changed
  • src/test/java/g3501_3600/s3569_maximize_count_of_distinct_primes_after_split

1 file changed

+7
-0
lines changed

src/test/java/g3501_3600/s3569_maximize_count_of_distinct_primes_after_split/SolutionTest.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,11 @@ void maximumCount3() {
2727
new Solution().maximumCount(new int[] {2, 34}, new int[][] {{1, 2}, {1, 3}}),
2828
equalTo(new int[] {2, 3}));
2929
}
30+
31+
@Test
32+
void maximumCount4() {
33+
assertThat(
34+
new Solution().maximumCount(new int[] {4, 2}, new int[][] {{0, 2}, {0, 2}}),
35+
equalTo(new int[] {2, 2}));
36+
}
3037
}

0 commit comments

Comments
 (0)