Fixing FakeEdgesCombinatorialExplosion test. Some memory for example (WorldCoasts_obsolete.mwm) may not be registered.

This commit is contained in:
Vladimir Byko-Ianko 2019-09-09 13:49:00 +03:00 committed by Tatiana Yan
parent fc8c1f1b66
commit 6197d70aaa

View file

@ -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<CarModelFactory>(CountryParentNameGetterFn()));