Mercurial > octave
diff test/classdef/classdef.tst @ 31312:b01e8e322838 stable
test: Add test for number of methods with classdef in @folder (bug #62802).
* test/classdef/classdef.tst: Add test for number of methods returned for
classdef that defines methods in an @folder and in the function definition.
* test/classdef/@class_bug62802/amethod.m,
test/classdef/@class_bug62802/class_bug62802.m: Add new files.
* test/classdef/module.mk: Add new files to dist.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Mon, 17 Oct 2022 09:27:37 +0200 |
parents | 796f54d4ddbf |
children | 597f3ee61a48 |
line wrap: on
line diff
--- a/test/classdef/classdef.tst Sat Oct 15 18:46:04 2022 +0200 +++ b/test/classdef/classdef.tst Mon Oct 17 09:27:37 2022 +0200 @@ -210,3 +210,6 @@ %! x = bug_60763 (); %! assert (x.foobar (), {"some_property"}); %! assert (x.methods (), 42); + +## test class with methods in @folder and in classdef definition +%!assert <*62802> (numel (methods ("class_bug62802")), 4)