File: randbyte.t

package info (click to toggle)
libmath-randomorg-perl 0.04-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 160 kB
  • sloc: perl: 743; makefile: 4
file content (13 lines) | stat: -rw-r--r-- 179 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
use strict;
use Test;
use Math::RandomOrg qw(randnum randbyte);

BEGIN {
	plan tests => (10)
}

for my $i (1 .. 10) {
	my $octets	= randbyte( $i );
	ok( length($octets), $i );
}