view test/bug-58572/bug58572.m @ 31200:075443476dfb stable

nextpow2.m: Add bug number tag to regression BIST tests (bug #62947) * nextpow2.m: Add '<*62947>' to BIST tests for bug #62947.
author Rik <rik@octave.org>
date Wed, 24 Aug 2022 08:55:14 -0700
parents 1be719d8b375
children
line wrap: on
line source

classdef bug58572
  methods
    function rslt = use_num (obj)
      rslt = cellfun (@isnumeric, {'a_name'});
    endfunction
    function rslt = isnumeric (obj)
      if (! isa (obj, 'bug58572'))
        error ('bug58572.isnumeric called without object!');
      endif
      rslt = true;
    endfunction
  endmethods
endclassdef