updated t/Hijri.t

master
Dylan Lloyd 2013-04-06 18:34:22 -04:00
parent 2b254eaf76
commit 9d2e582238
1 changed files with 18 additions and 3 deletions

View File

@ -13,9 +13,24 @@ ddg_goodie_test(
[qw(
DDG::Goodie::Hijri
)],
'22/8/2003 on the gregorian calendar is on the hijri calendar' => test_zci('23/6/1424'),
'23/6/1424 in hijri time is in gregorian time' => test_zci('22/8/2003'),
'22,8,2003 in gregorian date is in hijri date' => test_zci('23/6/1424'),
'22/8/2003 to hijri' => test_zci(
'22/8/2003 on the '
. '<a href = "https://en.wikipedia.org/wiki/Gregorian_calendar">Gregorian calendar</a> '
. 'is 23/6/1424 on the '
. '<a href="https://en.wikipedia.org/wiki/Hijri_calendar">Hijri calendar</a>'
),
'22,8,2003 to hijri' => test_zci(
'22/8/2003 on the '
. '<a href = "https://en.wikipedia.org/wiki/Gregorian_calendar">Gregorian calendar</a> '
. 'is 23/6/1424 on the '
. '<a href="https://en.wikipedia.org/wiki/Hijri_calendar">Hijri calendar</a>'
),
'23/6/1424 to gregorian years' => test_zci(
'23/6/1424 on the '
. '<a href="https://en.wikipedia.org/wiki/Hijri_calendar">Hijri calendar</a> '
. 'is 22/8/2003 on the '
. '<a href = "https://en.wikipedia.org/wiki/Gregorian_calendar">Gregorian calendar</a>'
),
);
done_testing;