exercism / clojure

Exercism exercises in Clojure.
https://exercism.org/tracks/clojure
MIT License
160 stars 153 forks source link

Rotational Cipher Tests differ from description #506

Closed BlueBrightStar closed 1 year ago

BlueBrightStar commented 1 year ago

in https://exercism.org/tracks/clojure/exercises/rotational-cipher, the problem description in the Instructions clearly states that valid cipher values are between 0 and 26, but the test suite includes negative numbers being treated as valid inputs - such as one testing that it returns the 'correct' value for a key of -2. Please change the description of the problem or remove the tests to make it clearer.

tasxatzial commented 1 year ago

The current specs don't include checks for negative shifts. @bobbicodes May i sync/update the tests and remove those?

bobbicodes commented 1 year ago

Sure :)