Acme-Umlautify
view release on metacpan or search on metacpan
t/02_method.t view on Meta::CPAN
use Acme::Umlautify;
use Test::Simple tests => 3;
use utf8;
use strict;
ok(umlautify('This is a test of the emergency umlaut system!') eq 'TÌhÌiÌsÌ iÌsÌ aÌ tÌeÌsÌtÌ oÌfÌ tÌhÌeÌ eÌmÌeÌrÌgÌeÌnÌcÌyÌ uÌmÌlÌaÌuÌtÌ sÌyÌsÌtÌeÌmÌ!Ì', 'String comparison');
my @array = umlautify(qw/foo bar baz/);
my $test = join ':', @array;
ok(scalar(@array) == 3, 'Array count');
ok($test eq 'fÌoÌoÌ:bÌaÌrÌ:bÌaÌzÌ', 'Array test');
( run in 1.280 second using v1.01-cache-2.11-cpan-39bf76dae61 )