First commit of SDL_Perl-2.1.3
[sdlgit/SDL_perl.git] / t / videopm.t
CommitLineData
8fde61e3 1#!/usr/bin/perl -w
2#
3# Copyright (C) 2003 Tels
4# Copyright (C) 2004 David J. Goehrig
5#
6# basic testing of SDL::VIDEO
7
8BEGIN {
9 unshift @INC, 'blib/lib','blib/arch';
10}
11
12use strict;
13use SDL::Config;
14
15use Test::More;
16
17if ( SDL::Config->has('smpeg') && SDL::Config->has('SDL_mixer') ) {
18 plan ( tests => 2 );
19} else {
20 plan ( skip_all =>
21 ( SDL::Config->has('smpeg') ? '' : ' smpeg support not compiled') .
22 ( SDL::Config->has('SDL_mixer') ? '' : ' SDL_mixer support not compiled') );
23}
24
25use_ok( 'SDL::Video' );
26
27can_ok ('SDL::Video', qw/
28 new
29 error
30 audio
31 video
32 volume
33 display
34 scale
35 play
36 pause
37 stop
38 rewind
39 seek
40 skip
41 loop
42 region
43 frame
44 info
45 status /);
46
47