forked from organicmaps/organicmaps
[routing][tests] Adding tests on long pedestrian and bicycle route.
This commit is contained in:
parent
54c2a331d7
commit
671d43a775
2 changed files with 15 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue