scenario_simulator_v2 C++ API
Classes | Functions
test_route_planner.cpp File Reference
#include <gtest/gtest.h>
#include <traffic_simulator/behavior/route_planner.hpp>
#include "../catalogs.hpp"
#include "../expect_eq_macros.hpp"
#include "../helper_functions.hpp"
Include dependency graph for test_route_planner.cpp:

Classes

class  RoutePlannerTest
 

Functions

int main (int argc, char **argv)
 
 TEST_F (RoutePlannerTest, getGoalPoses)
 
 TEST_F (RoutePlannerTest, getGoalPosesInWorldFrame)
 
 TEST_F (RoutePlannerTest, getRouteLanelets_horizon)
 
 TEST_F (RoutePlannerTest, getRouteLanelets_noHorizon)
 
 TEST_F (RoutePlannerTest, getRouteLanelets_empty)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

◆ TEST_F() [1/5]

TEST_F ( RoutePlannerTest  ,
getGoalPoses   
)
Note
Test functionality used by other units. Test accessor getGoalPoses.

◆ TEST_F() [2/5]

TEST_F ( RoutePlannerTest  ,
getGoalPosesInWorldFrame   
)
Note
Test functionality used by other units. Test performing transformations by getGoalPosesInWorldFrame accessor.

◆ TEST_F() [3/5]

TEST_F ( RoutePlannerTest  ,
getRouteLanelets_empty   
)
Note
Test functionality used by other units. Test routing correctness with an entity pose and empty waypoints vector
  • the goal is to test function behavior when empty vector is passed.

◆ TEST_F() [4/5]

TEST_F ( RoutePlannerTest  ,
getRouteLanelets_horizon   
)
Note
Test functionality used by other units. Test routing correctness with an entity pose and target pose spaced apart for more than horizon.

◆ TEST_F() [5/5]

TEST_F ( RoutePlannerTest  ,
getRouteLanelets_noHorizon   
)
Note
Test functionality used by other units. Test routing correctness with an entity pose and target pose spaced apart for less than horizon.