diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2015-11-19 15:19:05 +0300 |
---|---|---|
committer | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2015-11-30 16:28:29 +0300 |
commit | 19a9a109e084be5f971080e81398c7fb82c8149e (patch) | |
tree | 5c634aed74ca0307bbc2cd617d9523a54221ecce /routing/routing_tests/routing_session_test.cpp | |
parent | 24d819e05c1d70395c6f55fdbfd74f11f86ba876 (diff) |
Rebase fixes
Diffstat (limited to 'routing/routing_tests/routing_session_test.cpp')
-rw-r--r-- | routing/routing_tests/routing_session_test.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/routing/routing_tests/routing_session_test.cpp b/routing/routing_tests/routing_session_test.cpp index a2cc532acd..cb92a741c7 100644 --- a/routing/routing_tests/routing_session_test.cpp +++ b/routing/routing_tests/routing_session_test.cpp @@ -124,8 +124,7 @@ UNIT_TEST(TestRouteRebuilding) RoutingSession::State code; while (info.m_latitude < kTestRoute.back().y) { - code = session.OnLocationPositionChanged( - MercatorBounds::FromLatLon(info.m_latitude, info.m_longitude), info, index); + code = session.OnLocationPositionChanged(info, index); TEST_EQUAL(code, RoutingSession::State::OnRoute, ()); info.m_latitude += 0.01; } @@ -147,8 +146,7 @@ UNIT_TEST(TestRouteRebuilding) info.m_latitude = 1.; for (size_t i = 0; i < 10; ++i) { - code = session.OnLocationPositionChanged( - MercatorBounds::FromLatLon(info.m_latitude, info.m_longitude), info, index); + code = session.OnLocationPositionChanged(info, index); info.m_latitude -= 0.1; } TEST_EQUAL(code, RoutingSession::State::RouteNeedRebuild, ()); |