Cody

Solution 1872666

Submitted on 12 Jul 2019 by Michael Cappello
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
message = 'elephant'; shift = 45; correct = 'xexiatgm'; assert(isequal(caesarShift(message,shift),correct))

shift = 19

2   Pass
message = 'TiGEr'; shift = -537; answer = 'crpna'; assert(isequal(caesarShift(message,shift),answer))

shift = -17 shift = 9

3   Pass
message = 'gozoaobrsf' shift = 12; answer = 'salamander'; assert(isequal(caesarShift(message,shift),answer))

message = 'gozoaobrsf' shift = 12