mirror of
https://github.com/10h30/odin-javascript-exercises.git
synced 2026-06-05 15:09:09 +09:00
Add test to caesar checking negative wraping cornercase
This commit is contained in:
@@ -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!');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user