Fixing bicycle integration test after allowing bicycle routing on highway=footway in Russia.

This commit is contained in:
Vladimir Byko-Ianko 2016-05-26 17:37:28 +03:00
parent 47781c5bea
commit 29943ad899
2 changed files with 4 additions and 8 deletions

View file

@ -18,5 +18,5 @@ UNIT_TEST(RussiaMoscowNahimovskyLongRoute)
{
integration::CalculateRouteAndTestRouteLength(
integration::GetBicycleComponents(), MercatorBounds::FromLatLon(55.66151, 37.63320), {0., 0.},
MercatorBounds::FromLatLon(55.67695, 37.56220), 6938.0);
MercatorBounds::FromLatLon(55.67695, 37.56220), 7570.0);
}

View file

@ -17,13 +17,9 @@ UNIT_TEST(RussiaMoscowSevTushinoParkBicycleWayTurnTest)
IRouter::ResultCode const result = routeResult.second;
TEST_EQUAL(result, IRouter::NoError, ());
integration::TestTurnCount(route, 3);
integration::TestTurnCount(route, 1);
integration::GetNthTurn(route, 0).TestValid().TestDirection(TurnDirection::TurnLeft);
integration::GetNthTurn(route, 1).TestValid().TestDirection(TurnDirection::TurnLeft);
integration::GetNthTurn(route, 2).TestValid().TestDirection(TurnDirection::TurnLeft);
integration::TestRouteLength(route, 2350.0);
integration::TestRouteLength(route, 1054.0);
}
UNIT_TEST(RussiaMoscowGerPanfilovtsev22BicycleWayTurnTest)
@ -54,7 +50,7 @@ UNIT_TEST(RussiaMoscowSalameiNerisPossibleTurnCorrectionBicycleWayTurnTest)
integration::TestTurnCount(route, 1);
integration::GetNthTurn(route, 0).TestValid().TestDirection(TurnDirection::TurnSlightRight);
integration::GetNthTurn(route, 0).TestValid().TestDirection(TurnDirection::GoStraight);
}
UNIT_TEST(RussiaMoscowSevTushinoParkBicycleOnePointTurnTest)