TEST: convertion unit tests into run tests
This commit is contained in:
committed by
vvlevchenko
parent
7fd4b4fe34
commit
3fe59cc46c
@@ -7,4 +7,8 @@ fun advanced_when5(i: Int): Int {
|
||||
4 -> { val v = 42; return v}
|
||||
else -> return 24
|
||||
}
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
if (advanced_when5(5) != 24) throw Error()
|
||||
}
|
||||
Reference in New Issue
Block a user