ICO/t/t71icomult.t
raw| 1 | #!perl -w |
| 2 | use strict; |
| 3 | use Test::More tests => 1; |
| 4 | use Imager; |
| 5 | use Imager::Test qw(test_image); |
| 6 | |
| 7 | -d "testout" or mkdir "testout"; |
| 8 | |
| 9 | # checks that we load the ICO write handler automatically |
| 10 | my $img = test_image(); |
| 11 | ok(Imager->write_multi({ file => 'testout/icomult.ico' }, $img, $img), |
| 12 | "write_multi ico with autoload") |
| 13 | or print "# ",Imager->errstr,"\n"; |