Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLev Dragunov <l.dragunov@corp.mail.ru>2015-07-09 13:16:36 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:55:12 +0300
commite3bdc45b601974a76accf6c0f80ca213c4d6d3d8 (patch)
tree53ca1fb8ca8aeb3d008d5c4efa0005eba5fd197c /integration_tests
parent41744e837c98c0da9780a83e63b1a6fc3c8bf983 (diff)
Routing integration tests fixes.
Diffstat (limited to 'integration_tests')
-rw-r--r--integration_tests/osrm_route_test.cpp19
1 files changed, 9 insertions, 10 deletions
diff --git a/integration_tests/osrm_route_test.cpp b/integration_tests/osrm_route_test.cpp
index 0a88e685d6..4b3a292cca 100644
--- a/integration_tests/osrm_route_test.cpp
+++ b/integration_tests/osrm_route_test.cpp
@@ -40,7 +40,7 @@ namespace
integration::CalculateRouteAndTestRouteLength(
integration::GetOsrmComponents(),
MercatorBounds::FromLatLon(55.77787, 37.70405), {0., 0.},
- MercatorBounds::FromLatLon(55.77682, 37.70391), 3032.
+ MercatorBounds::FromLatLon(55.77682, 37.70391), 185.
);
}
@@ -134,18 +134,17 @@ namespace
MercatorBounds::FromLatLon(27.15587, -13.23059), 100864);
}
- UNIT_TEST(ArbatBaliCrimeanForwardCrossMwmTest)
+ UNIT_TEST(ArbatBaliCrimeanCrossMwmTest)
{
+ // Forward case.
integration::CalculateRouteAndTestRouteLength(
- integration::GetOsrmComponents(), MercatorBounds::FromLatLon(46.152324, 34.804955), {0., 0.},
- MercatorBounds::FromLatLon(45.35697, 35.369712), 105000.);
- }
-
- UNIT_TEST(ArbatBaliCrimeanBackwardCrossTest)
- {
+ integration::GetOsrmComponents(), MercatorBounds::FromLatLon(45.90668,34.87221), {0., 0.},
+ MercatorBounds::FromLatLon(45.35697, 35.36971), 75000.);
+ // Backward case.
integration::CalculateRouteAndTestRouteLength(
- integration::GetOsrmComponents(), MercatorBounds::FromLatLon(45.356971, 35.369712), {0., 0.},
- MercatorBounds::FromLatLon(46.152324, 34.804955), 105000.);
+ integration::GetOsrmComponents(), MercatorBounds::FromLatLon(45.35697, 35.36971), {0., 0.},
+ MercatorBounds::FromLatLon(45.90668,34.87221), 75000.);
+
}
UNIT_TEST(AlbaniaToMontenegroCrossTest)