X-Git-Url: https://git.donarmstrong.com/?p=deb_pkgs%2Flibhtml-calendarmonth-perl.git;a=blobdiff_plain;f=1.25%2Ft%2F05_datecalc.t;fp=1.25%2Ft%2F05_datecalc.t;h=c4e3ca939e5d5395582d175d28e9ebfe1a8fee7d;hp=0000000000000000000000000000000000000000;hb=1a48ee7ffa0db08c3c5af68b365ee274acbd485d;hpb=2a7fc55a2e563096c7348a2f6272a16830561513 diff --git a/1.25/t/05_datecalc.t b/1.25/t/05_datecalc.t new file mode 100755 index 0000000..c4e3ca9 --- /dev/null +++ b/1.25/t/05_datecalc.t @@ -0,0 +1,24 @@ +#!/usr/bin/perl + +use strict; +use FindBin; +use lib $FindBin::RealBin; + +use testload; + +my($test_count, $method); +BEGIN { + $method = 'Date::Calc'; + $test_count = bulk_count() + odd_count() + woy_count() + 2; +} + +use Test::More tests => $test_count; + +SKIP: { + eval "use $method"; + skip("$method not installed", $test_count) if $@; + check_datetool($method); + check_bulk_with_datetool($method); + check_odd_with_datetool($method); + check_woy_with_datetool($method); +}