Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 54 lines (46 sloc) 1.486 kb
8fde61e @kthakore First commit of SDL_Perl-2.1.3
kthakore authored
1 #!/usr/bin/perl -w
2 #
3 # Copyright (C) 2003 Tels
4 # Copyright (C) 2004 David J. Goehrig
7b6a53a @kthakore Applied patch ready for merge
kthakore authored
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.
e6e146e @kthakore Did perl tidy. Stole rc from padre. bricas++
kthakore authored
14 #
7b6a53a @kthakore Applied patch ready for merge
kthakore authored
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.
e6e146e @kthakore Did perl tidy. Stole rc from padre. bricas++
kthakore authored
19 #
7b6a53a @kthakore Applied patch ready for merge
kthakore authored
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 #
8fde61e @kthakore First commit of SDL_Perl-2.1.3
kthakore authored
32 # basic testing of SDL::Font
33
34 BEGIN {
4979eb1 @jtpalmer perltidy
jtpalmer authored
35 unshift @INC, 'blib/lib', 'blib/arch';
8fde61e @kthakore First commit of SDL_Perl-2.1.3
kthakore authored
36 }
37
38 use strict;
39 use SDL::Config;
40
41 use Test::More;
42
43 if ( SDL::Config->has('SDL_image') ) {
4979eb1 @jtpalmer perltidy
jtpalmer authored
44 plan( tests => 2 );
45 } else {
46 plan( skip_all => 'SDL_image support not compiled' );
e6e146e @kthakore Did perl tidy. Stole rc from padre. bricas++
kthakore authored
47 }
48
49 use_ok('SDL::Font');
8fde61e @kthakore First commit of SDL_Perl-2.1.3
kthakore authored
50
e6e146e @kthakore Did perl tidy. Stole rc from padre. bricas++
kthakore authored
51 can_ok( 'SDL::Font', qw/ new use / );
8fde61e @kthakore First commit of SDL_Perl-2.1.3
kthakore authored
52
fc90dcd @m4gnet time to sleep(2);
m4gnet authored
53 sleep(2);
Something went wrong with that request. Please try again.