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

Method test_find_path_root

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

Source from the content-addressed store, hash-verified

128 self.assertEqual(order, ["Root", "A", "A1", "A2", "B"])
129
130 def test_find_path_root(self):
131 tree = _make_tree()
132 path = tree.find_path(tree.root_node_id)
133 self.assertEqual([n.title for n in path], ["Root"])
134
135 def test_find_path_leaf(self):
136 tree = _make_tree()

Callers

nothing calls this directly

Calls 2

_make_treeFunction · 0.85
find_pathMethod · 0.80

Tested by

no test coverage detected