X-Git-Url: https://git.donarmstrong.com/?p=deb_pkgs%2Flibhtml-calendarmonth-perl.git;a=blobdiff_plain;f=t%2F06_cal.t;fp=t%2F06_cal.t;h=b2807a9f5af93fee38cdf5e44c1b3525cb8b5c1c;hp=0000000000000000000000000000000000000000;hb=ed44be48bb467d82127717d1ae2d11890aaf329b;hpb=982e2bb08f00d800e2cd9fb65b108231719c8a65 diff --git a/t/06_cal.t b/t/06_cal.t new file mode 100644 index 0000000..b2807a9 --- /dev/null +++ b/t/06_cal.t @@ -0,0 +1,26 @@ +#!/usr/bin/perl + +use strict; +use FindBin; +use lib $FindBin::RealBin; + +use testload; + +my($test_count, $method); +BEGIN { + $method = 'cal'; + $test_count = bulk_count() + odd_count() + 3; +} + +use Test::More tests => $test_count; + +use constant DTC => 'HTML::CalendarMonth::DateTool'; + +use_ok(DTC); + +SKIP: { + skip("$method not installed", $test_count - 1) unless DTC->_cal_cmd; + check_datetool($method); + check_bulk_with_datetool($method); + check_odd_with_datetool($method); +}