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
@@ -0,0 +1,16 @@
|
||||
fun box(): String {
|
||||
val sb = StringBuilder()
|
||||
|
||||
for (i in -1..1) {
|
||||
for (j in -1..1) {
|
||||
val a = i compareTo j
|
||||
val b = i.compareTo(j)
|
||||
if (a != b) {
|
||||
sb.append("$i compareTo $j: $a != $b\n")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (sb.length() == 0) return "OK"
|
||||
return "Fail:\n$sb"
|
||||
}
|
||||
Reference in New Issue
Block a user