Minor: use common implementation of doubleTotalOrderEquals for tests

This commit is contained in:
Ilya Gorbunov
2018-04-10 21:09:21 +03:00
parent 2826733e87
commit f7546c809d
4 changed files with 1 additions and 4 deletions
@@ -27,4 +27,3 @@ public actual fun randomInt(limit: Int): Int = (kotlin.js.Math.random() * limit)
@Suppress("NOTHING_TO_INLINE")
internal actual inline fun String.removeLeadingPlusOnJava6(): String = this
internal actual fun doubleTotalOrderEquals(a: Double?, b: Double?) = a == b || (a != a && b != b)