Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/easy-graph/Easy-Graph
/ test_clear
Function
test_clear
easygraph/classes/tests/test_hypergraph.py:126–130 ·
view source on GitHub ↗
(g1)
Source
from the content-addressed store, hash-verified
124
125
126
def
test_clear(g1):
127
assert g1.num_e == 3
128
g1.clear()
129
assert g1.num_e == 0
130
assert g1.e == ([], [])
131
132
133
def
test_add_and_merge_hyperedges(g1):
Callers
nothing calls this directly
Calls
1
clear
Method · 0.45
Tested by
no test coverage detected