Mandelbrot/t/t00mandel.t

filter: Statementstmt 100% 27 / 27 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 8 / 8 Podpod n/a totaltotal 97.3% 36 / 37 CC 1 SCAR 0.0
CC
1
Cov
97%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« SGI/t/30limit.t ↑ Summary CountColor/t/t00countcolor.t »
1 #!perl -w
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use blib;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use lib '../t';
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use Imager;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use Test::More tests => 3;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 ▶BEGIN { use_ok('Imager::Filter::Mandelbrot') }
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 my $im = Imager->new(xsize=>100, ysize=>100);
11 SKIP:
12 {
13 1 ▶ ok($im->filter(type=>'mandelbrot'),
Branch: 1 branch
BranchTrueFalseTotal
&ok(scalar $im->filter("type", "mandelbrot"), "try filter") or print "# ", $im->errstr, "\n" 1 0 1
14 "try filter")
15 or print "# ", $im->errstr, "\n";
16 1 ok($im->write(file => '../testout/t00mandel.ppm'),
17 "save result");
18 }
« SGI/t/30limit.t ↑ Summary CountColor/t/t00countcolor.t »