[routing] Fixing NetherlandsAmsterdamBicycleYes test. It's because EdgeEstimator::CalcSegmentWeight() was called from CalculateETA(). It's fixed in the previous commit.

This commit is contained in:
Vladimir Byko-Ianko 2019-09-09 15:54:39 +03:00 committed by gmoryes
parent 080e975576
commit a008b67275

View file

@ -64,7 +64,7 @@ UNIT_TEST(NetherlandsAmsterdamBicycleYes)
Route const & route = *routeResult.first;
RouterResultCode const result = routeResult.second;
TEST_EQUAL(result, RouterResultCode::NoError, ());
TEST(base::AlmostEqualAbs(route.GetTotalTimeSec(), 345.25, 1.0), (route.GetTotalTimeSec()));
TEST(base::AlmostEqualAbs(route.GetTotalTimeSec(), 347.4, 1.0), (route.GetTotalTimeSec()));
}
// This test on tag cycleway=opposite for a streets which have oneway=yes.