view test/bug-36025/bug-36025.tst @ 20619:eef93a493ce3

use new cell_value method to handle value extraction errors * cellfun.cc, ov-class.cc, ov-struct.cc, ov-usr-fcn.cc: Use new cell_value method.
author John W. Eaton <jwe@octave.org>
date Fri, 09 Oct 2015 14:43:36 -0400
parents 1af8d21608b7
children
line wrap: on
line source

%!test
%! warning off Octave:function-name-clash
%! f = testclass (1, 2);
%! assert (one (f), 1);
%! assert (two (f), 2);
%! rehash ();
%! assert (one (f), 1);
%! assert (two (f), 2);
%! assert (two (f), 2);