Lingua-ENG-Inflect
view release on metacpan or search on metacpan
t/inflections.t view on Meta::CPAN
# Change 1..1 below to 1..last_test_to_print .
# (It may become useful if the test is moved to ./t subdirectory.)
BEGIN { $| = 1; print "1..1034\n"; }
END {print "not ok 1\n" unless $loaded;}
use Lingua::ENG::Inflect qw( :ALL );
$loaded = 1;
print "ok 1\n";
my $count = 2;
sub ok($;$$)
{
my $ok = $_[0];
print "not " unless $ok;
print "ok $count";
print "\t# $_[1]" if $_[1];
print " -> $_[2]" if $_[2];
print "\n";
$count++;
return $ok;
}
t/numwords.t view on Meta::CPAN
# Change 1..1 below to 1..last_test_to_print .
# (It may become useful if the test is moved to ./t subdirectory.)
BEGIN { $| = 1; print "1..896\n"; }
END {print "not ok 1\n" unless $loaded;}
use Lingua::ENG::Inflect qw( :ALL );
$loaded = 1;
print "ok 1\n";
my $count = 2;
sub ok($;$$)
{
my $ok = $_[0];
print "not " unless $ok;
print "ok $count";
print "\t# $_[1]" if $_[1];
print " -> $_[2]" if $_[2];
print "\n";
$count++;
return $ok;
}
( run in 2.605 seconds using v1.01-cache-2.11-cpan-9169edd2b0e )