Cody

Solution 2022789

Submitted on 15 Nov 2019 at 9:57
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 in solution: Line: 13 Column: 3 This statement is not inside any function. (It follows the END that terminates the definition of the function "cypher".)

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

Error in solution: Line: 13 Column: 3 This statement is not inside any function. (It follows the END that terminates the definition of the function "cypher".)

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

Error in solution: Line: 13 Column: 3 This statement is not inside any function. (It follows the END that terminates the definition of the function "cypher".)