ICO/t/t72cursing.t

filter: Statementstmt 100% 18 / 18 Branchbran 50.0% 2 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 92.5% 25 / 27 CC 1 SCAR 0.0
CC
1
Cov
91%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« ICO/t/t71icomult.t ↑ Summary ICO/t/t73curmult.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 1 ▶use Imager::Test qw(test_image);
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 ▶-d "testout" or mkdir "testout";
Branch: 1 branch
BranchTrueFalseTotal
-d "testout" or mkdir "testout" 1 0 1
8  
9 # checks that we load the CUR write handler automatically
10 1 my $img = test_image();
11 1 ▶ok($img->write(file => 'testout/cursing.cur'),
Branch: 1 branch
BranchTrueFalseTotal
&ok(scalar $img->write("file", "testout/cursing.cur"), "write cur with autoload") or print "# ", $img->errstr, "\n" 1 0 1
12 "write cur with autoload")
13 or print "# ",$img->errstr,"\n";
« ICO/t/t71icomult.t ↑ Summary ICO/t/t73curmult.t »