String-Dirify

 view release on metacpan or  search on metacpan

t/import.t  view on Meta::CPAN

use Test::More tests => 4;
use String::Dirify ':all';

ok(dirify("\xc0\xe0\xdf\xff\xd4")     eq 'aassyo', 'Test 1: High ASCII chars');
ok(dirify('!Q@W#E$R%T^Y')             eq 'qwerty', 'Test 2: Punctuation');
ok(dirify('<html>html&amp;ok</html>') eq 'htmlok', 'Test 3: HTML');
ok(dirify('<![CDATA[x]]>')            eq 'cdatax', 'Test 4: CDATA');



( run in 1.850 second using v1.01-cache-2.11-cpan-2398b32b56e )