#!/usr/bin/perl -sw ## ## Copyright (c) 2000, Vipul Ved Prakash. All rights reserved. ## This code is free software; you can redistribute it and/or modify ## it under the same terms as Perl itself. ## ## $Id: makerandom_itv.t,v 1.1.1.1 2001/06/21 15:34:49 vipul Exp $ use lib '../lib'; use Crypt::Random qw(makerandom_itv); print "1..5\n"; my $sample = 100; my $i = 1; for my $limit ( '1000', '10000', '100000', '1000000000', '1000000000000' ) { for ( 1 .. $sample ) { print makerandom_itv ( Lower=>0, Upper=>$limit, Uniform => 1 ) . "\n"; } print "ok ". $i++."\n"; }