diff options
author | Ilya Zverev <ilya@zverev.info> | 2016-08-22 13:03:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-22 13:03:38 +0300 |
commit | 39103b30cf1fcb94801d6725f60897c85df45304 (patch) | |
tree | 02a45623a111aa0a943f6d9ba19429d3ef0c1c90 /routing | |
parent | 627d66722a15982edf6a9f914fd316604f857d92 (diff) | |
parent | c0602426408bf5aaa1717af437d3978b88a93649 (diff) |
Merge pull request #4080 from milchakov/place_page_wifi
[editor] populate FMD_INTERNET from type for MapObjects
Diffstat (limited to 'routing')
-rw-r--r-- | routing/routing_tests/vehicle_model_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routing/routing_tests/vehicle_model_test.cpp b/routing/routing_tests/vehicle_model_test.cpp index 85e482dd9e..3b416f4b07 100644 --- a/routing/routing_tests/vehicle_model_test.cpp +++ b/routing/routing_tests/vehicle_model_test.cpp @@ -45,7 +45,7 @@ void CheckSpeed(initializer_list<uint32_t> const & types, double expectedSpeed) TestVehicleModel vehicleModel; feature::TypesHolder h; for (uint32_t t : types) - h(t); + h.Add(t); TEST_EQUAL(vehicleModel.GetMinTypeSpeed(h), expectedSpeed, ()); } @@ -55,7 +55,7 @@ void CheckOneWay(initializer_list<uint32_t> const & types, bool expectedValue) TestVehicleModel vehicleModel; feature::TypesHolder h; for (uint32_t t : types) - h(t); + h.Add(t); TEST_EQUAL(vehicleModel.HasOneWayType(h), expectedValue, ()); } |