Update box test for unsigned to signed conversions

Updated test checks, that large unsigned numbers are converted to corresponding
negative signed numbers properly. Using unsinged constants instead of signed
in test allows to remove supressed OI error as well as use test with NI.
This commit is contained in:
Pavel Kirpichenkov
2019-11-22 12:35:49 +03:00
parent 076166c22f
commit 4622041706
8 changed files with 66 additions and 27 deletions
@@ -27756,6 +27756,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedRangeIterator.kt");
}
@TestMetadata("unsignedToSignedConversion.kt")
public void testUnsignedToSignedConversion() throws Exception {
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedToSignedConversion.kt");
}
@TestMetadata("unsignedTypePrefixIncrementDecrementBoxing.kt")
public void testUnsignedTypePrefixIncrementDecrementBoxing() throws Exception {
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedTypePrefixIncrementDecrementBoxing.kt");