Commit | Line | Data |
---|---|---|
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::Cdrom | |
7 | ||
8 | BEGIN { | |
9 | unshift @INC, 'blib/lib','blib/arch'; | |
10 | } | |
11 | ||
12 | use strict; | |
13 | ||
14 | use Test::More; | |
15 | ||
16 | plan ( tests => 3 ); | |
17 | ||
18 | use_ok( 'SDL::Cdrom' ); | |
19 | ||
20 | can_ok ('main', qw/ CD_NUM_DRIVES /); | |
21 | ||
22 | can_ok ('SDL::Cdrom', qw/ | |
23 | new | |
24 | name | |
25 | status | |
26 | play | |
27 | pause | |
28 | resume | |
29 | stop | |
30 | eject | |
31 | id | |
32 | num_tracks | |
33 | track | |
34 | current | |
35 | current_frame /); |