JS: move more test to box tests

This commit is contained in:
Alexey Andreev
2016-08-30 13:59:50 +03:00
parent 9bf124af3f
commit 7e2d5b04de
68 changed files with 607 additions and 578 deletions
@@ -0,0 +1,22 @@
package foo
class Test {
private val a = object {
fun c() = 3
fun b() = 2
}
fun doTest(): String {
if (a.c() != 3) {
return "fail1"
}
if (a.b() != 2) {
return "fail2"
}
return "OK"
}
}
fun box(): String {
return Test().doTest();
}