41a416da60
Delete all test methods (and empty test classes), since they'll be auto-generated
6 lines
148 B
Kotlin
6 lines
148 B
Kotlin
class A(val expected: Int) {
|
|
fun foo(x: Int, y: Int = x + 20, z: Int = y * 2) = z == expected
|
|
}
|
|
|
|
fun box() = if (A(42).foo(1)) "OK" else "Fail"
|