zeroclickinfo-goodies/t/Unidecode.t

23 lines
379 B
Perl
Raw Normal View History

2012-04-15 12:41:23 -07:00
#!/usr/bin/env perl
use utf8;
use strict;
use warnings;
use Test::More;
use DDG::Test::Goodie;
zci answer_type => 'convert_to_ascii';
2012-04-15 12:41:23 -07:00
zci is_cached => 1;
ddg_goodie_test(
[qw(
DDG::Goodie::Unidecode
)],
'unidecode møæp' => test_zci('moaep'),
"unidecode \x{5317}\x{4EB0}" => test_zci('Bei Jing'),
'unidecode å亰' => test_zci('aaodeg'),
2012-04-15 12:41:23 -07:00
);
done_testing;