6 use Test::More tests => 7;
11 use IPC::MorseSignals::TestSuite qw/try init cleanup/;
14 my ($desc, @args) = @_;
15 eval { ok(try(@args), $desc) };
16 fail($desc . " (died : $@)") if $@;
21 test 'ascii' => 'hello';
22 test 'few bits' => "\0" x 5;
23 test 'lots of bits' => "\x{FF}" x 5;
24 test 'null character' => "a\0b";
25 test 'extended' => 'éàùçà';
26 test 'unicode' => '€€€';
27 test 'mixed' => 'à€béd';