File: 01_new.t

package info (click to toggle)
libtext-lorem-perl 0.34-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 124 kB
  • sloc: perl: 95; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 328 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use strict;
use warnings;

use Test::More;

my $class = 'Text::Lorem';
use_ok($class);

my $object = $class->new();
isa_ok( $object, $class );

my @methods = (qw{ new generate_wordlist wordlist wordcount get_word words get_sentence sentences get_paragraph paragraphs });
can_ok( $object, $_ ) foreach @methods;

done_testing();