[JS IR BE] Disable -ProperIeee754Comparisons tests
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
// !LANGUAGE: -ProperIeee754Comparisons
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// DONT_TARGET_EXACT_BACKEND: JS_IR
|
||||
|
||||
fun equals1(a: Double, b: Double) = a == b
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// !LANGUAGE: -ProperIeee754Comparisons
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// DONT_TARGET_EXACT_BACKEND: JS_IR
|
||||
|
||||
fun equals1(a: Float, b: Float) = a == b
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// !LANGUAGE: -ProperIeee754Comparisons
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// DONT_TARGET_EXACT_BACKEND: JS_IR
|
||||
// WITH_RUNTIME
|
||||
|
||||
import kotlin.test.*
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// !LANGUAGE: -ProperIeee754Comparisons
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// DONT_TARGET_EXACT_BACKEND: JS_IR
|
||||
|
||||
fun equals1(a: Double, b: Double?) = a == b
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// !LANGUAGE: -ProperIeee754Comparisons
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// DONT_TARGET_EXACT_BACKEND: JS_IR
|
||||
|
||||
fun equals1(a: Float, b: Float?) = a == b
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// !LANGUAGE: -ProperIeee754Comparisons
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// DONT_TARGET_EXACT_BACKEND: JS_IR
|
||||
|
||||
fun greater1(a: Double, b: Double) = a > b
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// !LANGUAGE: -ProperIeee754Comparisons
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// DONT_TARGET_EXACT_BACKEND: JS_IR
|
||||
|
||||
fun greater1(a: Float, b: Float) = a > b
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// !LANGUAGE: -ProperIeee754Comparisons
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// DONT_TARGET_EXACT_BACKEND: JS_IR
|
||||
|
||||
fun less1(a: Double, b: Double) = a < b
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// !LANGUAGE: -ProperIeee754Comparisons
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// DONT_TARGET_EXACT_BACKEND: JS_IR
|
||||
|
||||
fun less1(a: Float, b: Float) = a < b
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// !LANGUAGE: -ProperIeee754Comparisons
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// DONT_TARGET_EXACT_BACKEND: JS_IR
|
||||
|
||||
fun box(): String {
|
||||
val plusZero: Any = 0.0
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// !LANGUAGE: -ProperIeee754Comparisons
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// DONT_TARGET_EXACT_BACKEND: JS_IR
|
||||
|
||||
fun box(): String {
|
||||
val plusZero: Any = 0.0
|
||||
|
||||
Generated
-55
@@ -9064,51 +9064,26 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/ieee754/differentTypesComparison.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("equalsDouble.kt")
|
||||
public void testEqualsDouble() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ieee754/equalsDouble.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("equalsDouble_properIeeeComparisons.kt")
|
||||
public void testEqualsDouble_properIeeeComparisons() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ieee754/equalsDouble_properIeeeComparisons.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("equalsFloat.kt")
|
||||
public void testEqualsFloat() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ieee754/equalsFloat.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("equalsFloat_properIeeeComparisons.kt")
|
||||
public void testEqualsFloat_properIeeeComparisons() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ieee754/equalsFloat_properIeeeComparisons.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("equalsNaN.kt")
|
||||
public void testEqualsNaN() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ieee754/equalsNaN.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("equalsNaN_properIeeeComparisons.kt")
|
||||
public void testEqualsNaN_properIeeeComparisons() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ieee754/equalsNaN_properIeeeComparisons.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("equalsNullableDouble.kt")
|
||||
public void testEqualsNullableDouble() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ieee754/equalsNullableDouble.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("equalsNullableDouble_properIeeeComparisons.kt")
|
||||
public void testEqualsNullableDouble_properIeeeComparisons() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ieee754/equalsNullableDouble_properIeeeComparisons.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("equalsNullableFloat.kt")
|
||||
public void testEqualsNullableFloat() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ieee754/equalsNullableFloat.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("equalsNullableFloat_properIeeeComparisons.kt")
|
||||
public void testEqualsNullableFloat_properIeeeComparisons() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ieee754/equalsNullableFloat_properIeeeComparisons.kt");
|
||||
@@ -9129,21 +9104,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/ieee754/generic.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("greaterDouble.kt")
|
||||
public void testGreaterDouble() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ieee754/greaterDouble.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("greaterDouble_properIeeeComparisons.kt")
|
||||
public void testGreaterDouble_properIeeeComparisons() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ieee754/greaterDouble_properIeeeComparisons.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("greaterFloat.kt")
|
||||
public void testGreaterFloat() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ieee754/greaterFloat.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("greaterFloat_properIeeeComparisons.kt")
|
||||
public void testGreaterFloat_properIeeeComparisons() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ieee754/greaterFloat_properIeeeComparisons.kt");
|
||||
@@ -9154,11 +9119,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/ieee754/inline.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lessDouble.kt")
|
||||
public void testLessDouble() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ieee754/lessDouble.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lessDouble_properIeeeAndNewInference.kt")
|
||||
public void testLessDouble_properIeeeAndNewInference() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ieee754/lessDouble_properIeeeAndNewInference.kt");
|
||||
@@ -9169,11 +9129,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/ieee754/lessDouble_properIeeeComparisons.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lessFloat.kt")
|
||||
public void testLessFloat() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ieee754/lessFloat.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lessFloat_properIeeeComparisons.kt")
|
||||
public void testLessFloat_properIeeeComparisons() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ieee754/lessFloat_properIeeeComparisons.kt");
|
||||
@@ -9269,11 +9224,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/ieee754/smartCastToDoubleAndComparableToDouble.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("when.kt")
|
||||
public void testWhen() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ieee754/when.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("when10.kt")
|
||||
public void testWhen10() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ieee754/when10.kt");
|
||||
@@ -9284,11 +9234,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/ieee754/when10_properIeeeComparisons.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("whenNoSubject.kt")
|
||||
public void testWhenNoSubject() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ieee754/whenNoSubject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("whenNoSubject_properIeeeComparisons.kt")
|
||||
public void testWhenNoSubject_properIeeeComparisons() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ieee754/whenNoSubject_properIeeeComparisons.kt");
|
||||
|
||||
Reference in New Issue
Block a user