zeroclickinfo-goodies/t/Morse.t

22 lines
403 B
Perl
Raw Normal View History

2012-05-28 13:02:54 -07:00
#!/usr/bin/env perl
use strict;
use warnings;
use utf8;
use Test::More;
use DDG::Test::Goodie;
zci answer_type => 'chars';
zci is_cached => 1;
ddg_goodie_test(
[qw(
DDG::Goodie::Morse
)],
'morse ... --- ...' => test_zci('Morse: SOS'),
'morse hello, duck' =>
test_zci('Morse: .... . .-.. .-.. --- --..-- -.. ..- -.-. -.-'),
);
done_testing;