Skip to content

Commit 454004c

Browse files
committed
Fixed tests
1 parent c7a31a7 commit 454004c

File tree

2 files changed

+2
-1
lines changed
  • src
    • main/kotlin/g3001_3100/s3079_find_the_sum_of_encrypted_integers
    • test/kotlin/g3001_3100/s3072_distribute_elements_into_two_arrays_ii

2 files changed

+2
-1
lines changed

src/main/kotlin/g3001_3100/s3079_find_the_sum_of_encrypted_integers/Solution.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ package g3001_3100.s3079_find_the_sum_of_encrypted_integers
44

55
import kotlin.math.max
66

7+
@Suppress("NAME_SHADOWING")
78
class Solution {
89
private fun encrypt(x: Int): Int {
910
var x = x

src/test/kotlin/g3001_3100/s3072_distribute_elements_into_two_arrays_ii/SolutionTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ internal class SolutionTest {
1717
fun resultArray2() {
1818
assertThat(
1919
Solution().resultArray(intArrayOf(5, 14, 3, 1, 2)),
20-
equalTo(intArrayOf(5, 3, 2, 14, 1))
20+
equalTo(intArrayOf(5, 3, 1, 2, 14))
2121
)
2222
}
2323

0 commit comments

Comments
 (0)