Solution 293292

Submitted on 31 Jul 2013 by Richard Zapor
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
%% % Cody External accessibility % This file may need to change in the future % First test -- read in coffee file %in_f=''; %in_f=''; %in_f=''; in_f=''; out_f='data1.txt'; urlwrite(in_f,out_f); s=dir(out_f) assert(strcmp(,out_f)) %assert(s.bytes==1643); result1 = textCount1(out_f); assert(length(result1)==2); countE=result1(1) assert(countE==5) %countE1Correct = 468 %countWords1Correct= 731 %assert(isequal(countE, countE1Correct)); %assert(isEqual(countWords, countWords1Correct));
s = name: 'data1.txt' date: '31-Jul-2013 19:29:43' bytes: 1910 isdir: 0 datenum: 7.3545e+05 countE = 5