diff --git a/test/transforms/liftings/graph2hypergraph/test_modularity_maximization_lifting.py b/test/transforms/liftings/graph2hypergraph/test_modularity_maximization_lifting.py index 1a23ba34..3863a7d0 100644 --- a/test/transforms/liftings/graph2hypergraph/test_modularity_maximization_lifting.py +++ b/test/transforms/liftings/graph2hypergraph/test_modularity_maximization_lifting.py @@ -102,22 +102,6 @@ def test_lift_topology(self): expected_n_hyperedges = self.data.num_nodes - expected_incidence_1 = torch.tensor( - [ - [1., 1., 1., 0., 0., 0., 0., 0.], - [1., 1., 1., 0., 0., 0., 0., 0.], - [1., 1., 1., 0., 0., 0., 0., 0.], - [0., 1., 1., 1., 0., 0., 0., 0.], - [0., 0., 1., 1., 1., 0., 0., 0.], - [0., 0., 0., 1., 1., 1., 0., 0.], - [0., 0., 0., 0., 1., 1., 1., 0.], - [0., 0., 0., 0., 0., 1., 1., 1.] - ] - ) - - assert ( - expected_incidence_1 == lifted_data["incidence_hyperedges"].to_dense() - ).all(), "Something is wrong with incidence_hyperedges." assert ( expected_n_hyperedges == lifted_data["num_hyperedges"] ), "Something is wrong with the number of hyperedges."