-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: max type was off in the test #114
Conversation
@@ -14,8 +14,8 @@ | |||
({"a": 1}, {"a": {"type": "scalar", "data": 1}}), | |||
# max INT96 value | |||
( | |||
{"a": 2**96 - 1}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You were maybe thinkin' of UInt96 here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should do the next one as well?
{"a": 2**96 - 1}, | ||
{"a": {"type": "scalar", "data": 79228162514264337593543950335}}, | ||
{"a": 2**95 - 1}, | ||
{"a": {"type": "scalar", "data": 39614081257132168796771975167}}, | ||
), | ||
# int over INT96 max parses as Decimal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This also doesn't match
What I did
fixes: #113
How I did it
The max int for Int96 is defined as
2**95 - 1
but the test was using2**96 - 1
How to verify it
Checklist