PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/t_backcompat/soundpm.t

http://github.com/PerlGameDev/SDL
Perl | 54 lines | 15 code | 7 blank | 32 comment | 0 complexity | 660126dbd41b4a90a89202c8cc25fe26 MD5 | raw file
 1#!/usr/bin/perl -w
 2#
 3# Copyright (C) 2003 Tels
 4# Copyright (C) 2004 David J. Goehrig
 5#
 6# Copyright (C) 2005 David J. Goehrig <dgoehrig\@cpan.org>
 7#
 8# ------------------------------------------------------------------------------
 9#
10# This library is free software; you can redistribute it and/or
11# modify it under the terms of the GNU Lesser General Public
12# License as published by the Free Software Foundation; either
13# version 2.1 of the License, or (at your option) any later version.
14#
15# This library is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18# Lesser General Public License for more details.
19#
20# You should have received a copy of the GNU Lesser General Public
21# License along with this library; if not, write to the Free Software
22# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
23#
24# ------------------------------------------------------------------------------
25#
26# Please feel free to send questions, suggestions or improvements to:
27#
28#	David J. Goehrig
29#	dgoehrig\@cpan.org
30#
31#
32# basic testing of SDL::Sound
33
34BEGIN {
35	unshift @INC, 'blib/lib', 'blib/arch';
36}
37
38use strict;
39use SDL::Config;
40
41use Test::More;
42
43plan( tests => 2 );
44
45use_ok('SDL::Sound');
46
47can_ok(
48	'SDL::Sound', qw/
49		new
50		volume
51		/
52);
53
54sleep(2);