Fixed the pod path in archive
[sdlgit/SDL_perl.git] / t / smpeg.t
CommitLineData
a677489e 1#!perl
2# basic testing of SDL::SMPEG
3
4BEGIN {
5 unshift @INC, 'blib/lib','blib/arch';
6}
7
8use strict;
9use SDL::Config;
10
11use Test::More;
12
13if ( SDL::Config->has('smpeg') && SDL::Config->has('SDL_mixer') ) {
14 plan ( tests => 2 );
15} else {
16 plan ( skip_all =>
17 ( SDL::Config->has('smpeg') ? '' : ' smpeg support not compiled') .
18 ( SDL::Config->has('SDL_mixer') ? '' : ' SDL_mixer support not compiled') );
19}
20
21use_ok( 'SDL::SMPEG' );
22
23can_ok ('SDL::SMPEG', qw/
24 new
25 error
26 audio
27 video
28 volume
29 display
30 scale
31 play
32 pause
33 stop
34 rewind
35 seek
36 skip
37 loop
38 region
39 frame
40 info
41 status /);
42
43