Cody

Solution 1946113

Submitted on 23 Sep 2019 at 4:47
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   Fail
message = 'elephant'; shift = 45; correct = 'xexiatgm'; assert(isequal(caesarShift(message,shift),correct))

Undefined function 'caesarShift' for input arguments of type 'char'. Error in Test1 (line 4) assert(isequal(caesarShift(message,shift),correct))

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

Undefined function 'caesarShift' for input arguments of type 'char'. Error in Test2 (line 4) assert(isequal(caesarShift(message,shift),answer))

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

message = 'gozoaobrsf'

Undefined function 'caesarShift' for input arguments of type 'char'. Error in Test3 (line 4) assert(isequal(caesarShift(message,shift),answer))

Suggested Problems

More from this Author1