Mercurial > octave-nkf
view test/class-concat/test_class_concat.m @ 14626:f947d2922feb stable rc-3-6-2-0
3.6.2-rc0 release candidate
* configure.ac (AC_INIT): Version is now 3.6.2-rc0.
(OCTAVE_RELEASE_DATE): Now 2012-05-11.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 11 May 2012 13:46:18 -0400 |
parents | a45535d630bd |
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")