MCPcopy 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
126def test_clear(g1):
127 assert g1.num_e == 3
128 g1.clear()
129 assert g1.num_e == 0
130 assert g1.e == ([], [])
131
132
133def test_add_and_merge_hyperedges(g1):

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected