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

Function TestOutgoingEdges

libs/routing/routing_tests/cross_mwm_connector_test.cpp:46–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44
45template <typename CrossMwmId>
46void TestOutgoingEdges(CrossMwmConnector<CrossMwmId> const & connector, Segment const & from,
47 vector<SegmentEdge> const & expectedEdges)
48{
49 typename CrossMwmConnector<CrossMwmId>::EdgeListT edges;
50 connector.GetOutgoingEdgeList(from, edges);
51
52 TEST_EQUAL(edges.size(), expectedEdges.size(), ());
53 for (size_t i = 0; i < edges.size(); ++i)
54 TEST_EQUAL(edges[i], expectedEdges[i], ());
55}
56
57template <typename CrossMwmId>
58void TestOneWayEnter(CrossMwmId const & crossMwmId)

Callers 2

TestSerializationFunction · 0.70
TestWeightsSerializationFunction · 0.70

Calls 2

GetOutgoingEdgeListMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected