Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: 'either or' value unit test case in Test::Simple or Test::More

by imp (Priest)
on Jan 05, 2007 at 14:54 UTC ( #593124=note: print w/replies, xml ) Need Help??


in reply to 'either or' value unit test case in Test::Simple or Test::More

You could use Test::Deep.
use strict; use warnings; use Test::More tests => 1; use Test::Deep; cmp_deeply([1], subsetof(1,2,3));
  • Comment on Re: 'either or' value unit test case in Test::Simple or Test::More
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://593124]
help
Chatterbox?
and the rats come out to play...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2017-11-18 23:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (278 votes). Check out past polls.

    Notices?