|
scenario_simulator_v2 C++ API
|
#include <gtest/gtest.h>#include <ament_index_cpp/get_package_share_directory.hpp>#include <boost/lexical_cast.hpp>#include <regex>#include <scenario_simulator_exception/exception.hpp>#include <traffic_simulator/traffic_lights/traffic_light.hpp>#include <traffic_simulator/utils/lanelet_map.hpp>
Classes | |
| class | TrafficLightTest |
Typedefs | |
| using | TrafficLight = traffic_simulator::TrafficLight |
| using | Color = TrafficLight::Color |
| using | Status = TrafficLight::Status |
| using | Shape = TrafficLight::Shape |
| using | Bulb = TrafficLight::Bulb |
Functions | |
| int | main (int argc, char **argv) |
| TEST (Color, Color) | |
| TEST (Color, make) | |
| TEST (Color, make_wrong) | |
| TEST (Status, Status) | |
| TEST (Status, make) | |
| TEST (Status, make_wrong) | |
| TEST (Shape, Shape) | |
| TEST (Shape, make) | |
| TEST (Shape, make_wrong) | |
| TEST (Bulb, hash) | |
| TEST (Bulb, is) | |
| TEST (Bulb, make) | |
| TEST (Bulb, make_wrong) | |
| TEST (Bulb, operator_TrafficLight) | |
| TEST_F (TrafficLightTest, contains_colorStatusShape) | |
| TEST_F (TrafficLightTest, set_valid) | |
| using Bulb = TrafficLight::Bulb |
| using Color = TrafficLight::Color |
| using Shape = TrafficLight::Shape |
| using Status = TrafficLight::Status |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
| TEST | ( | Bulb | , |
| hash | |||
| ) |
| TEST | ( | Bulb | , |
| is | |||
| ) |
| TEST | ( | Bulb | , |
| make | |||
| ) |
| TEST | ( | Bulb | , |
| make_wrong | |||
| ) |
| TEST | ( | Bulb | , |
| operator_TrafficLight | |||
| ) |
| TEST | ( | Color | , |
| make | |||
| ) |
| TEST | ( | Color | , |
| make_wrong | |||
| ) |
| TEST | ( | Shape | , |
| make | |||
| ) |
| TEST | ( | Shape | , |
| make_wrong | |||
| ) |
| TEST | ( | Status | , |
| make | |||
| ) |
| TEST | ( | Status | , |
| make_wrong | |||
| ) |
| TEST_F | ( | TrafficLightTest | , |
| contains_colorStatusShape | |||
| ) |
| TEST_F | ( | TrafficLightTest | , |
| set_valid | |||
| ) |