[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tests in private m-scripts
From: |
Rik |
Subject: |
Re: tests in private m-scripts |
Date: |
Fri, 18 Jul 2014 09:26:52 -0700 |
On 07/18/2014 08:32 AM, Andreas Weber wrote:
> Hi Rik.
>
> While digging into the fltk plotting routines I found a note from you
> (http://hg.savannah.gnu.org/hgweb/octave/rev/12793):
>
> ## Test blocks are not allowed (and not needed) for private functions
> and the following tests in
> scripts/plot/util/private/__print_parse_opts__.m are disables with #%!test.
Andreas,
In general the private functions are helping functions for some other main
function. Tests for behavior should be in the main function.
Maybe others on the Maintainers list have an opinion on this one. I would
lean towards removing them as I can see that several are out of date.o
--Rik