41a416da60
Delete all test methods (and empty test classes), since they'll be auto-generated
12 lines
222 B
Kotlin
12 lines
222 B
Kotlin
public class RunnableFunctionWrapper(val f : () -> Unit) : Runnable {
|
|
public override fun run() {
|
|
f()
|
|
}
|
|
}
|
|
|
|
fun box() : String {
|
|
var res = ""
|
|
RunnableFunctionWrapper({ res = "OK" }).run()
|
|
return res
|
|
}
|