@@ -268,7 +268,7 @@ TEST_F(TestNode, testDifferentInflationLayers) {
268268 nav2_costmap_2d::Costmap2D * costmap = layers.getCostmap ();
269269
270270 ASSERT_EQ (countValues (*costmap, nav2_costmap_2d::LETHAL_OBSTACLE), 21 );
271- ASSERT_EQ (countValues (*costmap, nav2_costmap_2d::INSCRIBED_INFLATED_OBSTACLE), 4 );
271+ ASSERT_EQ (countValues (*costmap, nav2_costmap_2d::INSCRIBED_INFLATED_OBSTACLE), 77 );
272272}
273273
274274TEST_F (TestNode, testDifferentInflationLayers2) {
@@ -317,7 +317,7 @@ TEST_F(TestNode, testDifferentInflationLayers2) {
317317 nav2_costmap_2d::Costmap2D * costmap = layers.getCostmap ();
318318
319319 ASSERT_EQ (countValues (*costmap, nav2_costmap_2d::LETHAL_OBSTACLE), 21 );
320- ASSERT_EQ (countValues (*costmap, nav2_costmap_2d::INSCRIBED_INFLATED_OBSTACLE), 28 );
320+ ASSERT_EQ (countValues (*costmap, nav2_costmap_2d::INSCRIBED_INFLATED_OBSTACLE), 77 );
321321}
322322
323323TEST_F (TestNode, testResetting) {
@@ -447,7 +447,7 @@ TEST_F(TestNode, testClearing) {
447447 nav2_costmap_2d::Costmap2D * costmap = layers.getCostmap ();
448448
449449 ASSERT_EQ (countValues (*costmap, nav2_costmap_2d::LETHAL_OBSTACLE), 21 );
450- ASSERT_EQ (countValues (*costmap, nav2_costmap_2d::INSCRIBED_INFLATED_OBSTACLE), 29 );
450+ ASSERT_EQ (countValues (*costmap, nav2_costmap_2d::INSCRIBED_INFLATED_OBSTACLE), 77 );
451451 ASSERT_EQ (olayer_b->getCost (9 , 9 ), nav2_costmap_2d::LETHAL_OBSTACLE);
452452
453453 pclayer_a->clearArea (-1 , -1 , 10 , 10 , false );
0 commit comments