| 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
| |||||||||||
| 14 | "try filter") | ||||||||||
| 15 | or print "# ", $im->errstr, "\n"; | ||||||||||
| 16 | 1 | ok($im->write(file => '../testout/t00mandel.ppm'), | |||||||||
| 17 | "save result"); | ||||||||||
| 18 | } | ||||||||||