[K/N][Tests] Adjust moved codegen tests to new infra
^KT-61259
This commit is contained in:
committed by
Space Team
parent
71a834b778
commit
73032213f0
@@ -3,14 +3,15 @@
|
||||
* that can be found in the LICENSE file.
|
||||
*/
|
||||
|
||||
package codegen.function.sum_silly
|
||||
|
||||
import kotlin.test.*
|
||||
|
||||
// FIXME: has no checks
|
||||
|
||||
fun sum(a:Int, b:Int):Int {
|
||||
var c:Int
|
||||
c = a + b
|
||||
return c
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
assertEquals(50, sum(42, 8))
|
||||
return "OK"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user