Rename directory for back-end tests

This commit is contained in:
Andrey Breslav
2013-11-26 20:34:10 +04:00
parent fe00b03279
commit c70a54306f
25 changed files with 54 additions and 54 deletions
@@ -0,0 +1,21 @@
tailRecursive fun test(x : Int, e : Any) : Unit {
if (x == 1) {
test(x - 1, "tail")
} else if (x == 2) {
test(x - 1, "tail")
return
} else if (x == 3) {
test(x - 1, "no tail")
if (x == 3) {
test(x - 1, "tail")
}
return
} else if (x > 0) {
test(x - 1, "tail")
}
}
fun box() : String {
test(1000000, "test")
return "OK"
}