view test/bug-49379/bug-49379.tst @ 31224:45984c799215

sparse-xpow.cc: Use faster multiplication technique based on input matrix sparsity
author Arun Giridhar <arungiridhar@gmail.com>
date Sat, 10 Sep 2022 15:44:05 -0400
parents 976a7a350274
children
line wrap: on
line source

%!test <49379>
%! a1 = 1;
%! a2 = 2;
%! obj = class_bug49379 (a1, a2);
%! assert (obj.ctor_arg_names (), {"a1", "a2"})
%! meth (obj, a2, a1);
%! assert (obj.meth_arg_names (), {"obj", "a2", "a1"})
%! obj.meth (a2, a1);
%! assert (obj.meth_arg_names (), {"obj", "a2", "a1"})