ICO/t/t21readmult.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/t20readone.t ↑ Summary ICO/t/t40readcurone.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 ICO handler automatically
7 1 ▶my @imgs = Imager->read_multi(file => 'testimg/combo.ico')
Branch: 1 branch
BranchTrueFalseTotal
my(@imgs) = "Imager"->read_multi("file", "testimg/combo.ico") or print "# ", "Imager"->errstr, "\n" 1 0 1
8 or print "# ",Imager->errstr,"\n";
9 1 is(@imgs, 3,
10 "check that icon reader loaded correctly for multiples");
« ICO/t/t20readone.t ↑ Summary ICO/t/t40readcurone.t »