| 1 |
#!/usr/bin/perl |
| 2 |
# |
| 3 |
# Test reading WMF files |
| 4 |
# |
| 5 |
# Whenever a new test is added/removed, be sure to update the |
| 6 |
# 1..n output. |
| 7 |
# |
| 8 |
BEGIN { $| = 1; $test=1; print "1..2\n"; } |
| 9 |
END {print "not ok $test\n" unless $loaded;} |
| 10 |
use Image::Magick; |
| 11 |
$loaded=1; |
| 12 |
|
| 13 |
require 't/subroutines.pl'; |
| 14 |
|
| 15 |
chdir 't/wmf' || die 'Cd failed'; |
| 16 |
|
| 17 |
testReadCompare('wizard.wmf', '../reference/wmf/wizard.gif', q//, 0.01, 1.0); |
| 18 |
++$test; |
| 19 |
testReadCompare('clock.wmf', '../reference/wmf/clock.gif', q//, 0.01, 1.0); |
| 20 |
|