[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,13 +3,12 @@
|
||||
* that can be found in the LICENSE file.
|
||||
*/
|
||||
|
||||
package codegen.function.sum_3const
|
||||
|
||||
import kotlin.test.*
|
||||
|
||||
fun sum3():Int = sum(1, 2, 33)
|
||||
fun sum(a:Int, b:Int, c:Int): Int = a + b + c
|
||||
|
||||
@Test fun runTest() {
|
||||
if (sum3() != 36) throw Error()
|
||||
fun box(): String {
|
||||
assertEquals(36, sum3())
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user