ICO/t/t40readcurone.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/t21readmult.t ↑ Summary ICO/t/t41curmultread.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
7 1 my $im = Imager->new;
8 1 ▶ok($im->read(file => 'testimg/pal43232.cur'),
Branch: 1 branch
BranchTrueFalseTotal
&ok(scalar $im->read("file", "testimg/pal43232.cur"), "check that cursor reader loaded correctly for singles") or print "# ", $im->errstr, "\n" 1 0 1
9 "check that cursor reader loaded correctly for singles")
10 or print "# ", $im->errstr, "\n";
« ICO/t/t21readmult.t ↑ Summary ICO/t/t41curmultread.t »