[routing][tests] Adding tests on long pedestrian and bicycle route.

This commit is contained in:
Vladimir Byko-Ianko 2016-06-15 16:21:45 +03:00
parent 54c2a331d7
commit 671d43a775
2 changed files with 15 additions and 0 deletions

View file

@ -63,3 +63,10 @@ UNIT_TEST(NetherlandsAmsterdamSingelStOnewayBicycleNo)
integration::GetBicycleComponents(), MercatorBounds::FromLatLon(52.3785, 4.89407), {0., 0.},
MercatorBounds::FromLatLon(52.37462, 4.88983), 519.0);
}
UNIT_TEST(RussiaMoscowKashirskoe16ToCapLongRoute)
{
integration::CalculateRouteAndTestRouteLength(
integration::GetBicycleComponents(), MercatorBounds::FromLatLon(55.66230, 37.63214), {0., 0.},
MercatorBounds::FromLatLon(55.68895, 37.70286), 7057.0);
}

View file

@ -528,3 +528,11 @@ UNIT_TEST(RussiaMoscowSevTushinoParkPedestrianOnePointTurnTest)
integration::TestTurnCount(route, 0);
integration::TestRouteLength(route, 0.0);
}
UNIT_TEST(MoscowKashirskoe16ToVorobeviGori)
{
integration::CalculateRouteAndTestRouteLength(
integration::GetPedestrianComponents(),
MercatorBounds::FromLatLon(55.66230, 37.63214), {0., 0.},
MercatorBounds::FromLatLon(55.70934, 37.54232), 9553.0);
}