TEST: convertion unit tests into run tests

This commit is contained in:
Vasily Levchenko
2016-12-27 13:02:00 +03:00
committed by vvlevchenko
parent 7fd4b4fe34
commit 3fe59cc46c
56 changed files with 188 additions and 411 deletions
@@ -1,4 +1,8 @@
fun if_else(b: Boolean): Int {
if (b) return 42
else return 24
}
fun main(args: Array<String>) {
if (if_else(false) != 24) throw Error()
}