Chris Marshall - 2013-09-04

See Test::PDL which addresses this kind of problem.
http://search.cpan.org/~ebaudrez/Test-PDL-0.09/lib/Test/PDL.pm

--Chris

On Tue, Sep 3, 2013 at 11:55 PM, William Parker wparker30@users.sf.net wrote:


[patches:#73] Primitive.t testing patch

Status: open
Created: Wed Sep 04, 2013 03:55 AM UTC by William Parker
Last Updated: Wed Sep 04, 2013 03:55 AM UTC
Owner: nobody

This patch adds coverage to the Primitive.pm test script. Preexisting tests
are unchanged. Does anyone have any suggestions on what else might be
helpful and accessible? I looked through Matrix.pm, but it didn't seem to
work properly, even in the stable version (2.4.11 from the Debian package.)
I used an older machine I have, so no possibility of contamination from the
development version. It did basically say in the comments that it is a work
in progress.

On a related note, is there a way to test piddles for equality that returns
a single scalar true/false? The closest I found is approx with 0 tolerance,
but that just returns a piddle. It would make the tests a bit less
convoluted.


Sent from sourceforge.net because you indicated interest in
https://sourceforge.net/p/pdl/patches/73/

To unsubscribe from further messages, please visit
https://sourceforge.net/auth/subscriptions/

 

Related

Patches: #73