forked from organicmaps/organicmaps
In city feature speed test fix.
This commit is contained in:
parent
2dd0331d66
commit
68ab207964
2 changed files with 5 additions and 5 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(), 357.0, 1.0), (route.GetTotalTimeSec()));
|
||||
TEST(base::AlmostEqualAbs(route.GetTotalTimeSec(), 268.3, 1.0), (route.GetTotalTimeSec()));
|
||||
}
|
||||
|
||||
// This test on tag cycleway=opposite for a streets which have oneway=yes.
|
||||
|
@ -82,7 +82,7 @@ UNIT_TEST(RussiaMoscowKashirskoe16ToCapLongRoute)
|
|||
CalculateRouteAndTestRouteLength(
|
||||
GetVehicleComponents<VehicleType::Bicycle>(),
|
||||
MercatorBounds::FromLatLon(55.66230, 37.63214), {0., 0.},
|
||||
MercatorBounds::FromLatLon(55.68927, 37.70356), 7726.0);
|
||||
MercatorBounds::FromLatLon(55.68927, 37.70356), 7075.0);
|
||||
}
|
||||
|
||||
// No pass through service road in Russia
|
||||
|
|
|
@ -320,7 +320,7 @@ namespace
|
|||
|
||||
CHECK(routeResult.first, ());
|
||||
Route const & route = *routeResult.first;
|
||||
integration::TestRouteTime(route, 15144.6);
|
||||
integration::TestRouteTime(route, 16203.6);
|
||||
}
|
||||
|
||||
UNIT_TEST(RussiaMoscowLenigradskiy39GeroevPanfilovtsev22TimeTest)
|
||||
|
@ -334,7 +334,7 @@ namespace
|
|||
|
||||
CHECK(routeResult.first, ());
|
||||
Route const & route = *routeResult.first;
|
||||
integration::TestRouteTime(route, 730.);
|
||||
integration::TestRouteTime(route, 1000.0);
|
||||
}
|
||||
|
||||
UNIT_TEST(RussiaMoscowLenigradskiy39GeroevPanfilovtsev22SubrouteTest)
|
||||
|
@ -409,7 +409,7 @@ namespace
|
|||
integration::CalculateRouteAndTestRouteLength(
|
||||
integration::GetVehicleComponents<VehicleType::Car>(),
|
||||
MercatorBounds::FromLatLon(60.23884, 29.71603), {0.0, 0.0},
|
||||
MercatorBounds::FromLatLon(60.28975, 29.79399), 11618.1);
|
||||
MercatorBounds::FromLatLon(60.29083, 29.80333), 16679.2);
|
||||
}
|
||||
|
||||
// Test of decreasing speed factor on roads with bad cover.
|
||||
|
|
Loading…
Add table
Reference in a new issue