Skip to content

Commit 71598f7

Browse files
committed
Added test
1 parent e5d8e11 commit 71598f7

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
@@ -20,4 +20,11 @@ void maximumCount2() {
2020
new Solution().maximumCount(new int[] {2, 1, 4}, new int[][] {{0, 1}}),
2121
equalTo(new int[] {0}));
2222
}
23+
24+
@Test
25+
void maximumCount3() {
26+
assertThat(
27+
new Solution().maximumCount(new int[] {2, 34}, new int[][] {{1, 2}, {1, 3}}),
28+
equalTo(new int[] {2, 3}));
29+
}
2330
}

0 commit comments

Comments
 (0)