MCPcopy Create free account
hub / github.com/easy-graph/Easy-Graph / test_clone

Function test_clone

easygraph/classes/tests/test_hypergraph.py:353–359  ·  view source on GitHub ↗
(g1)

Source from the content-addressed store, hash-verified

351
352
353def test_clone(g1):
354 assert g1.num_v == 6
355 assert g1.num_e == 3
356 g1_clone = g1.clone()
357 g1_clone.add_hyperedges([0, 2], 1, group_name="knn")
358 assert g1.num_e == 3
359 assert g1_clone.num_e == 4
360
361
362# test deep learning

Callers

nothing calls this directly

Calls 2

cloneMethod · 0.45
add_hyperedgesMethod · 0.45

Tested by

no test coverage detected