Debian Codegraph @

PerlMagick/t/ps/write.t

raw
1 #!/usr/bin/perl
2 #
3 # Test writing Postscript images
4 #
5 # Contributed by Bob Friesenhahn <[email protected]>
6 #
7 BEGIN { $| = 1; $test=1; print "1..2\n"; }
8 END {print "not ok $test\n" unless $loaded;}
9
10 use Image::Magick;
11 $loaded=1;
12
13 require 't/subroutines.pl';
14
15 chdir 't/ps' || die 'Cd failed';
16
17 #
18 # 1) Test Postscript
19 #
20 testReadWriteNoVerify( 'input.miff',
21 'output.ps',
22 q// );
23 #
24 # 2) Test Encapsulated Postscript
25 #
26 ++$test;
27 testReadWriteNoVerify( 'input.miff',
28 'output.eps',
29 q// );
30