scenario_simulator_v2 C++ API
Classes | Functions | Variables
test_traffic_lights.cpp File Reference
#include <gtest/gtest.h>
#include <ament_index_cpp/get_package_share_directory.hpp>
#include <scenario_simulator_exception/exception.hpp>
#include <std_msgs/msg/header.hpp>
#include <traffic_simulator/traffic_lights/traffic_lights.hpp>
#include <traffic_simulator/traffic_lights/traffic_lights_base.hpp>
#include "../expect_eq_macros.hpp"
#include "helper.hpp"
Include dependency graph for test_traffic_lights.cpp:

Classes

class  TrafficLightsTest
 

Functions

 TEST_F (TrafficLightsTest, isAnyTrafficLightChanged)
 
 TEST_F (TrafficLightsTest, getConventionalTrafficLights)
 
 TEST_F (TrafficLightsTest, getV2ITrafficLights)
 
 TEST_F (TrafficLightsTest, startTrafficLightsUpdate)
 
int main (int argc, char **argv)
 

Variables

constexpr double frequency_eps = 0.5
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

◆ TEST_F() [1/4]

TEST_F ( TrafficLightsTest  ,
getConventionalTrafficLights   
)

◆ TEST_F() [2/4]

TEST_F ( TrafficLightsTest  ,
getV2ITrafficLights   
)

◆ TEST_F() [3/4]

TEST_F ( TrafficLightsTest  ,
isAnyTrafficLightChanged   
)

◆ TEST_F() [4/4]

TEST_F ( TrafficLightsTest  ,
startTrafficLightsUpdate   
)

Variable Documentation

◆ frequency_eps

constexpr double frequency_eps = 0.5
constexpr