Removed insane XS for SDL::get_video_info. Added tests for it in core_video.t
[sdlgit/SDL_perl.git] / t / core_video.t
index fe3d5d7..52b4d0b 100644 (file)
@@ -5,7 +5,7 @@ use SDL::Config;
 
 use Test::More;
 
-plan ( tests => 2 );
+plan ( tests => 4 );
 
 use_ok( 'SDL::Video' ); 
   
@@ -21,6 +21,8 @@ my $display = SDL::SetVideoMode(640,480,32, SDL_SWSURFACE );
 
 isa_ok(SDL::Video::get_video_surface(), 'SDL::Surface', 'Checking if we get a surface ref back'); 
 
+isa_ok(SDL::Video::get_video_info(), 'SDL::VideoInfo', 'Checking if we get videoinfo ref back');
+
 =skip
        video_driver_name
        list_modes