def test_extract_core_and_interface():
graph=nx.path_graph(4)
prep_cip_extract(graph)
res = lcu.extract_core_and_interface(root_node=3, graph=graph, radius=1,thickness=1)
#gprint(res.graph)
assert ( str(res) == "cip: int:16931, cor:695036, rad:1, thi:1, rot:3")
评论列表
文章目录