Classes | Typedefs | Functions
test_route.cpp File Reference
#include <gtest/gtest.h>
#include "lanelet2_routing/Route.h"
#include "lanelet2_routing/RoutingGraph.h"
#include "test_routing_map.h"
Include dependency graph for test_route.cpp:

Go to the source code of this file.

Classes

class  AllRoutesTest< T >
 
class  Route1
 
class  Route1NoLc
 
class  Route2
 
class  Route3
 
class  Route4
 
class  Route5
 
class  RouteCircular
 
class  RouteCircularNoLc
 
class  RouteInCircle
 
class  RouteMaxHoseLeftRight
 
class  RouteMaxHoseLeftRightDashedSolid
 
class  RouteMaxHoseLeftRightDashedSolidFurther
 
class  RouteMaxHoseRightLeft
 
class  RouteMissingLanelet
 
class  RouteSolidDashed
 
class  RouteSolidDashedWithAdjacent
 
class  RouteSplittedDiverging
 
class  RouteSplittedDivergingAndMerging
 
class  RouteViaSimple
 
class  TestRoute< FromId, ToId, ViaIds >
 

Typedefs

using AllRoutes = testing::Types< Route1, Route1NoLc, Route2, Route3, Route4, Route5, RouteMaxHoseLeftRight, RouteMaxHoseRightLeft, RouteMaxHoseLeftRightDashedSolid, RouteMaxHoseLeftRightDashedSolidFurther, RouteSolidDashed, RouteSolidDashedWithAdjacent, RouteSplittedDiverging, RouteSplittedDivergingAndMerging, RouteViaSimple, RouteMissingLanelet, RouteInCircle, RouteCircular, RouteCircularNoLc >
 

Functions

template<typename ContainerT >
bool hasLanelet (const ContainerT &llts, const ConstLanelet &llt)
 
bool hasRelation (const LaneletRelations &relations, const ConstLanelet &llt, RelationType relationType)
 
 TEST_F (GermanVehicleGraph, CannotCreateRoute)
 
 TEST_F (Route1, Conflicting)
 
 TEST_F (Route1, CreateRoute1)
 
 TEST_F (Route1, forEachSuccessor)
 
 TEST_F (Route1, Lanes)
 
 TEST_F (Route1, Relations)
 
 TEST_F (Route1NoLc, CreateRoute)
 
 TEST_F (Route1NoLc, forEachPredecessor)
 
 TEST_F (Route1NoLc, Lanes)
 
 TEST_F (Route2, CreateRoute2)
 
 TEST_F (Route3, CreateRoute3)
 
 TEST_F (Route4, CreateRoute4)
 
 TEST_F (Route5, NoCircle)
 
 TEST_F (RouteCircular, Circularity)
 
 TEST_F (RouteCircularNoLc, Circularity)
 
 TEST_F (RouteInCircle, create)
 
 TEST_F (RouteMaxHoseLeftRight, CreateRouteMaxHose1)
 
 TEST_F (RouteMaxHoseLeftRight, InvalidLane)
 
 TEST_F (RouteMaxHoseLeftRight, Lanes)
 
 TEST_F (RouteMaxHoseLeftRightDashedSolid, DashedSolidLineRegarded)
 
 TEST_F (RouteMaxHoseLeftRightDashedSolid, Lanes)
 
 TEST_F (RouteMaxHoseLeftRightDashedSolidFurther, DashedSolidLineRegarded)
 
 TEST_F (RouteMaxHoseLeftRightDashedSolidFurther, Elements)
 
 TEST_F (RouteMaxHoseLeftRightDashedSolidFurther, Lanes)
 
 TEST_F (RouteMaxHoseRightLeft, CreateRouteMaxHose2)
 
 TEST_F (RouteMaxHoseRightLeft, Lanes)
 
 TEST_F (RouteMissingLanelet, create)
 
 TEST_F (RouteSolidDashed, Lanes)
 
 TEST_F (RouteSolidDashedWithAdjacent, AdjacentLaneletInRoute)
 
 TEST_F (RouteSolidDashedWithAdjacent, Lanes)
 
 TEST_F (RouteSplittedDiverging, Completeness)
 
 TEST_F (RouteSplittedDivergingAndMerging, Completeness)
 
 TEST_F (RouteViaSimple, create)
 
 TYPED_TEST (AllRoutesTest, CheckEquality)
 
 TYPED_TEST (AllRoutesTest, CheckValidity)
 
 TYPED_TEST (AllRoutesTest, DebugMapCompleteness)
 
 TYPED_TEST (AllRoutesTest, ShortestMapInDebugMap)
 
 TYPED_TEST_SUITE (AllRoutesTest, AllRoutes)
 

Typedef Documentation

◆ AllRoutes

Definition at line 67 of file test_route.cpp.

Function Documentation

◆ hasLanelet()

template<typename ContainerT >
bool hasLanelet ( const ContainerT &  llts,
const ConstLanelet llt 
)

Definition at line 125 of file test_route.cpp.

◆ hasRelation()

bool hasRelation ( const LaneletRelations relations,
const ConstLanelet llt,
RelationType  relationType 
)

Definition at line 119 of file test_route.cpp.

◆ TEST_F() [1/33]

TEST_F ( GermanVehicleGraph  ,
CannotCreateRoute   
)

Definition at line 352 of file test_route.cpp.

◆ TEST_F() [2/33]

TEST_F ( Route1  ,
Conflicting   
)

Definition at line 141 of file test_route.cpp.

◆ TEST_F() [3/33]

TEST_F ( Route1  ,
CreateRoute1   
)

Definition at line 107 of file test_route.cpp.

◆ TEST_F() [4/33]

TEST_F ( Route1  ,
forEachSuccessor   
)

Definition at line 154 of file test_route.cpp.

◆ TEST_F() [5/33]

TEST_F ( Route1  ,
Lanes   
)

Definition at line 164 of file test_route.cpp.

◆ TEST_F() [6/33]

TEST_F ( Route1  ,
Relations   
)

Definition at line 129 of file test_route.cpp.

◆ TEST_F() [7/33]

TEST_F ( Route1NoLc  ,
CreateRoute   
)

Definition at line 175 of file test_route.cpp.

◆ TEST_F() [8/33]

TEST_F ( Route1NoLc  ,
forEachPredecessor   
)

Definition at line 195 of file test_route.cpp.

◆ TEST_F() [9/33]

TEST_F ( Route1NoLc  ,
Lanes   
)

Definition at line 183 of file test_route.cpp.

◆ TEST_F() [10/33]

TEST_F ( Route2  ,
CreateRoute2   
)

Definition at line 202 of file test_route.cpp.

◆ TEST_F() [11/33]

TEST_F ( Route3  ,
CreateRoute3   
)

Definition at line 211 of file test_route.cpp.

◆ TEST_F() [12/33]

TEST_F ( Route4  ,
CreateRoute4   
)

Definition at line 220 of file test_route.cpp.

◆ TEST_F() [13/33]

TEST_F ( Route5  ,
NoCircle   
)

Definition at line 229 of file test_route.cpp.

◆ TEST_F() [14/33]

TEST_F ( RouteCircular  ,
Circularity   
)

Definition at line 375 of file test_route.cpp.

◆ TEST_F() [15/33]

TEST_F ( RouteCircularNoLc  ,
Circularity   
)

Definition at line 387 of file test_route.cpp.

◆ TEST_F() [16/33]

TEST_F ( RouteInCircle  ,
create   
)

Definition at line 369 of file test_route.cpp.

◆ TEST_F() [17/33]

TEST_F ( RouteMaxHoseLeftRight  ,
CreateRouteMaxHose1   
)

Definition at line 234 of file test_route.cpp.

◆ TEST_F() [18/33]

TEST_F ( RouteMaxHoseLeftRight  ,
InvalidLane   
)

Definition at line 256 of file test_route.cpp.

◆ TEST_F() [19/33]

TEST_F ( RouteMaxHoseLeftRight  ,
Lanes   
)

Definition at line 243 of file test_route.cpp.

◆ TEST_F() [20/33]

TEST_F ( RouteMaxHoseLeftRightDashedSolid  ,
DashedSolidLineRegarded   
)

Definition at line 296 of file test_route.cpp.

◆ TEST_F() [21/33]

TEST_F ( RouteMaxHoseLeftRightDashedSolid  ,
Lanes   
)

Definition at line 283 of file test_route.cpp.

◆ TEST_F() [22/33]

TEST_F ( RouteMaxHoseLeftRightDashedSolidFurther  ,
DashedSolidLineRegarded   
)

Definition at line 309 of file test_route.cpp.

◆ TEST_F() [23/33]

TEST_F ( RouteMaxHoseLeftRightDashedSolidFurther  ,
Elements   
)

Definition at line 305 of file test_route.cpp.

◆ TEST_F() [24/33]

TEST_F ( RouteMaxHoseLeftRightDashedSolidFurther  ,
Lanes   
)

Definition at line 300 of file test_route.cpp.

◆ TEST_F() [25/33]

TEST_F ( RouteMaxHoseRightLeft  ,
CreateRouteMaxHose2   
)

Definition at line 261 of file test_route.cpp.

◆ TEST_F() [26/33]

TEST_F ( RouteMaxHoseRightLeft  ,
Lanes   
)

Definition at line 270 of file test_route.cpp.

◆ TEST_F() [27/33]

TEST_F ( RouteMissingLanelet  ,
create   
)

Definition at line 347 of file test_route.cpp.

◆ TEST_F() [28/33]

TEST_F ( RouteSolidDashed  ,
Lanes   
)

Definition at line 313 of file test_route.cpp.

◆ TEST_F() [29/33]

TEST_F ( RouteSolidDashedWithAdjacent  ,
AdjacentLaneletInRoute   
)

Definition at line 321 of file test_route.cpp.

◆ TEST_F() [30/33]

TEST_F ( RouteSolidDashedWithAdjacent  ,
Lanes   
)

Definition at line 317 of file test_route.cpp.

◆ TEST_F() [31/33]

TEST_F ( RouteSplittedDiverging  ,
Completeness   
)

Definition at line 359 of file test_route.cpp.

◆ TEST_F() [32/33]

TEST_F ( RouteSplittedDivergingAndMerging  ,
Completeness   
)

Definition at line 364 of file test_route.cpp.

◆ TEST_F() [33/33]

TEST_F ( RouteViaSimple  ,
create   
)

Definition at line 342 of file test_route.cpp.

◆ TYPED_TEST() [1/4]

TYPED_TEST ( AllRoutesTest  ,
CheckEquality   
)

Definition at line 72 of file test_route.cpp.

◆ TYPED_TEST() [2/4]

TYPED_TEST ( AllRoutesTest  ,
CheckValidity   
)

Definition at line 71 of file test_route.cpp.

◆ TYPED_TEST() [3/4]

TYPED_TEST ( AllRoutesTest  ,
DebugMapCompleteness   
)

Definition at line 91 of file test_route.cpp.

◆ TYPED_TEST() [4/4]

TYPED_TEST ( AllRoutesTest  ,
ShortestMapInDebugMap   
)

Definition at line 82 of file test_route.cpp.

◆ TYPED_TEST_SUITE()

TYPED_TEST_SUITE ( AllRoutesTest  ,
AllRoutes   
)


lanelet2_routing
Author(s): Matthias Mayr
autogenerated on Thu Mar 6 2025 03:26:10