use Test::More;
use SDL::Rect;
-plan ( tests => 9 );
+plan ( tests => 10 );
use_ok( 'SDL::Video' );
video_mode_ok
update_rect
update_rects
+ flip
/);
#testing get_video_surface
#TODO: Write to surface and check inf pixel in that area got updated.
SDL::Video::update_rects($display, SDL::Rect->new(0, 10, 20, 20));
+is( (SDL::Video::flip($display) == 0 || -1), 1, '[flip] returns 0 or -1' );
+
pass "Are we still alive?";
=skip
- video_mode_ok
+ get_video_surface
+ get_video_info
+ video_driver_name
+ list_modes
set_video_mode
+ video_mode_ok
update_rect
update_rects
flip