Drake
drake::maliput::api::test Namespace Reference

Functions

::testing::AssertionResult CheckIdIndexing (const RoadGeometry *road_geometry)
 Walks the object graph of road_geometry and checks that every component can be found via ById().Get*(const *Id& id) methods. More...
 
::testing::AssertionResult IsGeoPositionClose (const GeoPosition &pos1, const GeoPosition &pos2, double tolerance)
 
::testing::AssertionResult IsLanePositionClose (const LanePosition &pos1, const LanePosition &pos2, double tolerance)
 
::testing::AssertionResult IsRotationClose (const Rotation &rot1, const Rotation &rot2, double tolerance)
 
::testing::AssertionResult IsRBoundsClose (const RBounds &rbounds1, const RBounds &rbounds2, double tolerance)
 
::testing::AssertionResult IsHBoundsClose (const HBounds &hbounds1, const HBounds &hbounds2, double tolerance)
 

Function Documentation

testing::AssertionResult CheckIdIndexing ( const RoadGeometry road_geometry)

Walks the object graph of road_geometry and checks that every component can be found via ById().Get*(const *Id& id) methods.

Returns
::testing::AssertionSuccess() when all objects are found, otherwise ::testing::AssertionFailure().
testing::AssertionResult IsGeoPositionClose ( const GeoPosition pos1,
const GeoPosition pos2,
double  tolerance 
)
testing::AssertionResult IsHBoundsClose ( const HBounds hbounds1,
const HBounds hbounds2,
double  tolerance 
)
testing::AssertionResult IsLanePositionClose ( const LanePosition pos1,
const LanePosition pos2,
double  tolerance 
)
testing::AssertionResult IsRBoundsClose ( const RBounds rbounds1,
const RBounds rbounds2,
double  tolerance 
)
testing::AssertionResult IsRotationClose ( const Rotation rot1,
const Rotation rot2,
double  tolerance 
)