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:
authorConstantin Shalnev <c.shalnev@corp.mail.ru>2015-07-31 11:30:19 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:58:32 +0300
commitca4c447b2f26db7ffa059b54dbed4ed17f01cbd9 (patch)
tree27050192d56484df422b9631c221c467887fc2d3 /integration_tests
parent1c47a8af7ba2e0522eacb0a31316b50903024502 (diff)
Added integration tests
Diffstat (limited to 'integration_tests')
-rw-r--r--integration_tests/pedestrian_route_test.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/integration_tests/pedestrian_route_test.cpp b/integration_tests/pedestrian_route_test.cpp
index de9d1e889c..a2240702a8 100644
--- a/integration_tests/pedestrian_route_test.cpp
+++ b/integration_tests/pedestrian_route_test.cpp
@@ -491,3 +491,19 @@ UNIT_TEST(RussiaMoscowKhlebnyyLane19LiftGateAndGate)
TEST_EQUAL(t[1].m_pedestrianTurn, PedestrianDirection::Gate, ());
TEST_EQUAL(t[2].m_pedestrianTurn, PedestrianDirection::ReachedYourDestination, ());
}
+
+UNIT_TEST(MoscowVodnyStadiumHighwayPlatform)
+{
+ integration::CalculateRouteAndTestRouteLength(
+ integration::GetPedestrianComponents(),
+ MercatorBounds::FromLatLon(55.83955, 37.48692), {0., 0.},
+ MercatorBounds::FromLatLon(55.84061, 37.48636), 136.115);
+}
+
+UNIT_TEST(MoscowLeningradskyVokzalRailwayPlatform)
+{
+ integration::CalculateRouteAndTestRouteLength(
+ integration::GetPedestrianComponents(),
+ MercatorBounds::FromLatLon(55.78163, 37.65144), {0., 0.},
+ MercatorBounds::FromLatLon(55.777, 37.65479), 581.594);
+}