File: 02_new.t

package info (click to toggle)
libstring-random-perl 1%3A0.32-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 228 kB
  • sloc: perl: 349; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 258 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
use strict;
use warnings;

use Test::More tests => 2;

# 1: Make sure we can load the module
BEGIN { use_ok('String::Random'); }

# 2: Make sure we can create a new object
my $foo=new String::Random;
ok(defined($foo), "new()");

# vi: set ai et syntax=perl: