Skip to content

Commit

Permalink
update unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Nisarg236 committed Dec 25, 2024
1 parent 1eac1c9 commit e47bca8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions costmap_2d/test/footprint_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ TEST( Costmap2DROS, padded_footprint_from_string_param )
EXPECT_EQ( 3, footprint.size() );

EXPECT_EQ( 1.66667f, footprint[0].x );
EXPECT_EQ( 1.66667f, footprint[0].y );
EXPECT_EQ( 1.33333f, footprint[0].y );
EXPECT_EQ( 0.0f, footprint[0].z );

EXPECT_EQ( -1.66667f, footprint[1].x );
EXPECT_EQ( 1.66667f, footprint[1].y );
EXPECT_EQ( -1.33333f, footprint[1].x );
EXPECT_EQ( 1.33333f, footprint[1].y );
EXPECT_EQ( 0.0f, footprint[1].z );

EXPECT_EQ( -1.66667f, footprint[2].x );
EXPECT_EQ( -1.33333f, footprint[2].x );
EXPECT_EQ( -1.66667f, footprint[2].y );
EXPECT_EQ( 0.0f, footprint[2].z );
}
Expand Down

0 comments on commit e47bca8

Please sign in to comment.