| 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.pl"; |
| 8 | |
| 9 | sub testscip-perl cpan Date-Manip 6.99 main/test(). { |
| 10 | my(@test)=@_scip-perl cpan Date-Manip 6.99 main/`@_`.; |
| 11 | my $obj = new Date::Manip::Delta(@test); |
| 12 | return $obj->errscip-perl cpan Date-Manip 6.99 main/err().(); |
| 13 | } |
| 14 | |
| 15 | my $tests=" |
| 16 | |
| 17 | 0:0:0:0:1:2:3 => __blank__ |
| 18 | |
| 19 | 0:0:0:0:1:2:3 business => __blank__ |
| 20 | |
| 21 | "; |
| 22 | |
| 23 | $::tiscip-perl cpan Date-Manip 6.99 main/`$::ti`.->testsscip-perl cpan Date-Manip 6.99 main/tests().(func => \&testscip-perl cpan Date-Manip 6.99 main/test()., |
| 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: |