fun JavaClass.testPlatformEqualsPlatform(): Boolean {
  return <this>.null0() /*!! Double */.equals(other = <this>.null0())
}

fun JavaClass.testPlatformEqualsKotlin(): Boolean {
  return <this>.null0() /*!! Double */.equals(other = 0.0)
}

fun JavaClass.testKotlinEqualsPlatform(): Boolean {
  return 0.0.equals(other = <this>.null0())
}

fun JavaClass.testPlatformCompareToPlatform(): Int {
  return <this>.null0() /*!! Double */.compareTo(other = <this>.null0() /*!! Double */)
}

fun JavaClass.testPlatformCompareToKotlin(): Int {
  return <this>.null0() /*!! Double */.compareTo(other = 0.0)
}

fun JavaClass.testKotlinCompareToPlatform(): Int {
  return 0.0.compareTo(other = <this>.null0() /*!! Double */)
}
