41a416da60
Delete all test methods (and empty test classes), since they'll be auto-generated
9 lines
197 B
Kotlin
9 lines
197 B
Kotlin
fun stringConcat(n : Int) : String? {
|
|
var string : String? = ""
|
|
for (i in 0..(n - 1))
|
|
string += "LOL "
|
|
return string
|
|
}
|
|
|
|
fun box() = if(stringConcat(3) == "LOL LOL LOL ") "OK" else "fail"
|