maliput_osm
maliput_osm::osm::test Namespace Reference

Functions

::testing::AssertionResult CompareOSMLane (const maliput_sparse::parser::Lane &lhs, const maliput_sparse::parser::Lane &rhs, double tolerance)
 Compares two osm::Lane objects. More...
 
::testing::AssertionResult CompareOSMSegment (const maliput_sparse::parser::Segment &lhs, const maliput_sparse::parser::Segment &rhs, double tolerance)
 Compares two osm::Segment objects. More...
 

Function Documentation

◆ CompareOSMLane()

testing::AssertionResult CompareOSMLane ( const maliput_sparse::parser::Lane &  lhs,
const maliput_sparse::parser::Lane &  rhs,
double  tolerance 
)

Compares two osm::Lane objects.

Parameters
lhsThe left-hand side of the comparison.
rhsThe right-hand side of the comparison.
toleranceThe tolerance to use when comparing floating point values.
Returns
A Google Test assertion result.

◆ CompareOSMSegment()

testing::AssertionResult CompareOSMSegment ( const maliput_sparse::parser::Segment &  lhs,
const maliput_sparse::parser::Segment &  rhs,
double  tolerance 
)

Compares two osm::Segment objects.

Parameters
lhsThe left-hand side of the comparison.
rhsThe right-hand side of the comparison.
toleranceThe tolerance to use when comparing floating point values.
Returns
A Google Test assertion result.