Test: NewFromInt: add MinInt case

This commit is contained in:
Egor Seredin 2024-02-13 06:53:19 +00:00
parent 19b27aafdc
commit dd34943dc4

View file

@ -480,6 +480,7 @@ func TestNewFromInt(t *testing.T) {
1: "1", 1: "1",
323412345: "323412345", 323412345: "323412345",
9223372036854775807: "9223372036854775807", 9223372036854775807: "9223372036854775807",
-9223372036854775808: "-9223372036854775808",
} }
// add negatives // add negatives
@ -505,6 +506,7 @@ func TestNewFromInt32(t *testing.T) {
1: "1", 1: "1",
323412345: "323412345", 323412345: "323412345",
2147483647: "2147483647", 2147483647: "2147483647",
-2147483648: "-2147483648",
} }
// add negatives // add negatives