projects
/
sdlgit/SDL_perl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Using new Rect with v2.2.2.11. Had to change getClipRect paramters.
[sdlgit/SDL_perl.git]
/
t
/
rectpm.t
diff --git
a/t/rectpm.t
b/t/rectpm.t
index
58a183e
..
2414ec2
100644
(file)
--- a/
t/rectpm.t
+++ b/
t/rectpm.t
@@
-58,7
+58,7
@@
can_ok ('SDL::Rect', qw/
my $rect = SDL::Rect->new();
# creating with defaults
-is (ref($rect),'SDL::Rect','new went ok');
+isa_ok ($rect,'SDL::Rect');
is ($rect->x(), 0, 'x is 0');
is ($rect->y(), 0, 'y is 0');
is ($rect->top(), 0, 'top is 0');