Fix Double and Float equality/hashCode in data classes

#KT-5818 Fixed
This commit is contained in:
Alexander Udalov
2014-10-16 19:09:43 +04:00
parent f632a34959
commit 1edaf43051
6 changed files with 100 additions and 21 deletions
@@ -766,6 +766,18 @@ public class BlackBoxWithStdlibCodegenTestGenerated extends AbstractBlackBoxCode
doTestWithStdlib(fileName);
}
@TestMetadata("doubleParam.kt")
public void testDoubleParam() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/dataClasses/doubleParam.kt");
doTestWithStdlib(fileName);
}
@TestMetadata("floatParam.kt")
public void testFloatParam() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/dataClasses/floatParam.kt");
doTestWithStdlib(fileName);
}
@TestMetadata("genericParam.kt")
public void testGenericParam() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/dataClasses/genericParam.kt");