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

Function Convert

libs/routing/routing_tests/routing_algorithm.cpp:157–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155};
156
157TestAStarBidirectionalAlgo::Result Convert(Algorithm::Result value)
158{
159 switch (value)
160 {
161 case Algorithm::Result::OK: return TestAStarBidirectionalAlgo::Result::OK;
162 case Algorithm::Result::NoPath: return TestAStarBidirectionalAlgo::Result::NoPath;
163 case Algorithm::Result::Cancelled: return TestAStarBidirectionalAlgo::Result::Cancelled;
164 }
165
166 UNREACHABLE();
167 return TestAStarBidirectionalAlgo::Result::NoPath;
168}
169} // namespace
170
171std::string DebugPrint(TestAStarBidirectionalAlgo::Result const & value)

Callers 6

CalculateRouteMethod · 0.70
AnyRectMethod · 0.50
GlobalZeroMethod · 0.50
SetAngleMethod · 0.50
ConvertToMethod · 0.50
ConvertFromMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected