3 unless ("A" eq pack('U', 0x41)) {
4 print "1..0 # Unicode::Normalize " .
5 "cannot stringify a Unicode code point\n";
11 if ($ENV{PERL_CORE}) {
13 @INC = $^O eq 'MacOS' ? qw(::lib) : qw(../lib);
17 #########################
22 use Unicode::Normalize qw(:all);
27 # if $_ is not NULL-terminated, test may fail.
30 print /c$/ ? "ok" : "not ok", " 2\n";
32 $_ = decompose('abc');
33 print /c$/ ? "ok" : "not ok", " 3\n";
36 print /c$/ ? "ok" : "not ok", " 4\n";
39 print /c$/ ? "ok" : "not ok", " 5\n";
42 print /c$/ ? "ok" : "not ok", " 6\n";
45 print /c$/ ? "ok" : "not ok", " 7\n";
48 print /c$/ ? "ok" : "not ok", " 8\n";