maliput_multilane
maliput::multilane::test Namespace Reference

Classes

class  ArcOffsetMatcher
 Wraps an ArcOffset comparison into a MatcherInterface. More...
 
class  EndLaneSpecMatcher
 Wraps a EndLane::Spec comparison into a MatcherInterface. More...
 
class  EndReferenceSpecMatcher
 Wraps a EndReference::Spec comparison into a MatcherInterface. More...
 
class  HBoundsMatcher
 Wraps api::HBounds comparison into a MatcherInterface. More...
 
class  LaneLayoutMatcher
 Wraps a LineOffset comparison into a MatcherInterface. More...
 
class  LineOffsetMatcher
 Wraps a LineOffset comparison into a MatcherInterface. More...
 
class  StartLaneSpecMatcher
 Wraps a StartLane::Spec comparison into a MatcherInterface. More...
 
class  StartReferenceSpecMatcher
 Wraps a StartReference::Spec comparison into a MatcherInterface. More...
 

Functions

::testing::AssertionResult IsEndpointXyClose (const EndpointXy &xy1, const EndpointXy &xy2, double linear_tolerance, double angular_tolerance)
 
::testing::AssertionResult IsEndpointZClose (const EndpointZ &z1, const EndpointZ &z2, double linear_tolerance, double angular_tolerance)
 
::testing::AssertionResult IsEndpointClose (const Endpoint &pos1, const Endpoint &pos2, double linear_tolerance, double angular_tolerance)
 
::testing::AssertionResult IsArcOffsetClose (const ArcOffset &arc_offset1, const ArcOffset &arc_offset2, double linear_tolerance, double angular_tolerance)
 
Matcher< const api::HBounds & > Matches (const api::HBounds &elevation_bounds, double tolerance)
 
Matcher< const ArcOffset & > Matches (const ArcOffset &arc_offset, double linear_tolerance, double angular_tolerance)
 
Matcher< const LineOffset & > Matches (const LineOffset &line_offset, double tolerance)
 
Matcher< const LaneLayout & > Matches (const LaneLayout &lane_layout, double tolerance)
 
Matcher< const StartReference::Spec & > Matches (const StartReference::Spec &start_reference, double linear_tolerance, double angular_tolerance)
 
Matcher< const StartLane::Spec & > Matches (const StartLane::Spec &start_reference, double linear_tolerance, double angular_tolerance)
 
Matcher< const EndReference::Spec & > Matches (const EndReference::Spec &end_reference, double linear_tolerance, double angular_tolerance)
 
Matcher< const EndLane::Spec & > Matches (const EndLane::Spec &end_lane, double linear_tolerance, double angular_tolerance)
 

Function Documentation

◆ IsArcOffsetClose()

testing::AssertionResult IsArcOffsetClose ( const ArcOffset arc_offset1,
const ArcOffset arc_offset2,
double  linear_tolerance,
double  angular_tolerance 
)

◆ IsEndpointClose()

testing::AssertionResult IsEndpointClose ( const Endpoint pos1,
const Endpoint pos2,
double  linear_tolerance,
double  angular_tolerance 
)

◆ IsEndpointXyClose()

testing::AssertionResult IsEndpointXyClose ( const EndpointXy xy1,
const EndpointXy xy2,
double  linear_tolerance,
double  angular_tolerance 
)

◆ IsEndpointZClose()

testing::AssertionResult IsEndpointZClose ( const EndpointZ z1,
const EndpointZ z2,
double  linear_tolerance,
double  angular_tolerance 
)

◆ Matches() [1/8]

Matcher< const api::HBounds & > Matches ( const api::HBounds elevation_bounds,
double  tolerance 
)
Returns
A Matcher<const api::HBounds&> of type HBoundsMatcher.

◆ Matches() [2/8]

Matcher< const ArcOffset & > Matches ( const ArcOffset arc_offset,
double  linear_tolerance,
double  angular_tolerance 
)
Returns
A Matcher<const ArcOffset&> of type ArcOffsetMatcher.

◆ Matches() [3/8]

Matcher< const EndLane::Spec & > Matches ( const EndLane::Spec end_lane,
double  linear_tolerance,
double  angular_tolerance 
)
Returns
A Matcher<const EndLane::Spec&> of type EndLaneSpecMatcher.

◆ Matches() [4/8]

Matcher< const EndReference::Spec & > Matches ( const EndReference::Spec end_reference,
double  linear_tolerance,
double  angular_tolerance 
)
Returns
A Matcher<const EndReference::Spec&> of type EndReferenceSpecMatcher.

◆ Matches() [5/8]

Matcher< const LaneLayout & > Matches ( const LaneLayout lane_layout,
double  tolerance 
)
Returns
A Matcher<const LaneLayout&> of type LaneLayoutMatcher.

◆ Matches() [6/8]

Matcher< const LineOffset & > Matches ( const LineOffset line_offset,
double  tolerance 
)
Returns
A Matcher<const LineOffset&> of type LineOffsetMatcher.

◆ Matches() [7/8]

Matcher< const StartLane::Spec & > Matches ( const StartLane::Spec start_reference,
double  linear_tolerance,
double  angular_tolerance 
)
Returns
A Matcher<const StartLane::Spec&> of type StartLaneSpecMatcher.

◆ Matches() [8/8]

Matcher< const StartReference::Spec & > Matches ( const StartReference::Spec start_reference,
double  linear_tolerance,
double  angular_tolerance 
)
Returns
A Matcher<const StartReference::Spec&> of type StartReferenceSpecMatcher.