Skip to content

Commit c774b18

Browse files
committed
Added test
1 parent 289a392 commit c774b18

File tree

1 file changed

+5
-0
lines changed
  • src/test/java/g3201_3300/s3255_find_the_power_of_k_size_subarrays_ii

1 file changed

+5
-0
lines changed

src/test/java/g3201_3300/s3255_find_the_power_of_k_size_subarrays_ii/SolutionTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,9 @@ void resultsArray3() {
2626
new Solution().resultsArray(new int[] {3, 2, 3, 2, 3, 2}, 2),
2727
equalTo(new int[] {-1, 3, -1, 3, -1}));
2828
}
29+
30+
@Test
31+
void resultsArray4() {
32+
assertThat(new Solution().resultsArray(new int[] {1}, 1), equalTo(new int[] {1}));
33+
}
2934
}

0 commit comments

Comments
 (0)