1 #!/usr/bin/perl 2 # 3 # Test writing Radiance file format 4 # 5 # Currently supported tests are for formats that ImageMagick 6 # knows how to both read and write. 7 # 8 # Whenever a new test is added/removed, be sure to update the 9 # 1..n ouput. 10 11 BEGIN { $| = 1; $test=1; print "1..1\n"; } 12 END {print "not ok $test\n" unless $loaded;} 13 use Image::Magick; 14 $loaded=1; 15 16 require 't/subroutines.pl'; 17 18 chdir 't/rad' || die 'Cd failed'; 19 20 testReadWrite( 'RAD:input.rad', 21 'MIFF:output.rad', 22 q//, 23 '5927b5f4dcf084e5f5fd841df8e4dfb40e4fe637419d022fc6a0b52f02600881'); 24 25 1; 26