From 6197d70aaa3f2facb5d1db5c38b80e497fc1c59e Mon Sep 17 00:00:00 2001 From: Vladimir Byko-Ianko Date: Mon, 9 Sep 2019 13:49:00 +0300 Subject: [PATCH] Fixing FakeEdgesCombinatorialExplosion test. Some memory for example (WorldCoasts_obsolete.mwm) may not be registered. --- routing/routing_integration_tests/road_graph_tests.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/routing/routing_integration_tests/road_graph_tests.cpp b/routing/routing_integration_tests/road_graph_tests.cpp index 1d2ff601e6..b3e6cb8243 100644 --- a/routing/routing_integration_tests/road_graph_tests.cpp +++ b/routing/routing_integration_tests/road_graph_tests.cpp @@ -34,10 +34,7 @@ UNIT_TEST(FakeEdgesCombinatorialExplosion) FrozenDataSource dataSource; for (auto const & file : localFiles) - { - auto const result = dataSource.Register(file); - TEST_EQUAL(result.second, MwmSet::RegResult::Success, ()); - } + dataSource.Register(file); FeaturesRoadGraph graph(dataSource, IRoadGraph::Mode::ObeyOnewayTag, make_shared(CountryParentNameGetterFn()));