Skip to content

pythagorean-triplet 1.0.0.3: Test only tripletsWithSum#753

Merged
petertseng merged 2 commits intoexercism:masterfrom
petertseng:pythag
Oct 31, 2018
Merged

pythagorean-triplet 1.0.0.3: Test only tripletsWithSum#753
petertseng merged 2 commits intoexercism:masterfrom
petertseng:pythag

Conversation

@petertseng
Copy link
Copy Markdown
Member

Replacing previous tests with isPythagorean (don't test intermediate
steps) and triplets in factor range (reasonable way to test, just not
what the canonical data chose to use)

Given the new restriction of a < b < c we no longer need mkTriplet
according to the previous rationale for keeping it (ordering):
#507 (comment)

exercism/problem-specifications#1332
exercism/problem-specifications#1365

TheBestJohn and others added 2 commits October 31, 2018 01:34
Replacing previous tests with isPythagorean (don't test intermediate
steps) and triplets in factor range (reasonable way to test, just not
what the canonical data chose to use)

Given the new restriction of `a < b < c` we no longer need `mkTriplet`
according to the previous rationale for keeping it (ordering):
#507 (comment)

exercism/problem-specifications#1332
@petertseng petertseng merged commit 7ac5b77 into exercism:master Oct 31, 2018
@petertseng petertseng deleted the pythag branch October 31, 2018 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants