forked from organicmaps/organicmaps
Adding integration test on oneway uturn bugfix.
This commit is contained in:
parent
775b76fb9e
commit
b4b550dbc1
1 changed files with 13 additions and 0 deletions
|
@ -396,3 +396,16 @@ UNIT_TEST(SwitzerlandSamstagernBergstrasseTest)
|
|||
TEST_EQUAL(result, IRouter::NoError, ());
|
||||
integration::TestTurnCount(route, 0);
|
||||
}
|
||||
|
||||
UNIT_TEST(RussiaMoscowMikoiankNoUTurnTest)
|
||||
{
|
||||
TRouteResult const routeResult = integration::CalculateRoute(
|
||||
integration::GetOsrmComponents(), MercatorBounds::FromLatLon(55.79041, 37.53770), {0., 0.},
|
||||
MercatorBounds::FromLatLon(55.79182, 37.53008));
|
||||
|
||||
Route const & route = *routeResult.first;
|
||||
IRouter::ResultCode const result = routeResult.second;
|
||||
|
||||
TEST_EQUAL(result, IRouter::NoError, ());
|
||||
integration::TestTurnCount(route, 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue