projects
/
sdlgit/SDL_perl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Added CreateRGBSurfaceFrom as an new constructor of SDL::Surface. Need to test it
[sdlgit/SDL_perl.git]
/
t
/
core_surface.t
diff --git
a/t/core_surface.t
b/t/core_surface.t
index
51913df
..
e006f60
100644
(file)
--- a/
t/core_surface.t
+++ b/
t/core_surface.t
@@
-21,6
+21,7
@@
use Test::More tests => 35;
my $surface
= SDL::Surface->new( SDL::SDL_ANYFORMAT(), 640, 320, 8, 0, 0, 0, 0 );
+ #TODO: test SDL::Surface->new_from
isa_ok( $surface, 'SDL::Surface' );
is( $surface->w, 640, 'surface has width' );
is( $surface->h, 320, 'surface has height' );