Remove generated codegen tests, move all testData to box/
A single test file will be generated out of box/ directory
This commit is contained in:
committed by
Alexander Udalov
parent
41a416da60
commit
7ce62a5b64
+14
@@ -0,0 +1,14 @@
|
||||
class A {
|
||||
inner class B(val a: Double = 1.0, val b: Int = 55, val c: String = "c")
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
val bDefault = A().B()
|
||||
val b = A().B(2.0, 66, "cc")
|
||||
if (bDefault.a == 1.0 && bDefault.b == 55 && bDefault.c == "c") {
|
||||
if (b.a == 2.0 && b.b == 66 && b.c == "cc") {
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
return "fail"
|
||||
}
|
||||
Reference in New Issue
Block a user