Acme-CPANAuthors-Pumpkings
view release on metacpan or search on metacpan
t/000_basic.t view on Meta::CPAN
91011121314151617181920212223242526272829our
$r
=
eval
"require Test::NoWarnings; 1"
;
use
Test::More 0.88;
use
Acme::CPANAuthors;
BEGIN {
use_ok (
'Acme::CPANAuthors::Pumpkings'
) or
BAIL_OUT (
"Loading of 'Acme::CPANAuthors::Pumpkings' failed"
);
}
ok
defined
$Acme::CPANAuthors::Pumpkings::VERSION
,
"VERSION is set"
;
my
$authors
= Acme::CPANAuthors -> new (
'Pumpkings'
);
ok
$authors
,
'Got $authors'
;
ok
$authors
-> count,
"There are pumpkings"
;
my
@ids
=
$authors
-> id;
ok
scalar
@ids
,
"There are ids"
;
ok
$authors
-> name (
"LWALL"
),
"Find a name"
;
( run in 0.236 second using v1.01-cache-2.11-cpan-fd5d4e115d8 )