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::Palette | |
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::Palette' ); | |
19 | ||
20 | can_ok ('SDL::Palette', qw/ | |
21 | new | |
22 | size | |
23 | red | |
24 | green | |
25 | blue | |
26 | color /); | |
27 |