view test/fcn-handle/bug-57941.tst @ 31218:a33a9c87220b stable

imformats.m: Fix "isa" function in return value (bug #62974) * imformats.m (isa_magick): Fix typo "Format" to "format" for name of field in struct returned from __magick_ping__.
author Rik <rik@octave.org>
date Tue, 30 Aug 2022 15:24:29 -0700
parents 23fe97205db5
children
line wrap: on
line source

%!test <*57941>
%! [r1, r2] = bug57941a (2);
%! assert (r1, 6);
%! assert (r2, 24);

%!test <*57941>
%! [fh1, fh2] = bug57941b (2);
%! assert (fh1 (3), 6);
%! assert (fh2 (3, 4), 24);