Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed tests.

  • Loading branch information...
commit 524a48c32d8b0b41c0129ef106cb22ef4e1b8be1 1 parent b874087
@jtpalmer authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 t/model_player.t
View
5 t/model_player.t
@@ -5,7 +5,8 @@ use Test::MockObject;
use Games::Maze::SDL::Model::Player;
can_ok( 'Games::Maze::SDL::Model::Player',
- qw( new x y width height direction velocity max_velocity acceleration maze )
+ qw( new x y width height direction velocity_x velocity_y max_velocity
+ acceleration_x acceleration_y maze )
);
my $maze = Test::MockObject->new();
@@ -17,6 +18,6 @@ my $player = Games::Maze::SDL::Model::Player->new(
height => 24,
);
-is( $player->direction, 'south', 'player_direction is "south"' );
+is( $player->direction, 'south', 'player->direction is "south"' );
done_testing;
Please sign in to comment.
Something went wrong with that request. Please try again.