JS: create new common directory for all generated tests, migrate several tests there

This commit is contained in:
Alexey Andreev
2016-08-26 16:44:48 +03:00
parent 34a57f863b
commit 2bf0199959
321 changed files with 2123 additions and 2001 deletions
@@ -0,0 +1,20 @@
package foo
fun box(): String {
val chars = mapOf('\u0000' to 0x0000,
'\u0001' to 0x0001,
'\u0010' to 0x0010,
'\u001F' to 0x001F,
'\u0064' to 0x0064,
'\u00A0' to 0x00A0,
'\u00FF' to 0x00FF,
'\u0100' to 0x0100,
'\uF01F' to 0xF01F)
for ((char, code) in chars) {
assertEquals(code, char.toInt())
assertEquals(char, code.toChar())
}
return "OK"
}