[routing] Moved integration test to quality tests.

This commit is contained in:
VladiMihaylenko 2019-03-01 19:30:06 +03:00
parent cd279936f6
commit 6a9a984c70
2 changed files with 6 additions and 14 deletions

View file

@ -262,20 +262,6 @@ namespace
MercatorBounds::FromLatLon(46.13418, -63.84656), 23000.);
}
UNIT_TEST(RussiaFerryToCrimea)
{
// Forward
integration::CalculateRouteAndTestRouteLength(
integration::GetVehicleComponents<VehicleType::Car>(),
MercatorBounds::FromLatLon(45.38053, 36.73226), {0., 0.},
MercatorBounds::FromLatLon(45.36078, 36.60866), 15500.);
// And backward case
integration::CalculateRouteAndTestRouteLength(
integration::GetVehicleComponents<VehicleType::Car>(),
MercatorBounds::FromLatLon(45.36078, 36.60866), {0., 0.},
MercatorBounds::FromLatLon(45.38053, 36.73226), 15500.);
}
UNIT_TEST(ParisCrossDestinationInForwardHeapCase)
{
// Forward

View file

@ -15,9 +15,15 @@ UNIT_TEST(RoutingQuality_FinlandBridgeInsteadOfFerry)
UNIT_TEST(RoutingQuality_RussiaToCrimeaFerry)
{
// From Russia to Crimea
TEST(CheckCarRoute({45.34123, 36.67679} /* start */, {45.36479, 36.62194} /* finish */,
{{{45.3532, 36.64912}}} /* reference track */),
());
// From Crimea to Russia
TEST(CheckCarRoute({45.36479, 36.62194} /* start */, {45.34123, 36.67679} /* finish */,
{{{45.3532, 36.64912}}} /* reference track */),
());
}
UNIT_TEST(RoutingQuality_RussiaFromCrimeaFerry)