view test/bug-59704/bug-59704.tst @ 31247:3dae836c598c

doc: Expand and edit documentation for memoization (bug #60860)
author Arun Giridhar <arungiridhar@gmail.com>
date Fri, 30 Sep 2022 06:38:59 -0400
parents 9080316864bf
children
line wrap: on
line source

%!test <*59704>
%! o = bug59704_1 ();
%! o.test ();
%! assert (o.p, [])

%!test <*59704>
%! o = bug59704_2 ();
%! [~, o(1)] = size (rand (2, 5));
%! assert (o(1), 5)