P is for Practical | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hello all,
Today I learned about some of the test modules in CPAN, and decided to apply Test::More to a little module (my first) that I've been playing with. It was going well - I found some bugs, fixed them and eventually had 50 something 'ok's on my screen. Then I added another test - this one hopes to check that two arrays of hashrefs contain the same things. Since order is not important I thought an ok(equal_set()) would do the trick. So here's a cutdown version of what I have: and here's the output:
I'm sure someone will be able to spot my error. PS: I realize and you've probably realized that I've not been sufficiently lazy and used Math::VectorReal, but once I've got the tests in place, I should be able to make the changes with confidence... Kind Regards, brewer In reply to Test::More - equal_set by brewer
|
|