Delete generated test cases, move testData to boxWithStdlib
This commit is contained in:
committed by
Alexander Udalov
parent
b311255d96
commit
714708eac7
@@ -0,0 +1,6 @@
|
||||
data class A(val x: Int, val y: String)
|
||||
|
||||
fun box(): String {
|
||||
val a = A(42, "OK")
|
||||
return if (a.component1() == 42) a.component2() else a.component1().toString()
|
||||
}
|
||||
Reference in New Issue
Block a user