85827b4880
This patch copies Kotlin/JVM stdlib tests (libraries/stdlib/test) excepting ones with explicit java dependencies. It also transforms the tests to use them as box-tests.
8 lines
197 B
Kotlin
8 lines
197 B
Kotlin
import kotlin.test.*
|
|
|
|
fun box() {
|
|
assertTrue(arrayOf("1", "2", "3", "4").contains("2"))
|
|
assertTrue("3" in arrayOf("1", "2", "3", "4"))
|
|
assertTrue("0" !in arrayOf("1", "2", "3", "4"))
|
|
}
|