Added test file

master
Matt Lehning 2013-02-26 17:06:41 -05:00
parent 3a9f2dd8a3
commit 0bc9c00745
1 changed files with 4 additions and 2 deletions

View File

@ -4,7 +4,7 @@ use strict;
use warnings;
use Test::More;
use DDG::Test::Goodie;
use Date:hijri;
use Date::Hijri;
zci answer_type => 'date';
zci is_cached => 0;
@ -13,7 +13,9 @@ ddg_goodie_test(
[qw(
DDG::Goodie::Hijri
)],
'flip a coin' => test_zci(qr/(heads|tails) \(random\)/),
'22/8/2003 to hijri date' => test_zci('23/6/1424'),
'23/6/1424 to gregorian years' => test_zci('22/8/2003'),
'22,8,2003 to hijri' => test_zci('23/6/1424'),
);
done_testing;