]> git.imager.perl.org - imager.git/blame - DynTest/t/t00dyntest.t
- prevent a cast to integer warning on x64 builds in datatypes.c
[imager.git] / DynTest / t / t00dyntest.t
CommitLineData
92bda632
TC
1#!perl -w
2use strict;
3use blib;
92bda632
TC
4use Imager;
5use Test::More tests => 4;
6
7BEGIN { use_ok('Imager::Filter::DynTest') }
8
9my $im = Imager->new;
10SKIP:
11{
12 ok($im->read(file => '../testout/t104.ppm'), "load source image")
13 or skip("couldn't load work image", 2);
14 ok($im->filter(type=>'lin_stretch', a => 50, b => 200),
15 "try filter")
16 or print "# ", $im->errstr, "\n";
17 ok($im->write(file => '../testout/t00dyntest.ppm'),
18 "save result");
19}