diff options
author | Arsentiy Milchakov <a.milchakov@corp.mail.ru> | 2016-08-22 12:16:41 +0300 |
---|---|---|
committer | Arsentiy Milchakov <a.milchakov@corp.mail.ru> | 2016-08-22 12:16:41 +0300 |
commit | c0602426408bf5aaa1717af437d3978b88a93649 (patch) | |
tree | 49fbe2ec267161e6accd880e08c3e465b3377baa /routing | |
parent | 3ba6b9bde02d4ae0b0ac35984ab95615541bc9e3 (diff) |
review fixes
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 4763ed78cd..c95133c04b 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, ()); } |