Acme-AXP-Utils
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
#!perl -T
use 5.006;
use strict;
use warnings;
use Test::More 0.62 tests => 10;
use Test::Warn;
BEGIN {
use_ok( 'Acme::AXP::Utils' ) || print "Bail out!\n";
}
# Check that subroutines are defined
ok( defined &Acme::AXP::Utils::sum, 'Util::sum is defined' );
# Check that sum works as expected
is( Acme::AXP::Utils::sum( 1, 2, 3 ), 6, 'Sum positive integers' );
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.136 second using v1.00-cache-2.02-grep-82fe00e-cpan-58dc6251afda )