zeroclickinfo-goodies/t/Hijri.t

22 lines
378 B
Perl
Raw Normal View History

#!/usr/bin/env perl
use strict;
use warnings;
use Test::More;
use DDG::Test::Goodie;
2013-02-26 14:06:41 -08:00
use Date::Hijri;
zci answer_type => 'date';
zci is_cached => 0;
ddg_goodie_test(
[qw(
DDG::Goodie::Hijri
)],
2013-02-26 14:06:41 -08:00
'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;