]> git.imager.perl.org - imager.git/blob - t/t00basic.t
*** empty log message ***
[imager.git] / t / t00basic.t
1 # Before `make install' is performed this script should be runnable with
2 # `make test'. After `make install' it should work as `perl test.pl'
3
4 ######################### We start with some black magic to print on failure.
5
6 # Change 1..1 below to 1..last_test_to_print .
7 # (It may become useful if the test is moved to ./t subdirectory.)
8
9 BEGIN { $| = 1; print "1..2\n"; }
10 END {print "not ok 1\n" unless $loaded;}
11 use Imager;
12 #use Data::Dumper;
13 $loaded = 1;
14 print "ok 1\n";
15
16 init_log("testout/t00basic.log",1);
17
18 #list_formats();
19
20 #%hsh=%Imager::formats;
21 #print Dumper(\%hsh);
22
23 i_has_format("jpeg") && print "# has jpeg\n";
24 i_has_format("png") && print "# has png\n";
25
26 print "ok 2\n";
27
28 malloc_state();