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, CheckValidity)
 
 TYPED_TEST (AllRoutesTest, DebugMapCompleteness)
 
 TYPED_TEST (AllRoutesTest, ShortestMapInDebugMap)
 
 TYPED_TEST_SUITE (AllRoutesTest, AllRoutes)
 

Typedef Documentation

◆ AllRoutes

Definition at line 66 of file test_route.cpp.

Function Documentation

◆ hasLanelet()

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

Definition at line 115 of file test_route.cpp.

◆ hasRelation()

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

Definition at line 109 of file test_route.cpp.

◆ TEST_F() [1/33]

TEST_F ( GermanVehicleGraph  ,
CannotCreateRoute   
)

Definition at line 342 of file test_route.cpp.

◆ TEST_F() [2/33]

TEST_F ( Route1  ,
Conflicting   
)

Definition at line 131 of file test_route.cpp.

◆ TEST_F() [3/33]

TEST_F ( Route1  ,
CreateRoute1   
)

Definition at line 97 of file test_route.cpp.

◆ TEST_F() [4/33]

TEST_F ( Route1  ,
forEachSuccessor   
)

Definition at line 144 of file test_route.cpp.

◆ TEST_F() [5/33]

TEST_F ( Route1  ,
Lanes   
)

Definition at line 154 of file test_route.cpp.

◆ TEST_F() [6/33]

TEST_F ( Route1  ,
Relations   
)

Definition at line 119 of file test_route.cpp.

◆ TEST_F() [7/33]

TEST_F ( Route1NoLc  ,
CreateRoute   
)

Definition at line 165 of file test_route.cpp.

◆ TEST_F() [8/33]

TEST_F ( Route1NoLc  ,
forEachPredecessor   
)

Definition at line 185 of file test_route.cpp.

◆ TEST_F() [9/33]

TEST_F ( Route1NoLc  ,
Lanes   
)

Definition at line 173 of file test_route.cpp.

◆ TEST_F() [10/33]

TEST_F ( Route2  ,
CreateRoute2   
)

Definition at line 192 of file test_route.cpp.

◆ TEST_F() [11/33]

TEST_F ( Route3  ,
CreateRoute3   
)

Definition at line 201 of file test_route.cpp.

◆ TEST_F() [12/33]

TEST_F ( Route4  ,
CreateRoute4   
)

Definition at line 210 of file test_route.cpp.

◆ TEST_F() [13/33]

TEST_F ( Route5  ,
NoCircle   
)

Definition at line 219 of file test_route.cpp.

◆ TEST_F() [14/33]

TEST_F ( RouteCircular  ,
Circularity   
)

Definition at line 365 of file test_route.cpp.

◆ TEST_F() [15/33]

TEST_F ( RouteCircularNoLc  ,
Circularity   
)

Definition at line 377 of file test_route.cpp.

◆ TEST_F() [16/33]

TEST_F ( RouteInCircle  ,
create   
)

Definition at line 359 of file test_route.cpp.

◆ TEST_F() [17/33]

TEST_F ( RouteMaxHoseLeftRight  ,
CreateRouteMaxHose1   
)

Definition at line 224 of file test_route.cpp.

◆ TEST_F() [18/33]

TEST_F ( RouteMaxHoseLeftRight  ,
InvalidLane   
)

Definition at line 246 of file test_route.cpp.

◆ TEST_F() [19/33]

TEST_F ( RouteMaxHoseLeftRight  ,
Lanes   
)

Definition at line 233 of file test_route.cpp.

◆ TEST_F() [20/33]

TEST_F ( RouteMaxHoseLeftRightDashedSolid  ,
DashedSolidLineRegarded   
)

Definition at line 286 of file test_route.cpp.

◆ TEST_F() [21/33]

TEST_F ( RouteMaxHoseLeftRightDashedSolid  ,
Lanes   
)

Definition at line 273 of file test_route.cpp.

◆ TEST_F() [22/33]

TEST_F ( RouteMaxHoseLeftRightDashedSolidFurther  ,
DashedSolidLineRegarded   
)

Definition at line 299 of file test_route.cpp.

◆ TEST_F() [23/33]

TEST_F ( RouteMaxHoseLeftRightDashedSolidFurther  ,
Elements   
)

Definition at line 295 of file test_route.cpp.

◆ TEST_F() [24/33]

TEST_F ( RouteMaxHoseLeftRightDashedSolidFurther  ,
Lanes   
)

Definition at line 290 of file test_route.cpp.

◆ TEST_F() [25/33]

TEST_F ( RouteMaxHoseRightLeft  ,
CreateRouteMaxHose2   
)

Definition at line 251 of file test_route.cpp.

◆ TEST_F() [26/33]

TEST_F ( RouteMaxHoseRightLeft  ,
Lanes   
)

Definition at line 260 of file test_route.cpp.

◆ TEST_F() [27/33]

TEST_F ( RouteMissingLanelet  ,
create   
)

Definition at line 337 of file test_route.cpp.

◆ TEST_F() [28/33]

TEST_F ( RouteSolidDashed  ,
Lanes   
)

Definition at line 303 of file test_route.cpp.

◆ TEST_F() [29/33]

TEST_F ( RouteSolidDashedWithAdjacent  ,
AdjacentLaneletInRoute   
)

Definition at line 311 of file test_route.cpp.

◆ TEST_F() [30/33]

TEST_F ( RouteSolidDashedWithAdjacent  ,
Lanes   
)

Definition at line 307 of file test_route.cpp.

◆ TEST_F() [31/33]

TEST_F ( RouteSplittedDiverging  ,
Completeness   
)

Definition at line 349 of file test_route.cpp.

◆ TEST_F() [32/33]

TEST_F ( RouteSplittedDivergingAndMerging  ,
Completeness   
)

Definition at line 354 of file test_route.cpp.

◆ TEST_F() [33/33]

TEST_F ( RouteViaSimple  ,
create   
)

Definition at line 332 of file test_route.cpp.

◆ TYPED_TEST() [1/3]

TYPED_TEST ( AllRoutesTest  ,
CheckValidity   
)

Definition at line 70 of file test_route.cpp.

◆ TYPED_TEST() [2/3]

TYPED_TEST ( AllRoutesTest  ,
DebugMapCompleteness   
)

Definition at line 81 of file test_route.cpp.

◆ TYPED_TEST() [3/3]

TYPED_TEST ( AllRoutesTest  ,
ShortestMapInDebugMap   
)

Definition at line 72 of file test_route.cpp.

◆ TYPED_TEST_SUITE()

TYPED_TEST_SUITE ( AllRoutesTest  ,
AllRoutes   
)


lanelet2_routing
Author(s): Matthias Mayr
autogenerated on Sun Oct 27 2024 02:27:49