MCPcopy Create free account
hub / github.com/LLMQuant/quant-mind / test_children_of

Method test_children_of

tests/knowledge/test_tree.py:119–123  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

117 self.assertIsNone(root.parent_id)
118
119 def test_children_of(self):
120 tree = _make_tree()
121 children = tree.children_of(tree.root_node_id)
122 titles = [c.title for c in children]
123 self.assertEqual(titles, ["A", "B"])
124
125 def test_walk_dfs_order(self):
126 tree = _make_tree()

Callers

nothing calls this directly

Calls 2

_make_treeFunction · 0.85
children_ofMethod · 0.80

Tested by

no test coverage detected