8000 Add test to caesar checking negative wraping cornercase · cotrones/javascript-exercises@deb698c · GitHub
[go: up one dir, main page]

Skip to content

Commit deb698c

Browse files
Add test to caesar checking negative wraping cornercase
1 parent ea595f1 commit deb698c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

caesar/caesar.spec.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,7 @@ describe('caesar', function() {
1919
xit('works with large shift factors', function() {
2020
expect(caesar('Hello, World!', 75)).toEqual('Ebiil, Tloia!');
2121
});
22+
xit('works with large negative shift factors', function() {
23+
expect(caesar('Hello, World!', -29)).toEqual('Ebiil, Tloia!');
24+
});
2225
});

0 commit comments

Comments
 (0)
0