Algorithm-CheckDigits
view release on metacpan or search on metacpan
t/plugina.t view on Meta::CPAN
123456789101112use
Test::More;
# Since the module PluginLibA reexports the function CheckDigits() from
# Algorithm::CheckDigits, we do not need to explicitly use that module to get
# the function into our name space.
use
PluginLibA;
# To get access to the algorithm provided by module PluginLibA, we have to use
# the keys stored in these publicly accessible variables.
t/pluginb-without.t view on Meta::CPAN
123456789101112use
Test::More;
use
PluginLibB;
# To get access to the algorithm provided by module PluginLibB, we have to use
# the keys stored in these publicly accessible variables.
my
$cd1
= PluginLibB->new(
$PluginLibB::meth1
);
my
$cd2
= PluginLibB->new(
$PluginLibB::meth2
);
my
$cd3
= PluginLibB->new(
$PluginLibB::meth3
);
t/pluginb.t view on Meta::CPAN
12345678910111213use
Test::More;
# Since PluginLibB does not inherit from Algorithm::CheckDigits we have to use
# Algorithm::CheckDigits here to make use of the function CheckDigits() to get
# our algorithm checker.
#
use
PluginLibB;
# To get access to the algorithm provided by module PluginLibB, we have to use
# the keys stored in these publicly accessible variables.
( run in 0.355 second using v1.01-cache-2.11-cpan-4e96b696675 )