-
-
Notifications
You must be signed in to change notification settings - Fork 546
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
diamond: add canonical data #612
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.
I didn't followed the discussion about the tests' contents, so I'm reviewing just the format.
I attempted to follow the proposed canonical data spec from #602. If you spot any deviations from the proposal, please let me know and I can correct them. cc @rbasso for his expertise and validation 😄
I just validated the canonical-data.json
file here, so it is formally correct.
@rbasso thanks! 👍 @ spec! |
@ErikSchierboom sorry, I don't quite follow; what was the modification you had in mind? Thanks! |
@stkent Oh sorry, I meant the bit about "print". There was some discussion if "print" was a good name, as it might imply that we were printing to the console instead of returning a string. |
Ah, I'm with you now. Yes, let's change that - easy fix at this point. Incoming! |
a204a3a
to
28998dd
Compare
@ErikSchierboom I updated |
@stkent I think |
tournament: Regenerate tests based on updated canonical data.
Closes #556. See that issue for background information. Please contribute any new comments in this PR. Thanks!
I'm far from a property-based testing expert, so my explanation in the test data comment is likely clumsy. Please feel free to explain how to refine it!
I attempted to follow the proposed canonical data spec from #602. If you spot any deviations from the proposal, please let me know and I can correct them. cc @rbasso for his expertise and validation 😄