File: 02-new.t

package info (click to toggle)
libcrypt-random-seed-perl 0.03-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 200 kB
  • sloc: perl: 448; makefile: 7
file content (12 lines) | stat: -rw-r--r-- 299 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env perl
use strict;
use warnings;
use Crypt::Random::Seed;

use Test::More  tests => 2;

my $source = Crypt::Random::Seed->new();
isa_ok $source, 'Crypt::Random::Seed';

my $source2 = new Crypt::Random::Seed;  ## no critic (ProhibitIndirectSyntax)
isa_ok $source, 'Crypt::Random::Seed';