forked from organicmaps/organicmaps
[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:
parent
080e975576
commit
a008b67275
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue