Skip to content

Fix pythagorean-triplet readme, in accordance to the updated tests #754

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

Merged
merged 1 commit into from
Nov 20, 2018

Conversation

fudanchii
Copy link
Contributor

This is as described in exercism/problem-specifications#1395

The current README will really confuse non math-savvy students, as it asked to find a*b*c, while the tests actually check for the triplets.

Change it to asks for the triplet explicitly. Give the answer for N = 1000 as it's also spoiled in the test file ;)

@fudanchii
Copy link
Contributor Author

woops, didn't know that it checks for problem-specifications. closing this and will wait for exercism/problem-specifications#1395 instead 🙏

@fudanchii fudanchii closed this Nov 20, 2018
@petertseng petertseng added the sync/readme Keep a README in sync with exercism/problem-specifications label Nov 20, 2018
@petertseng petertseng reopened this Nov 20, 2018
This is as described in exercism/problem-specifications#1395

The current README will really confuse non math-savvy students, as it
asked to find `a*b*c`, while the tests actually check for the triplets.

Change it to asks for the triplet explicitly.
Give the answer for N = 1000 as it's also spoiled in the test file ;)
Copy link
Member

@petertseng petertseng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to have this ASAP, since otherwise the tests do not match the README.

Since it seems to be standard procedure that documentation changes are A-OK to merge speedily as long as tests pass (and tests have now been confirmed to pass for this), I have chosen to merge this now.

@petertseng petertseng merged commit 4e2e192 into exercism:master Nov 20, 2018
@fudanchii fudanchii deleted the patch-1 branch November 20, 2018 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sync/readme Keep a README in sync with exercism/problem-specifications
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants