41a416da60
Delete all test methods (and empty test classes), since they'll be auto-generated
12 lines
317 B
Kotlin
12 lines
317 B
Kotlin
import java.util.AbstractList
|
|
|
|
class MyList(): AbstractList<String>() {
|
|
public fun getModificationCount(): Int = modCount
|
|
public override fun get(index: Int): String = ""
|
|
public override fun size(): Int = 0
|
|
}
|
|
|
|
fun box(): String {
|
|
return if (MyList().getModificationCount() == 0) "OK" else "fail"
|
|
}
|