view test/class-concat/class-concat.tst @ 20614:10ec79b47808

use new string_value method to handle value extraction errors * __voronoi__.cc, chol.cc, colamd.cc, fftw.cc: Use new string_value method.
author John W. Eaton <jwe@octave.org>
date Thu, 08 Oct 2015 18:15:56 -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")