Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Test::LectroTest and pseudo random distributions

by pernod (Chaplain)
on Aug 04, 2005 at 14:40 UTC ( #480849=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Die;
    
    ...
    }
    
    1;
    
  2. or download this
    #! /usr/bin/perl
    
    ...
    
      ( 0 < $roll && $x >= $roll );
    }, name => "With a six sided die, I get this distribution";
    
  3. or download this
    1..2
    ok 1 - 'My die returns something between 1 and the number of sides of 
    +the die.' (1000 attempts)
    ...
    #  16% 5
    #  16% 6
    #  15% 4
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://480849]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (11)
As of 2014-12-21 15:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (106 votes), past polls