]> git.vpit.fr Git - perl/modules/IPC-MorseSignals.git/blob - t/12-unicode.t
Importing IPC-MorseSignals-0.07.tar.gz
[perl/modules/IPC-MorseSignals.git] / t / 12-unicode.t
1 #!perl -T
2
3 use strict;
4 use warnings;
5
6 use Test::More tests => 7;
7
8 use utf8;
9
10 use lib 't/lib';
11 use IPCMTest qw/try init cleanup/;
12
13 init 1;
14
15 ok(try('hello'), 'ascii');
16 ok(try("\0" x 5), 'few bits');
17 ok(try("\x{FF}" x 5), 'lots of bits');
18 ok(try("a\0b"), 'null character');
19 ok(try('éàùçà'), 'extended');
20 ok(try('€€€'), 'unicode');
21 ok(try('à€béd'), 'mixed');
22
23 cleanup;