]> git.donarmstrong.com Git - deb_pkgs/libhtml-calendarmonth-perl.git/blobdiff - t/05_datecalc.t
New upstream release
[deb_pkgs/libhtml-calendarmonth-perl.git] / t / 05_datecalc.t
index cdfa55cadea16abf6a8e46822196e1106f89da95..c4e3ca939e5d5395582d175d28e9ebfe1a8fee7d 100755 (executable)
@@ -1,21 +1,24 @@
 #!/usr/bin/perl
 
 use strict;
-
-my($test_count, $method);
-BEGIN { $test_count = 19 ; $method = 'Date::Calc' }
-
-use Test::More tests => $test_count;
-
 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_basic_with_datetool($method);
+  check_bulk_with_datetool($method);
+  check_odd_with_datetool($method);
   check_woy_with_datetool($method);
 }