New stdlib generators

This commit is contained in:
Ilya Ryzhenkov
2014-03-18 13:45:31 +04:00
committed by Andrey Breslav
parent 0980f5e40a
commit e37d8174c3
109 changed files with 13317 additions and 7735 deletions
@@ -0,0 +1,16 @@
package test.text
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").toList()
assertEquals(arrayList("hello", "bar"), list)
}
}