-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add dectest suite and regex parser #18
Conversation
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.
Pretty cool that you managed to string this together!
Don't be disheartened by my many comments and feel free to give me pushback. Shouldn't take that long to adjust stuff anyway and rest assured @camh-anz or @anzdaddy will weigh in if they think I got it wrong ;)
One big concerned though: we don't have permissions to use these test cases quite yet I believe so we cannot merge this PR (please correct me if I'm wrong). You should probably add a big DISCLAIMER to the top of the PR description that you are trying to get permission for usage in this project and until then it can't be merged.
@anzdaddy might know better, but I believe:
-- Copyright (c) Mike Cowlishaw, 1981, 2010. All rights reserved. --
-- Parts copyright (c) IBM Corporation, 1981, 2008. --
without any additional clauses on usage means we are not allowed to use it in this repo.
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.
Good job. A lot of nit-picky stuff, so don't worry too much about the number of review comments.
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.
Looks pretty good to me now, just waiting for a resolution with the test files.
To keep this PR bounded, let's exclude tests that don't pass or are not executing, then bring them into subsequent PRs once they do. |
Going to coment out "TestFromSuite" function as a placeholder, already have a branch that passes all ddAdd operations, will bring in next PR |
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.
LGTM
* Add dectest suite * Add regexparser for dectest suite * fix error printing * Add .gitattributes
dectest suite from http://speleotrove.com/decimal/dectest.html
Currently testing only tests ddAdd.dectest (double decimal, 64 bits)
Testcases are for following functions:
http://speleotrove.com/decimal/dectest.html
in response to issues:
#17 and #1