[routing] add test for future

This commit is contained in:
Mikhail Gorbushin 2019-05-14 17:29:41 +03:00 committed by Vladimir Byko-Ianko
parent b8bbf4abff
commit 8d069e9287

View file

@ -452,4 +452,23 @@ namespace
Route const & route = *routeResult.first;
TEST(route.CrossMwmsPartlyProhibitedForSpeedCams(), ());
}
// TODO (@gmoryes) uncomment this after many-via restrictions will be in mwms.
/*
UNIT_TEST(SpainRestirctionOnlyMany)
{
integration::CalculateRouteAndTestRouteLength(
integration::GetVehicleComponents(VehicleType::Car),
MercatorBounds::FromLatLon(43.38234, -5.67648), {0., 0.},
MercatorBounds::FromLatLon(43.38222, -5.69083), 8289.0);
}
UNIT_TEST(RussiaMoscowRestirctionOnlyMany)
{
integration::CalculateRouteAndTestRouteLength(
integration::GetVehicleComponents(VehicleType::Car),
MercatorBounds::FromLatLon(55.991578, 37.212476), {0., 0.},
MercatorBounds::FromLatLon(55.991845, 37.215312), 799.0);
}
*/
} // namespace