diff options
author | VladiMihaylenko <vxmihaylenko@gmail.com> | 2019-03-01 19:30:06 +0300 |
---|---|---|
committer | VladiMihaylenko <vxmihaylenko@gmail.com> | 2019-03-25 17:48:14 +0300 |
commit | 6a9a984c702c25643a323acd6c1d6771af9228dc (patch) | |
tree | d2939cef79170d44c47fb20e4c4027c1f0bfbd4d /routing | |
parent | cd279936f61b50674a2bf19fa0a0a56a2bdf46f7 (diff) |
[routing] Moved integration test to quality tests.
Diffstat (limited to 'routing')
-rw-r--r-- | routing/routing_integration_tests/route_test.cpp | 14 | ||||
-rw-r--r-- | routing/routing_quality/routing_quality_tests/ferry_tests.cpp | 6 |
2 files changed, 6 insertions, 14 deletions
diff --git a/routing/routing_integration_tests/route_test.cpp b/routing/routing_integration_tests/route_test.cpp index 44a1bedb6a..8aaddd4369 100644 --- a/routing/routing_integration_tests/route_test.cpp +++ b/routing/routing_integration_tests/route_test.cpp @@ -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 diff --git a/routing/routing_quality/routing_quality_tests/ferry_tests.cpp b/routing/routing_quality/routing_quality_tests/ferry_tests.cpp index 7680a25b51..1b894ae849 100644 --- a/routing/routing_quality/routing_quality_tests/ferry_tests.cpp +++ b/routing/routing_quality/routing_quality_tests/ferry_tests.cpp @@ -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) |