package test.collections import kotlin.* import kotlin.io.* import kotlin.test.* import java.util.* import java.io.* import org.junit.Test as test class OldStdlibTest() { test fun testCollectionEmpty() { assertNot { listOf(0, 1, 2).isEmpty() } } test fun testCollectionSize() { assertTrue { listOf(0, 1, 2).size() == 3 } } test fun testInputStreamIterator() { val x = ByteArray (10) for(index in 0..9) { x [index] = index.toByte() } for(b in x.inputStream) { println(b) } } }