[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Matlab-style code in test/classes
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: Matlab-style code in test/classes |
Date: |
Wed, 30 Jan 2013 10:56:20 -0500 |
On 30 January 2013 10:50, Julien Bect <address@hidden> wrote:
> Jordi Gutiérrez Hermoso-2 wrote
>> I should note that Julien rewrote some of your asserts which
>> were originally three-arg to become single-arg asserts. This
>> really is what I wonder if it should stay that way or not.
>
> Yes, I did, for the exact reason that was mentioned above by Bob and Ben :
> these tests are useful, among other things, to test that the assertion "if
> it runs in MATLAB then it should run in octave" is valid now /and will stay
> valid in the future/.
In this case, we just need a single assert test for the assert
function itself. We already have those tests:
http://hg.savannah.gnu.org/hgweb/octave/file/47a4c92924a7/scripts/testfun/assert.m#l240
- Jordi G. H.
- Matlab-style code in test/classes, Jordi Gutiérrez Hermoso, 2013/01/28
- Re: Matlab-style code in test/classes, Ben Abbott, 2013/01/28
- Re: Matlab-style code in test/classes, Robert T. Short, 2013/01/30
- Re: Matlab-style code in test/classes, Julien Bect, 2013/01/30
- Re: Matlab-style code in test/classes, Jordi Gutiérrez Hermoso, 2013/01/30
- Re: Matlab-style code in test/classes, Ben Abbott, 2013/01/30
- Re: Matlab-style code in test/classes, Robert T. Short, 2013/01/30
- Re: Matlab-style code in test/classes, Jordi Gutiérrez Hermoso, 2013/01/30
- Re: Matlab-style code in test/classes, Julien Bect, 2013/01/30
- Re: Matlab-style code in test/classes,
Jordi Gutiérrez Hermoso <=