]> git.donarmstrong.com Git - deb_pkgs/libhtml-calendarmonth-perl.git/blobdiff - 1.25/t/05_datecalc.t
[svn-upgrade] Tagging libhtml-calendarmonth-perl (1.25)
[deb_pkgs/libhtml-calendarmonth-perl.git] / 1.25 / t / 05_datecalc.t
diff --git a/1.25/t/05_datecalc.t b/1.25/t/05_datecalc.t
new file mode 100755 (executable)
index 0000000..c4e3ca9
--- /dev/null
@@ -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);
+}