| 57 | } |
| 58 | |
| 59 | void TestDepthNodeById(generator::hierarchy::HierarchyLinker::Node::Ptr const & tree, uint64_t id, size_t depth) |
| 60 | { |
| 61 | auto osmId = base::MakeOsmWay(id); |
| 62 | TEST_EQUAL(tree_node::GetDepth( |
| 63 | tree_node::FindIf(tree, [&](auto const & data) { return data.GetCompositeId().m_mainId == osmId; })), |
| 64 | depth, ()); |
| 65 | } |
| 66 | |
| 67 | UNIT_CLASS_TEST(TestWithClassificator, ComplexHierarchy_FlattenBuildingParts) |
| 68 | { |
no test coverage detected