zeroclickinfo-goodies/t/Uppercase.t

23 lines
451 B
Perl
Raw Normal View History

2012-03-20 16:07:12 -07:00
#!/usr/bin/env perl
use strict;
use warnings;
use Test::More;
use DDG::Test::Goodie;
zci answer_type => 'uppercase';
2012-03-20 16:07:12 -07:00
zci is_cached => 1;
ddg_goodie_test(
[qw(
DDG::Goodie::Uppercase
2012-03-20 16:07:12 -07:00
)],
'upper case this' => test_zci('THIS'),
2012-03-20 16:07:12 -07:00
'uppercase that' => test_zci('THAT'),
'allcaps this string' => test_zci('THIS STRING'),
'that string all caps' => test_zci('THAT STRING'),
'is this uppercase, sir?' => undef,
2012-03-20 16:07:12 -07:00
);
done_testing;