5 use Test::More tests => 3;
7 BEGIN { use_ok('Imager::Filter::Flines') }
9 my $im = Imager->new(xsize=>150, ysize=>150);
11 $im->box(filled=>1, xmin => 70, ymin=>25, xmax =>130, ymax => 125,
13 $im->box(filled=>1, xmin=>20, ymin=>25, xmax=>80, ymax=>125,
15 $im->arc(x =>75, y=>75, r=>30, color => 'FF0000');
16 $im->filter(type=>"conv", coef => [0.1, 0.2, 0.4, 0.2, 0.1]);
18 ok($im->filter(type=>'flines'),
20 or print "# ", $im->errstr, "\n";
21 ok($im->write(file => '../testout/t00flines.ppm'),