Added tests for Base64, Dice, EmToPx, FlipText, GoldenRatio, Guid, Periemeter, Roman, SigFigs, TitleCase, Unicode
2012-04-15 16:17:12 -07:00
|
|
|
#!/usr/bin/env perl
|
|
|
|
|
|
|
|
use strict;
|
|
|
|
use warnings;
|
2014-02-10 13:24:52 -08:00
|
|
|
use utf8;
|
Added tests for Base64, Dice, EmToPx, FlipText, GoldenRatio, Guid, Periemeter, Roman, SigFigs, TitleCase, Unicode
2012-04-15 16:17:12 -07:00
|
|
|
use Test::More;
|
|
|
|
use DDG::Test::Goodie;
|
|
|
|
|
|
|
|
zci answer_type => 'flip_text';
|
|
|
|
zci is_cached => 1;
|
|
|
|
|
|
|
|
ddg_goodie_test(
|
|
|
|
[qw(
|
|
|
|
DDG::Goodie::FlipText
|
|
|
|
)],
|
2012-05-16 18:19:19 -07:00
|
|
|
'flip test' => test_zci("\x{0287}\x{0073}\x{01DD}\x{0287}"),
|
|
|
|
'mirror test' => test_zci("\x{0287}\x{0073}\x{01DD}\x{0287}"),
|
2014-02-10 13:24:52 -08:00
|
|
|
'flip my sentence' => test_zci('ǝɔuǝʇuǝs ʎɯ'),
|
|
|
|
'mirror text' => test_zci('ʇxǝʇ'),
|
Added tests for Base64, Dice, EmToPx, FlipText, GoldenRatio, Guid, Periemeter, Roman, SigFigs, TitleCase, Unicode
2012-04-15 16:17:12 -07:00
|
|
|
);
|
|
|
|
|
|
|
|
done_testing;
|