Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
inStr = 'doug';
shift = 10;
outStr = 'nyeq';
assert(isequal(cypher(inStr, shift),outStr))
inStr =
'nyq'
|
2 | Pass |
inStr = 'thequickbrownfox';
shift = 5;
outStr = 'ymjvznhpgwtbsktc';
assert(isequal(cypher(inStr, shift),outStr))
inStr =
'ymjvznhpgwt|skt}'
|
3 | Pass |
inStr = 'thecrowfliesatmidnight';
shift = 22;
outStr = 'pdaynksbheaowpiezjecdp';
assert(isequal(cypher(inStr, shift),outStr))
inStr =
'~{y
|{wz}~'
|
1600 Solvers
926 Solvers
201 Solvers
"Low : High - Low : High - Turn around " -- Create a subindices vector
320 Solvers
Magic is simple (for beginners)
2749 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!