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.
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:
Related
Patches:
#73Thank you for the contribution, this will be in PDL-2.017 scheduled for release next week.