zeroclickinfo-goodies/t/UltimateAnswer.t

24 lines
421 B
Perl
Raw Normal View History

#!/usr/bin/evn perl
use strict;
use warnings;
use Test::More;
use DDG::Test::Goodie;
zci answer_type => "UltimateAnswer";
ddg_goodie_test(
[
'DDG::Goodie::UltimateAnswer'
],
'what is the ultimate answer to life the universe and everything'=>
test_zci(
'Forty-two'
),
'what is the answer to my homework question' => undef,
'why?' => undef,
);
done_testing;