zeroclickinfo-goodies/t/PigLatin.t

20 lines
372 B
Perl
Raw Normal View History

2012-06-26 11:31:51 -07:00
#!/usr/bin/env perl
use strict;
use warnings;
use Test::More;
use DDG::Test::Goodie;
2012-07-05 17:20:02 -07:00
zci answer_type => 'translation';
2012-06-26 11:31:51 -07:00
zci is_cached => 1;
ddg_goodie_test(
[qw(
2012-07-05 17:20:02 -07:00
DDG::Goodie::PigLatin
2012-06-26 11:31:51 -07:00
)],
'pig latin will this work?' => test_zci('Pig Latin: illway isthay orkway?'),
'piglatin i love duckduckgo' => test_zci('Pig Latin: iway ovelay uckduckgoday'),
);
done_testing;