MCPcopy Create free account
hub / github.com/comaps/comaps / BuildFeatures

Method BuildFeatures

generator/generator_tests_support/test_generator.cpp:89–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89void TestRawGenerator::BuildFeatures(std::string const & mwmName)
90{
91 using namespace feature;
92 auto const type = IsWorld(mwmName) ? DataHeader::MapType::World : DataHeader::MapType::Country;
93 CHECK(GenerateFinalFeatures(m_genInfo, mwmName, type), ());
94
95 std::string const mwmPath = GetMwmPath(mwmName);
96
97 CHECK(BuildOffsetsTable(mwmPath), ());
98 CHECK(indexer::BuildIndexFromDataFile(mwmPath, mwmPath), ());
99}
100
101void TestRawGenerator::BuildSearch(std::string const & mwmName)
102{

Callers 3

UNIT_TESTFunction · 0.80
UNIT_CLASS_TESTFunction · 0.80

Calls 4

GenerateFinalFeaturesFunction · 0.85
BuildOffsetsTableFunction · 0.85
BuildIndexFromDataFileFunction · 0.85
GetMwmPathFunction · 0.50

Tested by

no test coverage detected