Fix floating point comparison generation for range literals

This commit is contained in:
Dmitry Petrov
2017-11-13 18:09:20 +03:00
parent 354d54aef6
commit 4193fae9fa
10 changed files with 216 additions and 14 deletions
@@ -14575,6 +14575,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("inFloatingPointRangeWithNaNBound.kt")
public void testInFloatingPointRangeWithNaNBound() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/contains/inFloatingPointRangeWithNaNBound.kt");
doTest(fileName);
}
@TestMetadata("inIntRange.kt")
public void testInIntRange() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/contains/inIntRange.kt");