view test/bug-36025/bug-36025.tst @ 20609:780431fc4137

linspace: add tests for the use of vectors as base and limit.
author Carnë Draug <carandraug@octave.org>
date Thu, 08 Oct 2015 20:06:45 +0100
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);