Open
Description
The current canonical data seems to test only in a single direction and not back.
Thats makes it hard to do property based testing on this.
Since everything that is not an letter is not changed at all AND we keep case of a letter as well, I should be able to postulate the property decrypt n . encrypt n == id
. But I am unsure how the dataset handles decrypting, so I'm unsure right now how to implement the exercise in general.
I am aware of the fact though that decrypt n == encrypt (26 - n)
, which might be another property to test, but that I do not want to mix into the first one...
Metadata
Metadata
Assignees
Labels
No labels