8 use Test::More tests => 5;
11 use IPC::MorseSignals::TestSuite qw/try init cleanup/;
13 *IPC::MorseSignals::TestSuite::diag = *Test::More::diag;
16 my ($desc, @args) = @_;
17 my ($res, $speed, $len);
19 ($res, $speed, $len) = try(@args);
21 fail($desc . " (died : $@)") if $@;
22 ok($res, $desc . ' (' . $len . ' bits @ ' . $speed . ' bauds)');
25 my @msgs = qw/€éèë 月語 x tata たTÂ/;
30 test 'utf8 ' . $_ => $msgs[$_-1];