forked from organicmaps/organicmaps
[routing] Moved integration test to quality tests.
This commit is contained in:
parent
cd279936f6
commit
6a9a984c70
2 changed files with 6 additions and 14 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue