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

Function MakeFakeEnding

libs/routing/routing_tests/index_graph_tools.cpp:602–605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

600}
601
602FakeEnding MakeFakeEnding(uint32_t featureId, uint32_t segmentIdx, m2::PointD const & point, WorldGraph & graph)
603{
604 return MakeFakeEnding({Segment(kTestNumMwmId, featureId, segmentIdx, true /* forward */)}, point, graph);
605}
606
607unique_ptr<IndexGraphStarter> MakeStarter(FakeEnding const & start, FakeEnding const & finish, WorldGraph & graph)
608{

Callers 7

UNIT_CLASS_TESTFunction · 0.70
UNIT_TESTFunction · 0.70
UNIT_CLASS_TESTFunction · 0.70
UNIT_TESTFunction · 0.70
UNIT_CLASS_TESTFunction · 0.70
UNIT_CLASS_TESTFunction · 0.70
UNIT_TESTFunction · 0.70

Calls 1

SegmentClass · 0.50

Tested by 7

UNIT_CLASS_TESTFunction · 0.56
UNIT_TESTFunction · 0.56
UNIT_CLASS_TESTFunction · 0.56
UNIT_TESTFunction · 0.56
UNIT_CLASS_TESTFunction · 0.56
UNIT_CLASS_TESTFunction · 0.56
UNIT_TESTFunction · 0.56