21 lines
462 B
Perl
21 lines
462 B
Perl
#!/usr/bin/env perl
|
|
|
|
use strict;
|
|
use warnings;
|
|
use Test::More;
|
|
use DDG::Test::Goodie;
|
|
|
|
zci answer_type => "is_awesome_ymzong";
|
|
zci is_cached => 1;
|
|
|
|
ddg_goodie_test(
|
|
[qw( DDG::Goodie::IsAwesome::ymzong )],
|
|
'duckduckhack ymzong' => test_zci('ymzong is awesome and has successfully completed the DuckDuckHack Goodie tutorial!'),
|
|
|
|
'duckduckhack ymzong is awesome' => undef,
|
|
'bad example query' => undef,
|
|
'duckduckgo' => undef
|
|
);
|
|
|
|
done_testing;
|