Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Test::LectroTest and pseudo random distributions

by pernod (Chaplain)
on Aug 04, 2005 at 14:40 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://480849]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2024-04-24 04:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found