zeroclickinfo-goodies/t/CurrencyIn.t

21 lines
811 B
Perl
Raw Normal View History

2012-04-21 14:19:24 -07:00
#!/usr/bin/env perl
use strict;
use warnings;
use Test::More;
use DDG::Test::Goodie;
zci answer_type => 'currency_in';
zci is_cached => 1;
ddg_goodie_test(
[qw(
DDG::Goodie::CurrencyIn
)],
2012-04-23 13:12:31 -07:00
'currency in australia' => test_zci('The currency in Australia is the Australian dollar (AUD)', html => 'The currency in Australia is the Australian dollar (AUD)'),
'currency in AU' => test_zci('The currency in Australia is the Australian dollar (AUD)', html => 'The currency in Australia is the Australian dollar (AUD)'),
'currency In Alderney' => test_zci("Currencies in Alderney are: \nAlderney pound\nBritish pound (GBP)\nGuernsey pound", html => "Currencies in Alderney are: <br/>Alderney pound<br/>British pound (GBP)<br/>Guernsey pound")
2012-04-21 14:19:24 -07:00
);
done_testing;