Skip to content

Commit fe6cd1a

Browse files
committed
Added test
1 parent 1300e0a commit fe6cd1a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/test/java/g3501_3600/s3525_find_x_value_of_array_ii/SolutionTest.java

+7
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,11 @@ void resultArray3() {
3535
.resultArray(new int[] {1, 1, 2, 1, 1}, 2, new int[][] {{2, 1, 0, 1}}),
3636
equalTo(new int[] {5}));
3737
}
38+
39+
@Test
40+
void resultArray4() {
41+
assertThat(
42+
new Solution().resultArray(new int[] {9, 10, 7}, 1, new int[][] {{0, 8, 1, 0}}),
43+
equalTo(new int[] {2}));
44+
}
3845
}

0 commit comments

Comments
 (0)