scenario_simulator_v2 C++ API
|
#include <gtest/gtest.h>
#include <color_names/color_names.hpp>
#include "../expect_eq_macros.hpp"
#include "common_test_fixtures.hpp"
#include "helper.hpp"
Typedefs | |
using | TrafficLightsTypes = testing::Types< traffic_simulator::ConventionalTrafficLights, traffic_simulator::V2ITrafficLights > |
Functions | |
TYPED_TEST_SUITE (TrafficLightsInternalTest, TrafficLightsTypes, TrafficLightsNameGenerator) | |
TYPED_TEST (TrafficLightsInternalTest, setTrafficLightsColor) | |
TYPED_TEST (TrafficLightsInternalTest, setTrafficLightsState_color) | |
TYPED_TEST (TrafficLightsInternalTest, setTrafficLightsState_status) | |
TYPED_TEST (TrafficLightsInternalTest, setTrafficLightsState_shape) | |
TYPED_TEST (TrafficLightsInternalTest, isAnyTrafficLightChanged) | |
TYPED_TEST (TrafficLightsInternalTest, isRequiredStopTrafficLightState) | |
TYPED_TEST (TrafficLightsInternalTest, compareTrafficLightsState) | |
TYPED_TEST (TrafficLightsInternalTest, startUpdate_publishMarkers) | |
TYPED_TEST (TrafficLightsInternalTest, resetUpdate_publishMarkers) | |
TYPED_TEST (TrafficLightsInternalTest, generateTrafficSimulatorV1Msg) | |
TYPED_TEST (TrafficLightsInternalTest, generateAutowarePerceptionTrafficSignalMsg) | |
Variables | |
constexpr double | eps = 1e-6 |
constexpr double | timing_eps = 1e-3 |
constexpr double | frequency_eps = 0.5 |
constexpr double | position_eps = 0.01 |
using TrafficLightsTypes = testing::Types<traffic_simulator::ConventionalTrafficLights, traffic_simulator::V2ITrafficLights> |
TYPED_TEST | ( | TrafficLightsInternalTest | , |
compareTrafficLightsState | |||
) |
TYPED_TEST | ( | TrafficLightsInternalTest | , |
generateAutowarePerceptionTrafficSignalMsg | |||
) |
TYPED_TEST | ( | TrafficLightsInternalTest | , |
generateTrafficSimulatorV1Msg | |||
) |
TYPED_TEST | ( | TrafficLightsInternalTest | , |
isAnyTrafficLightChanged | |||
) |
TYPED_TEST | ( | TrafficLightsInternalTest | , |
isRequiredStopTrafficLightState | |||
) |
TYPED_TEST | ( | TrafficLightsInternalTest | , |
resetUpdate_publishMarkers | |||
) |
TYPED_TEST | ( | TrafficLightsInternalTest | , |
setTrafficLightsColor | |||
) |
TYPED_TEST | ( | TrafficLightsInternalTest | , |
setTrafficLightsState_color | |||
) |
TYPED_TEST | ( | TrafficLightsInternalTest | , |
setTrafficLightsState_shape | |||
) |
TYPED_TEST | ( | TrafficLightsInternalTest | , |
setTrafficLightsState_status | |||
) |
TYPED_TEST | ( | TrafficLightsInternalTest | , |
startUpdate_publishMarkers | |||
) |
TYPED_TEST_SUITE | ( | TrafficLightsInternalTest | , |
TrafficLightsTypes | , | ||
TrafficLightsNameGenerator | |||
) |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |