Test new Double/Float constants

Split test expectations based on actual support of enforced Float range

KT-29182, KT-13887
This commit is contained in:
Ilya Gorbunov
2020-02-25 21:29:56 +03:00
parent 3e6ab65ccc
commit d88d2cb058
5 changed files with 55 additions and 10 deletions
+3 -1
View File
@@ -30,4 +30,6 @@ public actual fun testOnJvm(action: () -> Unit) = action()
public actual fun testOnJs(action: () -> Unit) {}
@Suppress("HasPlatformType", "UNCHECKED_CAST")
public fun <T> platformNull() = Collections.singletonList(null as T).first()
public fun <T> platformNull() = Collections.singletonList(null as T).first()
public actual val isFloat32RangeEnforced: Boolean = true