6 use Test::More tests => 4;
9 use IPC::MorseSignals::TestSuite qw/try init cleanup/;
12 my ($desc, @args) = @_;
13 eval { ok(try(@args), $desc) };
14 fail($desc . " (died : $@)") if $@;
19 test 'ascii' => 'hello';
20 test 'few bits' => "\0" x 5;
21 test 'lots of bits' => "\x{FF}" x 5;
22 test 'null character' => "a\0b";