MCPcopy
hub / github.com/joowani/binarytree / TestNode

Class TestNode

tests/test_tree.py:854–856  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

852
853def test_tree_validate() -> None:
854 class TestNode(Node):
855 def __setattr__(self, attr: str, value: Any) -> None:
856 object.__setattr__(self, attr, value)
857
858 root = Node(1)
859 root.validate() # Should pass

Callers 2

test_tree_validateFunction · 0.85

Calls

no outgoing calls

Tested by 2

test_tree_validateFunction · 0.68