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

Function GetTestRouteSegments

libs/routing/routing_tests/route_tests.cpp:43–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 {"Street3", "", "", "", "", false}};
42
43void GetTestRouteSegments(vector<m2::PointD> const & routePoints, vector<turns::TurnItem> const & turns,
44 vector<RouteSegment::RoadNameInfo> const & streets, vector<double> const & times,
45 vector<RouteSegment> & routeSegments)
46{
47 RouteSegmentsFrom({}, routePoints, turns, streets, routeSegments);
48 FillSegmentInfo(kTestTimes, routeSegments);
49}
50
51location::GpsInfo GetGps(double x, double y)
52{

Callers 1

UNIT_TESTFunction · 0.85

Calls 2

RouteSegmentsFromFunction · 0.85
FillSegmentInfoFunction · 0.85

Tested by

no test coverage detected