octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: request for "assert"


From: Paul Kienzle
Subject: Re: request for "assert"
Date: Sat, 21 Apr 2001 13:24:32 +0100
User-agent: Mutt/1.2.5i

I've got a version at:

http://users.powernet.co.uk/kienzle/octave/matcompat/scripts/testfun/assert.m

It recursively walks structure trees, but doesn't handle lists.  Feel free
to extend it.

Ideally, each type should provide a comparator which determines if two
instances of that type have the same value within some error bound so
that assert would also work for user defined types.  Add an isequal
method to the octave_value class?

Paul Kienzle
address@hidden

On Fri, Apr 20, 2001 at 09:22:31PM -0700, Joseph P. Skudlarek wrote:
> Hi.  An assert is a wonderful thing.  It's easy for a user to add, but
> given the utility and the benefit, it might be better if it were built
> in -- more people might use it.  So, how 'bout considering it?  Thanks.
> /Jskud 
> 
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]