% Regression test function for FreeMat v3.5
% This function is autogenerated by helpgen.
function success = wbtest_cumprod_2

y=cumprod([1,2,3,4]+i*[4,3,2,1]);
q=[1+4i,-10+11i,-52+13i,-221];
success = match_exact(q,y);

