3 use Test::More tests => 6;
5 BEGIN { use_ok('PLP') }
7 PLP::Functions->import();
10 Entity(q{<a test="'&'"/>}),
11 "<a test="'&'"/>",
16 Entity(" . . . .\t. \n"),
17 " . . . . . <br>\n",
22 EncodeURI("/test.plp?f00=~_a&b!\n "),
23 '/test.plp?f00%3d~_a%26b!%0a%20',
28 DecodeURI('?f0%30+%20b%61r!'),
34 DecodeURI('%0A%0a%a %000 %fg%%fF'."\377"),
35 "\n\n%a \0000 %fg%\377\377",