Problem with test_perfer.m

Ben Abbott bpabbott at mac.com
Fri Jan 23 06:32:11 CST 2009


Søren,

I encountered a test failure related to the "help functions as m-files".

octave:25> test test_prefer.m
   ***** test
  ped = print_empty_dimensions ();
  print_empty_dimensions (0);
  a = cell (1, 1);
  b = type -q a;
  assert(!isempty(findstr(b,"[]")));
  assert(isempty(findstr(b,"[](0x0)")));
  print_empty_dimensions (ped);
!!!!! test failed
type: `a' undefinedoctave:26>
octave:26>
octave:26>
octave:26> a = cell(1,1)
a =

{
   [1,1] = []
}

octave:27> b = type -q a
error: type: `a' undefined

Does this test pass for you?

Ben


More information about the Octave-maintainers mailing list