1#!/usr/bin/perl
2
3use warnings;
4use strict;
5use Test::Inter;
6$::ti = new Test::Inter $0;
7require "tests.pl";
8
9our $dmt = new Date::Manip::TZ;
10our $obj = $dmt->base();
11$dmt->config("forcedate","now,America/New_York");
12
13sub test {
14   my(@test)=@_;
15   my @ret = $obj->leapyear(@test);
16   return @ret;
17}
18
19my $tests="
20
211997 => 0
22
231700 => 0
24
252000 => 1
26
271600 => 1
28
29";
30
31$::ti->tests(func  => \&test,
32             tests => $tests);
33$::ti->done_testing();
34
35#Local Variables:
36#mode: cperl
37#indent-tabs-mode: nil
38#cperl-indent-level: 3
39#cperl-continued-statement-offset: 2
40#cperl-continued-brace-offset: 0
41#cperl-brace-offset: 0
42#cperl-brace-imaginary-offset: 0
43#cperl-label-offset: 0
44#End:
45