-
-
Notifications
You must be signed in to change notification settings - Fork 657
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
Say README suggests to test -1 but the unit tests expect uint64 #837
Comments
Further, the README says code should report any values that are out of range. But |
Thanks @shaleh |
I believe since the instructions say any number from 0 to 999,999,999,999 and an uint64's max value is 18,446,744,073,709,551,615 that the request to report values out range refers to number from 1,000,000,000,000 to 18,446,744,073,709,551,615. A negative number would however cause an error in go. In rewriting this README would it be best to clarify the out of range testing or to just remove it along with the suggestion to test with -1? |
Actually,since this is one of the earlier problems perhaps switch back to a standard signed int would be the right thing to do? This way the user gets to implement input validation. The current tests validate that ANY number that a Otherwise, document that no validation needs to be done and expect anything up to |
I agree with @shaleh here, I think |
Part of exercism#605. Closes exercism#837
Closed via 3e89b2c |
Part of exercism#605. Closes exercism#837
Part of exercism#605. Closes exercism#837
No description provided.
The text was updated successfully, but these errors were encountered: