3a1da0f9ce69152bc4cbb04e705a3cc664ce0e98
[sdlgit/SDL_perl.git] / t / eventpm.t
1 #!/usr/bin/perl -w
2 #
3 # Copyright (C) 2003 Tels
4 # Copyright (C) 2004 David J. Goehrig
5 #
6 # basic testing of SDL::Event
7
8 BEGIN {
9         unshift @INC, 'blib/lib','blib/arch';
10 }
11
12 use strict;
13
14 use Test::More;
15
16 plan ( tests => 2 );
17
18 use_ok( 'SDL::Event' ); 
19   
20 can_ok ('SDL::Event', qw/
21         new 
22         type 
23         pump 
24         poll 
25         peep
26         wait 
27         set 
28         set_unicode 
29         set_key_repeat
30         active_gain 
31         active_state 
32         key_state 
33         key_sym 
34         key_name 
35         key_mod
36         key_unicode 
37         key_scancode 
38         motion_state
39         motion_x 
40         motion_y 
41         motion_xrel 
42         motion_yrel
43         button 
44         button_state 
45         button_x 
46         button_y 
47         /);
48
49
50