Cody

Solution 418247

Submitted on 14 Mar 2014
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
%% x='coUnt the vowEl'; y_correct = 5; assert(isequal(vowel_counter(x),y_correct))

Error: Error using / Matrix dimensions must agree. Error in evaluateCode', '/users/msssystem7/+cody/verifyCode.m', 238)" style="font-weight:bold">cody.verifyCode>evaluateCode (line 238) output = evalc(matlabCode); Error in cody.verifyCode (line 43) output = evaluateCode(cleanCellCode); Error in mls.internal.fevalJSON (line 14) [response{:}] = feval(functionName, arguments{:});

2   Fail
%% x='coUnt the vowEl counter'; y_correct = 8; assert(isequal(vowel_counter(x),y_correct))

Error: Error using / Matrix dimensions must agree. Error in evaluateCode', '/users/msssystem7/+cody/verifyCode.m', 238)" style="font-weight:bold">cody.verifyCode>evaluateCode (line 238) output = evalc(matlabCode); Error in cody.verifyCode (line 43) output = evaluateCode(cleanCellCode); Error in mls.internal.fevalJSON (line 14) [response{:}] = feval(functionName, arguments{:});

3   Fail
%% x='The fox was the jackle'; y_correct = 6; assert(isequal(vowel_counter(x),y_correct))

Error: Error using / Matrix dimensions must agree. Error in evaluateCode', '/users/msssystem7/+cody/verifyCode.m', 238)" style="font-weight:bold">cody.verifyCode>evaluateCode (line 238) output = evalc(matlabCode); Error in cody.verifyCode (line 43) output = evaluateCode(cleanCellCode); Error in mls.internal.fevalJSON (line 14) [response{:}] = feval(functionName, arguments{:});

4   Fail
%% x='Education'; y_correct = 5; assert(isequal(vowel_counter(x),y_correct))

Error: Error using / Matrix dimensions must agree. Error in evaluateCode', '/users/msssystem7/+cody/verifyCode.m', 238)" style="font-weight:bold">cody.verifyCode>evaluateCode (line 238) output = evalc(matlabCode); Error in cody.verifyCode (line 43) output = evaluateCode(cleanCellCode); Error in mls.internal.fevalJSON (line 14) [response{:}] = feval(functionName, arguments{:});

5   Fail
%% x='We are the MaTLaBiAns'; y_correct = 8; assert(isequal(vowel_counter(x),y_correct))

Error: Error using / Matrix dimensions must agree. Error in evaluateCode', '/users/msssystem7/+cody/verifyCode.m', 238)" style="font-weight:bold">cody.verifyCode>evaluateCode (line 238) output = evalc(matlabCode); Error in cody.verifyCode (line 43) output = evaluateCode(cleanCellCode); Error in mls.internal.fevalJSON (line 14) [response{:}] = feval(functionName, arguments{:});