Debian Codegraph @

PerlMagick/t/mpeg/read.t

raw
1 #!/usr/bin/perl
2 #
3 # Test reading MPEG 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/mpeg' || die 'Cd failed';
16
17 #
18 # Motion Picture Experts Group file interchange format (version 2)
19 #
20 testRead( 'input.m2v',
21 '2e30dd34e6cf2702188059bd8828930f39b1a7746a413f13f6d0dc98b9b0d3a6' );
22
23 #
24 # Motion Picture Experts Group file interchange format
25 #
26 ++$test;
27 testRead( 'input.mpg',
28 'e873cc6cc6eb5b5d11d5ddaaac92c6b86fec09e9721cbaafb8feca8c5be3c12a' );
29
30 1;