Commit Graph

5 Commits

Author SHA1 Message Date
dm-murphy 25f18760cc
Update caesar.spec.js
Proposing a change for caesar.spec.js for test 3 ('works with phrases') and test 4 ('works with negative shift'). The test for 'wraps' is supposed to come after these ones, but currently using the word "World!" in the earlier tests with a 5 key shift will require that wraps are already working, thus the spec test will fail even if the code is appropriate for phrases and negative shifts. If the learning process is to move one by one progressively through the spec tests, then I think it would be better not to require wraps to be working until the actual 'wraps' requirement in test 5.  I believe simply replacing the word "World!" with "There!" should solve the issue.
2020-07-02 14:50:37 -04:00
Étienne Boisseau-Sierra 00407bdee5 Transform 'let' in 'const' where needs be 2018-08-07 11:25:16 +01:00
Étienne Boisseau-Sierra deb698c09e Add test to caesar checking negative wraping cornercase 2018-08-07 11:25:16 +01:00
Étienne Boisseau-Sierra 3a9251d55e Transform 'var' in 'let' 2018-08-07 11:25:16 +01:00
Cody Loyd b847c3bd61 add caesar cipher 2017-08-25 13:59:26 -05:00