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

Function SortForest

generator/generator_tests/complex_loader_tests.cpp:113–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 "Russia_Moscow\n";
112
113void SortForest(tree_node::types::Ptrs<generator::HierarchyEntry> & forest)
114{
115 std::sort(std::begin(forest), std::end(forest),
116 [](auto const & lhs, auto const & rhs) { return lhs->GetData().m_id < rhs->GetData().m_id; });
117}
118
119UNIT_CLASS_TEST(TestWithClassificator, Complex_IsComplex)
120{

Callers 1

UNIT_CLASS_TESTFunction · 0.85

Calls 3

beginFunction · 0.50
endFunction · 0.50
GetDataMethod · 0.45

Tested by

no test coverage detected