Skip to content

Commit f7ca9f5

Browse files
committed
Added tests
1 parent 2949e49 commit f7ca9f5

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/test/java/g3601_3700/s3618_split_array_by_prime_indices/SolutionTest.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,24 @@ void splitArray() {
1515
void splitArray2() {
1616
assertThat(new Solution().splitArray(new int[] {-1, 5, 7, 0}), equalTo(3L));
1717
}
18+
19+
@Test
20+
void splitArray3() {
21+
assertThat(
22+
new Solution()
23+
.splitArray(
24+
new int[] {
25+
-54818575,
26+
801071518,
27+
745054848,
28+
-415289833,
29+
161564441,
30+
706292027,
31+
306478283,
32+
943480367,
33+
222076810,
34+
992619933
35+
}),
36+
equalTo(1535784865L));
37+
}
1838
}

0 commit comments

Comments
 (0)