41a416da60
Delete all test methods (and empty test classes), since they'll be auto-generated
18 lines
223 B
Kotlin
18 lines
223 B
Kotlin
class MyClass(var fnc : () -> String) {
|
|
|
|
fun test(): String {
|
|
return fnc()
|
|
}
|
|
|
|
}
|
|
|
|
fun printtest() : String {
|
|
return "OK"
|
|
}
|
|
|
|
fun box(): String {
|
|
var c = MyClass({ printtest() })
|
|
|
|
return c.test()
|
|
}
|