Skip to content

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

Merged
petertseng merged 1 commit intoexercism:masterfrom
fudanchii:patch-1
Nov 20, 2018
Merged

Fix pythagorean-triplet readme, in accordance to the updated tests#754
petertseng merged 1 commit intoexercism:masterfrom
fudanchii:patch-1

Conversation

@fudanchii
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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