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
+14
View File
@@ -0,0 +1,14 @@
package foo
fun box(): String {
if (1 in -2..0) return "fail1"
if (1 in -10..-4) return "fail2"
if (!(1 in 0..2)) return "fail3"
if (!(1 in 1..2)) return "fail4"
if (!(1 in -2..5)) return "fail5"
return "OK"
}