Mercurial > octave-libgccjit
view test/class-concat/class-concat.tst @ 18964:a0c514c243f6 default tip @
maint: Use Octave coding conventions for %!test in graphics.cc.
* graphics.cc: Use Octave coding conventions for %!test in graphics.cc.
author | Rik <rik@octave.org> |
---|---|
date | Mon, 28 Jul 2014 08:36:39 -0700 |
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")