]> git.imager.perl.org - imager.git/blob - ICO/t/t70icosing.t
he unpack code for ICO/CUR file handling could extend 32-bit unsigned values to 64...
[imager.git] / ICO / t / t70icosing.t
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 # checks that we load the ICO write handler automatically
9
10 my $img = test_image();
11 ok($img->write(file => 'testout/icosing.ico'),
12    "write ico with autoload")
13   or print "# ",$img->errstr,"\n";