Added test for typeInfo with arrays on stack
This commit is contained in:
committed by
LepilkinaElena
parent
6ceef9fd53
commit
b3af81deac
@@ -850,7 +850,7 @@ standaloneTest("readline1") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
task tostring0(type: KonanLocalTest) {
|
task tostring0(type: KonanLocalTest) {
|
||||||
goldValue = "127\n-1\n239\nA\nЁ\nト\n1122334455\n112233445566778899\n3.14159265358\n1.0E27\n1.0E-300\ntrue\nfalse\n"
|
goldValue = "127\n-1\n239\nA\nЁ\nト\n1122334455\n112233445566778899\n3.14159265358\n1.0E27\n1.0E7\n1.0E-300\ntrue\nfalse\n"
|
||||||
source = "runtime/basic/tostring0.kt"
|
source = "runtime/basic/tostring0.kt"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ import kotlin.test.*
|
|||||||
println(3.14159265358.toString())
|
println(3.14159265358.toString())
|
||||||
// Here we differ from Java, as have no dtoa() yet.
|
// Here we differ from Java, as have no dtoa() yet.
|
||||||
println(1e27.toFloat().toString())
|
println(1e27.toFloat().toString())
|
||||||
|
println(1e7.toString())
|
||||||
println(1e-300.toDouble().toString())
|
println(1e-300.toDouble().toString())
|
||||||
println(true.toString())
|
println(true.toString())
|
||||||
println(false.toString())
|
println(false.toString())
|
||||||
|
|||||||
Reference in New Issue
Block a user