Add test to caesar checking negative wraping cornercase

This commit is contained in:
Étienne Boisseau-Sierra 2018-06-09 11:45:13 -04:00
parent ea595f1d10
commit deb698c09e

View file

@ -19,4 +19,7 @@ describe('caesar', function() {
xit('works with large shift factors', function() {
expect(caesar('Hello, World!', 75)).toEqual('Ebiil, Tloia!');
});
xit('works with large negative shift factors', function() {
expect(caesar('Hello, World!', -29)).toEqual('Ebiil, Tloia!');
});
});