Skip to content

Commit 40cb1de

Browse files
committed
Update OperationsTest.kt
1 parent 8d38e18 commit 40cb1de

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

test/com/github/masx200/leetcode_test/operations_lcci/OperationsTest.kt

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -64,22 +64,22 @@ class OperationsTest {
6464
) as ArrayList<ArrayList<Any>>,
6565
Operations::class,
6666
)
67-
println("expected")
68-
expected.forEach {
69-
if (it != null) {
70-
println(it.javaClass)
71-
}
72-
}
73-
println("actual")
74-
actual.forEach {
75-
if (it != null) {
76-
println(it.javaClass)
77-
}
78-
}
67+
// println("expected")
68+
// expected.forEach {
69+
// if (it != null) {
70+
// println(it.javaClass)
71+
// }
72+
// }
73+
// println("actual")
74+
// actual.forEach {
75+
// if (it != null) {
76+
// println(it.javaClass)
77+
// }
78+
// }
7979
assertContentEquals(
8080

81-
expected,
82-
actual,
81+
expected.map { if (it is Number) it.toLong() else it },
82+
actual.map { if (it is Number) it.toLong() else it }
8383
);
8484
}
8585

0 commit comments

Comments
 (0)