ICO/t/t41curmultread.t

filter: Statementstmt 100% 14 / 14 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 95.0% 19 / 20 CC 1 SCAR 0.0
CC
1
Cov
94%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« ICO/t/t40readcurone.t ↑ Summary SGI/t/30limit.t »
1 #!perl -w
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use Test::More tests => 1;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use Imager;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 # checks that we load the CUR handler automatically for multiple image reads
7 1 my @im = Imager->read_multi(file=>'testimg/pal43232.cur');
8 1 ▶is(scalar(@im), 1,
Branch: 1 branch
BranchTrueFalseTotal
&is(scalar @im, 1, "check that cursor reader loaded correctly for singles") or print "# ", "Imager"->errstr, "\n" 1 0 1
9 "check that cursor reader loaded correctly for singles")
10 or print "# ", Imager->errstr, "\n";
« ICO/t/t40readcurone.t ↑ Summary SGI/t/30limit.t »