Minor. Update tests to support them on Android
This commit is contained in:
+5
-5
@@ -4,7 +4,7 @@
|
||||
// IGNORE_BACKEND: JS, NATIVE
|
||||
|
||||
// WITH_REFLECT
|
||||
|
||||
package test
|
||||
import kotlin.test.assertEquals
|
||||
import kotlin.test.assertNotEquals
|
||||
import kotlin.test.assertTrue
|
||||
@@ -58,10 +58,10 @@ fun box(): String {
|
||||
val dpz = D::class.constructors.single().call(+0.0)
|
||||
val fmz = F::class.constructors.single().call(-0.0f)
|
||||
val fpz = F::class.constructors.single().call(+0.0f)
|
||||
check(::dMinusZero.annotations.single() as D, dmz, "@D\\(d=-0.0\\)")
|
||||
check(::dPlusZero.annotations.single() as D, dpz, "@D\\(d=0.0\\)")
|
||||
check(::fMinusZero.annotations.single() as F, fmz, "@F\\(f=-0.0f?\\)")
|
||||
check(::fPlusZero.annotations.single() as F, fpz, "@F\\(f=0.0f?\\)")
|
||||
check(::dMinusZero.annotations.single() as D, dmz, "@test.D\\(d=-0.0\\)")
|
||||
check(::dPlusZero.annotations.single() as D, dpz, "@test.D\\(d=0.0\\)")
|
||||
check(::fMinusZero.annotations.single() as F, fmz, "@test.F\\(f=-0.0f?\\)")
|
||||
check(::fPlusZero.annotations.single() as F, fpz, "@test.F\\(f=0.0f?\\)")
|
||||
|
||||
checkNot(dmz, dpz)
|
||||
checkNot(fmz, fpz)
|
||||
|
||||
Reference in New Issue
Block a user