File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
test/com/github/masx200/leetcode_test/operations_lcci Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -64,22 +64,22 @@ class OperationsTest {
64
64
) as ArrayList <ArrayList <Any >>,
65
65
Operations ::class ,
66
66
)
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
+ // }
79
79
assertContentEquals(
80
80
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 }
83
83
);
84
84
}
85
85
You can’t perform that action at this time.
0 commit comments