Debian Codegraph @

t/dm5.date_delta_sign.t

raw symbols SCIP
1 #!/usr/bin/perl
2
3 use warningsscip-perl cpan Date-Manip 6.99 warnings/;
4 use strictscip-perl cpan Date-Manip 6.99 strict/;
5 use Test::Interscip-perl cpan Date-Manip 6.99 Test/Inter/;
6 $::tiscip-perl cpan Date-Manip 6.99 main/`$::ti`. = new Test::Inter $0scip-perl cpan Date-Manip 6.99 main/$0.;
7 requirescip-perl cpan Date-Manip 6.99 main/require(). "tests-dm5.pl";
8
9 Date_Initscip-perl cpan Date-Manip 6.99 main/Date_Init().("TZ=EST");
10
11 my $tests="
12
13 2001020304:05:06 '+ 2 hours' => 2001020306:05:06
14
15 2001020304:05:06 '- 2 hours' => 2001020302:05:06
16
17 2001020304:05:06 '+ -2 hours' => 2001020302:05:06
18
19 2001020304:05:06 '- -2 hours' => 2001020306:05:06
20
21 ";
22
23 $::tiscip-perl cpan Date-Manip 6.99 main/`$::ti`.->testsscip-perl cpan Date-Manip 6.99 main/tests().(func => \&DateCalcscip-perl cpan Date-Manip 6.99 main/DateCalc().,
24 tests => $tests);
25 $::tiscip-perl cpan Date-Manip 6.99 main/`$::ti`.->done_testingscip-perl cpan Date-Manip 6.99 main/done_testing().();
26
27 #Local Variables:
28 #mode: cperl
29 #indent-tabs-mode: nil
30 #cperl-indent-level: 3
31 #cperl-continued-statement-offset: 2
32 #cperl-continued-brace-offset: 0
33 #cperl-brace-offset: 0
34 #cperl-brace-imaginary-offset: 0
35 #cperl-label-offset: 0
36 #End: