-
Notifications
You must be signed in to change notification settings - Fork 520
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
Ambiguity in some test cases for the anagram problem #690
Comments
The rules implied by these tests are:
It is definitely possible to construct an implementation which obeys both of these rules, and passes all test cases. If you are stuck, try looking at Closing as Not a Bug. |
@coriolinus got it... But it would be better to include the 1st point in instructions for the problem so that it makes it clear. The main reason for opening the issue was that there was no confirmation about if the alphabet casing is being taken into consideration or not due to the
|
@coriolinus Both rules 1 and 2 should be provided by the problem specification. Neither is obvious, and both might be reasonably be the other way. |
You are correct that the problem description https://github.com/exercism/problem-specifications/blob/master/exercises/anagram/description.md does not say either of those things, and I agree with you that it would be an improvement (clearer to the student solving the problem) if it would say those two things. |
In the anagram problem of the problem set, there are two conflicting test sets, namely test_case_insensitive_anagrams and test_does_not_detect_a_differently_cased_word_as_its_own_anagram.
The testcase for former is :
While the test case for latter is :
You can only pass either of these, and not both due to the conflicting nature of both. So i think this will require a fix to remove one of these.
The text was updated successfully, but these errors were encountered: