diff options
author | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2016-09-20 17:46:50 +0300 |
---|---|---|
committer | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2016-09-26 15:05:12 +0300 |
commit | cb8a1b49f913dd3c4a2b151595e0d542a790a871 (patch) | |
tree | f02b7564bb7f42380c2fe0970b93e58dded6a4a4 /routing | |
parent | 17ced7e8e84b7e1566dbf5ecf20bf2de360bec21 (diff) |
git-clang-format
Diffstat (limited to 'routing')
-rw-r--r-- | routing/routing_integration_tests/osrm_route_test.cpp | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/routing/routing_integration_tests/osrm_route_test.cpp b/routing/routing_integration_tests/osrm_route_test.cpp index 53923e3eec..a8444c2ee7 100644 --- a/routing/routing_integration_tests/osrm_route_test.cpp +++ b/routing/routing_integration_tests/osrm_route_test.cpp @@ -282,21 +282,23 @@ namespace TEST_LESS(route.GetTotalTimeSec(), numeric_limits<uint32_t>::max() / 2, ()); } -// There are road ids in osrm which don't have appropriate features ids in mwm. -// When the route goes through such osrm id a code line with LOG(LERROR, ... is executed: -// on route reconstruction stage. As a result some item of |segments| vector could have an empty |m_path|. -// This test shows such case. It's commented because if to uncomment it debug version of -// routing_integration_tests would crash. -// UNIT_TEST(RussiaSpbPloschadBekhterevaToKomendantskiyProspekt) -// { -// TRouteResult const routeResult = integration::CalculateRoute( -// integration::GetOsrmComponents(), MercatorBounds::FromLatLon(59.90126, 30.39970), {0., 0.}, -// MercatorBounds::FromLatLon(60.02499, 30.23889)); - -// Route const & route = *routeResult.first; -// IRouter::ResultCode const result = routeResult.second; -// TEST_EQUAL(result, IRouter::NoError, ()); - -// integration::TestRouteTime(route, 1364.0); -// } + // There are road ids in osrm which don't have appropriate features ids in mwm. + // When the route goes through such osrm id a code line with LOG(LERROR, ... is executed: + // on route reconstruction stage. As a result some item of |segments| vector could have an empty + // |m_path|. + // This test shows such case. It's commented because if to uncomment it debug version of + // routing_integration_tests would crash. + // UNIT_TEST(RussiaSpbPloschadBekhterevaToKomendantskiyProspekt) + // { + // TRouteResult const routeResult = integration::CalculateRoute( + // integration::GetOsrmComponents(), MercatorBounds::FromLatLon(59.90126, 30.39970), {0., + // 0.}, + // MercatorBounds::FromLatLon(60.02499, 30.23889)); + + // Route const & route = *routeResult.first; + // IRouter::ResultCode const result = routeResult.second; + // TEST_EQUAL(result, IRouter::NoError, ()); + + // integration::TestRouteTime(route, 1364.0); + // } } // namespace |