mirror of
https://github.com/qpdf/qpdf.git
synced 2024-11-10 23:20:58 +00:00
5e3bad2f86
Add new RandomDataProvider object and implement existing random number generation in terms of that. This enables end users to supply their own random data providers.
17 lines
324 B
Perl
17 lines
324 B
Perl
#!/usr/bin/env perl
|
|
require 5.008;
|
|
BEGIN { $^W = 1; }
|
|
use strict;
|
|
|
|
require TestDriver;
|
|
|
|
my $td = new TestDriver('random');
|
|
|
|
$td->runtest("Random Data Providers",
|
|
{$td->COMMAND => "random"},
|
|
{$td->STRING => "random: end of tests\n",
|
|
$td->EXIT_STATUS => 0},
|
|
$td->NORMALIZE_NEWLINES);
|
|
|
|
$td->report(1);
|