Algorithm-CheckDigits
view release on metacpan or search on metacpan
t/plugina.t view on Meta::CPAN
use Test::More;
use lib qw( t );
# 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
use Test::More;
use lib qw( t );
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
use Test::More;
use lib qw( t );
# 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 Algorithm::CheckDigits;
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.353 second using v1.01-cache-2.11-cpan-4e96b696675 )