Cody

Solution 2087140

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

Undefined function 'cryptoAdd' for input arguments of type 'char'. Error in Test1 (line 7) 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))

Undefined function 'cryptoAdd' for input arguments of type 'char'. Error in Test2 (line 7) assert(isequal(cryptoAdd(aStr,bStr,cStr),out))

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

Undefined function 'cryptoAdd' for input arguments of type 'char'. Error in Test3 (line 7) 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))