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

Function TestLeavingRoute

libs/routing/routing_tests/routing_session_test.cpp:228–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228void TestLeavingRoute(RoutingSession & session, location::GpsInfo const & info)
229{
230 vector<double> const latitudes = {0.0, -0.001, -0.002, -0.003, -0.004, -0.005,
231 -0.006, -0.007, -0.008, -0.009, -0.01, -0.011};
232 SessionStateTest sessionStateTest({SessionState::OnRoute, SessionState::RouteNeedsRebuild}, session);
233 TestMovingByUpdatingLat(sessionStateTest, latitudes, info, session);
234}
235
236UNIT_CLASS_TEST(AsyncGuiThreadTestWithRoutingSession, TestRouteBuilding)
237{

Callers 1

UNIT_CLASS_TESTFunction · 0.85

Calls 1

TestMovingByUpdatingLatFunction · 0.85

Tested by

no test coverage detected