Skip to content

Commit

Permalink
Removes reference to maliput_malidrive/base/road_geometry.h because i…
Browse files Browse the repository at this point in the history
…t is not installed anymore. (#34)
  • Loading branch information
agalbachicar authored Dec 2, 2020
1 parent 757f915 commit 336b14e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/tools_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

#include "maliput_dragway/road_geometry.h"

#include "maliput_malidrive/base/road_geometry.h"

#include "maliput_multilane/builder.h"
#include "maliput_multilane/loader.h"
#include "maliput_multilane/road_geometry.h"
Expand All @@ -32,7 +30,10 @@ GTEST_TEST(CreateRoadNetwork, MalidriveRoadNetwork) {
std::unique_ptr<const api::RoadNetwork> dut = CreateMalidriveRoadNetwork({kFilePath, 5e-2});
EXPECT_NE(nullptr, dut);
EXPECT_NE(nullptr, dut->road_geometry());
EXPECT_NE(nullptr, dynamic_cast<const malidrive::RoadGeometry*>(dut->road_geometry()));
// To evaluate the following condition, malidrive::RoadGeometry type is required. It is defined
// in maliput_malidrive/base/road_geometry.h but it brings with it a lot of header files that
// should not be exported.
// EXPECT_NE(nullptr, dynamic_cast<const malidrive::RoadGeometry*>(dut->road_geometry()));
}

GTEST_TEST(CreateRoadNetwork, MultilaneRoadNetwork) {
Expand Down

0 comments on commit 336b14e

Please sign in to comment.