diff --git a/cdlib/test/test_edgeclustering.py b/cdlib/test/test_edgeclustering.py index 8a591cd..d78c07d 100644 --- a/cdlib/test/test_edgeclustering.py +++ b/cdlib/test/test_edgeclustering.py @@ -12,6 +12,16 @@ def test_to_json(self): js = coms.to_json() self.assertIsInstance(js, str) + coms = algorithms.hierarchical_link_community_w(g) + self.assertIsInstance(coms, EdgeClustering) + js = coms.to_json() + self.assertIsInstance(js, str) + + coms = algorithms.hierarchical_link_community_full(g) + self.assertIsInstance(coms, EdgeClustering) + js = coms.to_json() + self.assertIsInstance(js, str) + def test_node_map(self): g = nx.karate_club_graph() coms = algorithms.hierarchical_link_community(g)