view test/class-concat/class-concat.tst @ 19528:3954d835436b

doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
author Vytautas Jančauskas <unaudio@gmail.com>
date Fri, 20 Sep 2013 00:34:30 +0300
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")