[K/N][Tests] Adjust moved codegen tests to new infra

^KT-61259
This commit is contained in:
Vladimir Sukharev
2023-12-14 20:14:47 +01:00
committed by Space Team
parent 71a834b778
commit 73032213f0
295 changed files with 1362 additions and 1145 deletions
+3 -3
View File
@@ -3,8 +3,6 @@
* that can be found in the LICENSE file.
*/
package codegen.function.eqeq
import kotlin.test.*
fun eqeqB (a:Byte, b:Byte ) = a == b
@@ -35,7 +33,7 @@ fun neF (a:Float, b:Float ) = a != b
fun helloString() = "Hello"
fun goodbyeString() = "Goodbye"
@Test fun runTest() {
fun box(): String {
if (!eqeqB(3 , 3 )) throw Error()
if (!eqeqS(3 , 3 )) throw Error()
if (!eqeqI(3 , 3 )) throw Error()
@@ -61,4 +59,6 @@ fun goodbyeString() = "Goodbye"
if (geF (2.0f , 3.0f )) throw Error()
if (leF (3.0f , 2.0f )) throw Error()
if (neF (2.0f , 2.0f )) throw Error()
return "OK"
}