Cody

Solution 1258188

Submitted on 28 Aug 2017
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
aStr = 'dan'; bStr = 'nan'; cStr = 'nora'; out = [921 121 1042]; assert(isequal(cryptoAdd(aStr,bStr,cStr),out))

2   Fail
aStr = 'wait'; bStr = 'all'; cStr = 'gifts'; out = [9608 677 10285]; assert(isequal(cryptoAdd(aStr,bStr,cStr),out))

Assertion failed.

3   Pass
aStr = 'memo'; bStr = 'from'; cStr = 'homer'; out = [8485 7358 15843]; assert(isequal(cryptoAdd(aStr,bStr,cStr),out))

4   Pass
%aStr = 'coca'; %bStr = 'cola'; %cStr = 'oasis'; %out = [8186 8106 16292]; %assert(isequal(cryptoAdd(aStr,bStr,cStr),out))