scenario_simulator_v2 C++ API
Typedefs | Functions | Variables
test_traffic_lights_internal_common.cpp File Reference
#include <gtest/gtest.h>
#include <color_names/color_names.hpp>
#include "../expect_eq_macros.hpp"
#include "common_test_fixtures.hpp"
#include "helper.hpp"
Include dependency graph for test_traffic_lights_internal_common.cpp:

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
 

Typedef Documentation

◆ TrafficLightsTypes

Function Documentation

◆ TYPED_TEST() [1/11]

TYPED_TEST ( TrafficLightsInternalTest  ,
compareTrafficLightsState   
)

◆ TYPED_TEST() [2/11]

TYPED_TEST ( TrafficLightsInternalTest  ,
generateAutowarePerceptionTrafficSignalMsg   
)

◆ TYPED_TEST() [3/11]

TYPED_TEST ( TrafficLightsInternalTest  ,
generateTrafficSimulatorV1Msg   
)

◆ TYPED_TEST() [4/11]

TYPED_TEST ( TrafficLightsInternalTest  ,
isAnyTrafficLightChanged   
)

◆ TYPED_TEST() [5/11]

TYPED_TEST ( TrafficLightsInternalTest  ,
isRequiredStopTrafficLightState   
)

◆ TYPED_TEST() [6/11]

TYPED_TEST ( TrafficLightsInternalTest  ,
resetUpdate_publishMarkers   
)

◆ TYPED_TEST() [7/11]

TYPED_TEST ( TrafficLightsInternalTest  ,
setTrafficLightsColor   
)

◆ TYPED_TEST() [8/11]

TYPED_TEST ( TrafficLightsInternalTest  ,
setTrafficLightsState_color   
)

◆ TYPED_TEST() [9/11]

TYPED_TEST ( TrafficLightsInternalTest  ,
setTrafficLightsState_shape   
)

◆ TYPED_TEST() [10/11]

TYPED_TEST ( TrafficLightsInternalTest  ,
setTrafficLightsState_status   
)

◆ TYPED_TEST() [11/11]

TYPED_TEST ( TrafficLightsInternalTest  ,
startUpdate_publishMarkers   
)

◆ TYPED_TEST_SUITE()

Variable Documentation

◆ eps

constexpr double eps = 1e-6
constexpr

◆ frequency_eps

constexpr double frequency_eps = 0.5
constexpr

◆ position_eps

constexpr double position_eps = 0.01
constexpr

◆ timing_eps

constexpr double timing_eps = 1e-3
constexpr