[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with test_perfer.m
From: |
Jaroslav Hajek |
Subject: |
Re: Problem with test_perfer.m |
Date: |
Fri, 23 Jan 2009 13:49:26 +0100 |
On Fri, Jan 23, 2009 at 1:32 PM, Ben Abbott <address@hidden> wrote:
> Soren,
>
> 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
>
It doesn't for me (though I get a different failure - a parse error).
regards
--
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz
- Re: Writing 'help' functions as m-files, John W. Eaton, 2009/01/22
- Re: Writing 'help' functions as m-files, John W. Eaton, 2009/01/22
- Re: Writing 'help' functions as m-files, Søren Hauberg, 2009/01/22
- Re: Writing 'help' functions as m-files, John W. Eaton, 2009/01/22
- Re: Writing 'help' functions as m-files, Søren Hauberg, 2009/01/23
- Problem with test_perfer.m, Ben Abbott, 2009/01/23
- Re: Problem with test_perfer.m, Jaroslav Hajek, 2009/01/23
- Re: Problem with test_perfer.m,
Jaroslav Hajek <=
- Re: Problem with test_perfer.m, Søren Hauberg, 2009/01/23
- Re: Problem with test_perfer.m, Søren Hauberg, 2009/01/23
- Re: Problem with test_perfer.m, Ben Abbott, 2009/01/23
- Re: Problem with test_perfer.m, Søren Hauberg, 2009/01/23
- Re: Problem with test_perfer.m, John W. Eaton, 2009/01/23
- Re: Problem with test_perfer.m, John W. Eaton, 2009/01/23
- Re: Writing 'help' functions as m-files, John W. Eaton, 2009/01/27
- sed (was: Re: Writing 'help' functions as m-files), Søren Hauberg, 2009/01/23
- sed (was: Re: Writing 'help' functions as m-files), John W. Eaton, 2009/01/27