Skip to content
Snippets Groups Projects
Verified Commit 49886787 authored by Martin Stump's avatar Martin Stump
Browse files

Fix broken InterfaceTest


* OpenDrivePosition is now OpenDriveRoadPosition
* Include-what-you-use

Signed-off-by: default avatarMartin Stump <martin.stump@mercedes-benz.com>
parent 0e80917f
No related branches found
No related tags found
1 merge request!73Fix broken InterfaceTest
......@@ -12,12 +12,19 @@
/** @file interface_test.cpp */
//-----------------------------------------------------------------------------
#include <units.h>
#include "MantleAPI/Common/position.h"
#include "MantleAPI/Map/i_coord_converter.h"
#include "MantleAPI/Test/test_utils.h"
#include "MantleAPI/Traffic/entity_properties.h"
#include "MantleAPI/Traffic/i_entity.h"
#include "MantleAPI/Traffic/i_entity_repository.h"
TEST(InterfaceTest, GivenTeleportAction_When_ThenHostVehicleIsPlaced)
{
mantle_api::Position inert_pos{};
inert_pos = mantle_api::OpenDrivePosition{{0, 0}, units::length::meter_t{0}, units::length::meter_t{0}};
inert_pos = mantle_api::OpenDriveRoadPosition{{0, 0}, units::length::meter_t{0}, units::length::meter_t{0}};
mantle_api::MockEnvironment env{};
env.CreateMap("dummy_map_path", {});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment