Cody

Solution 418743

Submitted on 16 Mar 2014
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
%% inStr = 'doug'; shift = 10; outStr = 'nyeq'; assert(isequal(cypher(inStr, shift),outStr))

Error: Output argument "outStr" (and maybe others) not assigned during call to "/users/msssystem19/cypher.m>cypher".

2   Fail
%% inStr = 'thequickbrownfox'; shift = 5; outStr = 'ymjvznhpgwtbsktc'; assert(isequal(cypher(inStr, shift),outStr))

Error: Output argument "outStr" (and maybe others) not assigned during call to "/users/msssystem19/cypher.m>cypher".

3   Fail
%% inStr = 'thecrowfliesatmidnight'; shift = 22; outStr = 'pdaynksbheaowpiezjecdp'; assert(isequal(cypher(inStr, shift),outStr))

Error: Output argument "outStr" (and maybe others) not assigned during call to "/users/msssystem19/cypher.m>cypher".