Cody

Solution 106405

Submitted on 4 Jul 2012 by Vitaly Lavrukhin
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
%% %read2cell.txt url_fname='http://www.toobigforemail.com/cryptkeeper.toobig?nppmkc2=xyefee&6cq_kc2=yae1ad&6cq_konmpb=xgz8yxyx8xxy1xdyx'; data_v{1}=cellstr(['abcd';'wxyz';'mn ';'pqr ']); assert(isequal(read_url_txtfn2cellarray(url_fname),data_v))
ans = {4x1 cell}
2   Pass
%% %read2cell02.txt url_fname='http://www.toobigforemail.com/cryptkeeper.toobig?nppmkc2=xyeffg&6cq_kc2=yae1af&6cq_konmpb=8x1eyxyx8xxy1xdyx'; data_v{1}=cellstr(['abcd';'wxyz']); assert(isequal(read_url_txtfn2cellarray(url_fname),data_v))
ans = {2x1 cell}
3   Pass
%% %read2cell03.txt url_fname='http://www.toobigforemail.com/cryptkeeper.toobig?nppmkc2=xyeffg&6cq_kc2=yae1dg&6cq_konmpb=8x1eyxyx8xxy1xdyx'; data_v{1}=cellstr(['abcd';'wxyz';'123 ']); assert(isequal(read_url_txtfn2cellarray(url_fname),data_v))
ans = {3x1 cell}
4   Pass
%% %read2cell04.txt url_fname='http://www.toobigforemail.com/cryptkeeper.toobig?nppmkc2=xyeffg&6cq_kc2=yae1d1&6cq_konmpb=y88ayxyx8xxy1xdyx'; data_v{1}=cellstr(['abcd ';'wxyz ';'123 ';'mnopq';'hij ']); assert(isequal(read_url_txtfn2cellarray(url_fname),data_v))
ans = {5x1 cell}