MCPcopy Create free account
hub / github.com/comaps/comaps / IsNormalTurn

Function IsNormalTurn

libs/routing/route.cpp:551–557  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

549}
550
551bool IsNormalTurn(TurnItem const & turn)
552{
553 CHECK_NOT_EQUAL(turn.m_turn, CarDirection::Count, ());
554 CHECK_NOT_EQUAL(turn.m_pedestrianTurn, PedestrianDirection::Count, ());
555
556 return !turn.IsTurnNone();
557}
558
559string DebugPrint(Route const & r)
560{

Callers 3

GetTurnsForTestingMethod · 0.85

Calls 1

IsTurnNoneMethod · 0.80

Tested by

no test coverage detected