zeroclickinfo-goodies/t/FindAnagrams.t

23 lines
504 B
Perl
Raw Normal View History

2012-10-29 12:29:01 -07:00
#!/usr/bin/env perl
use strict;
use warnings;
use Test::More;
use DDG::Test::Goodie;
2012-10-29 13:13:41 -07:00
zci answer_type => 'findanagrams';
zci is_cached => 1;
2012-10-29 12:29:01 -07:00
ddg_goodie_test(
[qw(DDG::Goodie::FindAnagrams)],
"anagrams stop" => test_zci("Post, opts, post, pots, spot, tops"),
"anagram stop" => test_zci("Post, opts, post, pots, spot, tops"),
"anagrams lost" => test_zci("lots, slot"),
"anagram lost" => test_zci("lots, slot"),
"anagram of lost" => test_zci("lots, slot"),
2012-10-29 12:29:01 -07:00
);
done_testing;