Skip to content
Browse files

isa for rect test

  • Loading branch information...
1 parent fa482ad commit ed52cc43977257ffd56e9655ae01e5d6a0422bc9 @kthakore kthakore committed Mar 5, 2013
Showing with 6 additions and 1 deletion.
  1. +6 −1 t/101_sdl2_rect.t
View
7 t/101_sdl2_rect.t
@@ -10,7 +10,12 @@ BEGIN {
use SDL2::Rect;
ok( exists &SDL2::Rect::new, 'new exists');
+
+my $rect = SDL2::Rect->new(0,0,0,0);
+
+isa_ok($rect, 'SDL2::Rect', 'new makes an SDL2::Rect');
+
ok 1, 'success 1';
ok 1, 'success 2';
-done_testing();
+done_testing();

0 comments on commit ed52cc4

Please sign in to comment.
Something went wrong with that request. Please try again.