Cody

Solution 1735898

Submitted on 25 Feb 2019
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
Documents = 'These are sample tests on a sentence'; y_correct = 'TH_S_ _R_ S_MPL_ T_STS _N _ S_NT_NC_'; assert(isequal(upper_replace(Documents),y_correct))

Output argument "y" (and maybe others) not assigned during call to "upper_replace". Error in Test1 (line 3) assert(isequal(upper_replace(Documents),y_correct))

2   Fail
Documents = 'This is an underscore: _'; y_correct = 'TH_S _S _N _ND_RSC_R_: _'; assert(isequal(upper_replace(Documents),y_correct))

Output argument "y" (and maybe others) not assigned during call to "upper_replace". Error in Test2 (line 3) assert(isequal(upper_replace(Documents),y_correct))