projects
/
sdlgit/SDL_perl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'patch'
[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
wait
26
set
27
set_unicode
28
set_key_repeat
29
active_gain
30
active_state
31
key_state
32
key_sym
33
key_name
34
key_mod
35
key_unicode
36
key_scancode
37
motion_state
38
motion_x
39
motion_y
40
motion_xrel
41
motion_yrel
42
button
43
button_state
44
button_x
45
button_y /);
46
47
48