Libraries written in Kotlin are factored out into a separate project

This commit is contained in:
Andrey Breslav
2012-03-06 18:48:49 +04:00
parent 7c6f1657d2
commit 0a08ac5fe8
253 changed files with 252 additions and 2703 deletions
+16
View File
@@ -0,0 +1,16 @@
package test.string
import kotlin.*
import kotlin.test.*
import kotlin.util.*
import junit.framework.*
class StringUtilTest() : TestCase() {
fun testToRegex() {
val re = """foo""".toRegex()
val list = re.split("hellofoobar").filterNulls()
assertEquals(arrayList("hello", "bar"), list)
}
}