Mercurial > octave-nkf
view test/class-concat/class-concat.tst @ 20103:065f933ef083 rc-4-0-0-3
maint: Bump version number for 4.0.0-rc3
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 10 Apr 2015 14:41:12 -0400 |
parents | 1af8d21608b7 |
children |
line wrap: on
line source
%!test %! f = foo (); %! x = [f,f]; %! assert (size (x), [1, 2]) %! assert (class (x), "foo") %!test %! f = foo (); %! x = [f,f]; %! tmp = num2cell (x); %! assert (iscell (tmp)) %! assert (size (tmp), [1, 2]) %! assert (class (tmp{1}), "foo") %! assert (class (tmp{2}), "foo")