add additional negative big int constant test case

This commit is contained in:
drew 2021-11-14 19:28:55 -08:00 committed by Andrew Kelley
parent dffa6dcaf9
commit 89793bdfa7

View File

@ -32,6 +32,9 @@ test "int128" {
buff = minInt(i128);
try expect(buff < 0);
buff = -0x12341234123412341234123412341234;
try expect(-buff == 0x12341234123412341234123412341234);
}
test "truncate int128" {