From deb698c09ec54b30477fdfb8b58d19f1d02fa540 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20Boisseau-Sierra?= Date: Sat, 9 Jun 2018 11:45:13 -0400 Subject: [PATCH] Add test to caesar checking negative wraping cornercase --- caesar/caesar.spec.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/caesar/caesar.spec.js b/caesar/caesar.spec.js index 5432e6e..3c98420 100644 --- a/caesar/caesar.spec.js +++ b/caesar/caesar.spec.js @@ -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!'); + }); });