TEST: convertion unit tests into run tests
This commit is contained in:
committed by
vvlevchenko
parent
7fd4b4fe34
commit
3fe59cc46c
@@ -1,4 +1,8 @@
|
||||
fun foo(a:Int):Int = a
|
||||
fun bar(a:Int):Int = a
|
||||
|
||||
fun sumFooBar(a:Int, b:Int):Int = foo(a) + bar(b)
|
||||
fun sumFooBar(a:Int, b:Int):Int = foo(a) + bar(b)
|
||||
|
||||
fun main(args:Array<String>) {
|
||||
if (sumFooBar(2, 3) != 5) throw Error()
|
||||
}
|
||||
Reference in New Issue
Block a user