Menu

#73 Primitive.t testing patch

None
closed-accepted
nobody
None
5
2016-10-03
2013-09-04
No

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.

1 Attachments

Related

Patches: #73

Discussion

  • Chris Marshall

    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

  • Derek Lamb

    Derek Lamb - 2016-10-03
    • status: open --> closed-accepted
    • Group: -->
     
  • Derek Lamb

    Derek Lamb - 2016-10-03

    Thank you for the contribution, this will be in PDL-2.017 scheduled for release next week.

     

Log in to post a comment.

MongoDB Logo MongoDB