Skip to content

Commit 3c93e41

Browse files
committed
Added test
1 parent f63e212 commit 3c93e41

File tree

1 file changed

+8
-0
lines changed
  • src/test/kotlin/g3101_3200/s3132_find_the_integer_added_to_array_ii

1 file changed

+8
-0
lines changed

src/test/kotlin/g3101_3200/s3132_find_the_integer_added_to_array_ii/SolutionTest.kt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,12 @@ internal class SolutionTest {
2121
equalTo(2)
2222
)
2323
}
24+
25+
@Test
26+
fun minimumAddedInteger3() {
27+
assertThat(
28+
Solution().minimumAddedInteger(intArrayOf(10, 2, 8, 7, 5, 6, 7, 10), intArrayOf(5, 8, 5, 3, 8, 4)),
29+
equalTo(-2)
30+
)
31+
}
2432
}

0 commit comments

Comments
 (0)