New J2K: Fix existing test data

This commit is contained in:
Ilya Kirillov
2018-12-01 15:55:37 +03:00
committed by Ilya Kirillov
parent 5236858c20
commit f752796408
330 changed files with 2800 additions and 60 deletions
@@ -0,0 +1,8 @@
internal class Test {
private val c = 0.toChar()
fun test() {
val c1 = 'c'
val c2 = 'C'
}
}
@@ -0,0 +1,8 @@
class CharToNumber {
private val b = 'c'.toByte()
private val s = 'c'.toShort()
private val i = 'c'.toInt()
private val l = 'c'.toLong()
private val f = 'c'.toFloat()
private val d = 'c'.toDouble()
}
@@ -0,0 +1,7 @@
class CharToString {
private val value: String? = null
fun test(): String {
return '"'.toString() + value + '"'
}
}
@@ -0,0 +1,7 @@
class A {
var a: String? = "\u003f0123"
var b: String? = "\u00490123"
var c: String? = "\u00ff0123"
var d: String? = "\u0000Text"
var f: String? = "\u00009"
}