Skip to content

Commit

Permalink
Changing test function names to confer with convention. Resolves #19
Browse files Browse the repository at this point in the history
  • Loading branch information
devendragovil committed Sep 21, 2023
1 parent 0e89798 commit 111fbe6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_neighborhood.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class TestNeighborhood:
"""Test the neighborhood module of TopoEmbedX."""

def test_value_error(self):
def test_neighborhood_from_complex_raise_error(self):
"""Testing if right assertion is raised for incorrect type."""
with pytest.raises(TypeError) as e:
tex.neighborhood.neighborhood_from_complex(1)
Expand All @@ -19,7 +19,7 @@ def test_value_error(self):
== """Input Complex can only be a Simplicial, Cell or Combinatorial Complex."""
)

def test_matrix_dimensions_cellcomplex(self):
def test_neighborhood_from_complex_matrix_dimension_cell_complex(self):
"""Testing the matrix dimensions for the adjacency and coadjacency matrices."""
# Testing for the case of Cell Complex
cc1 = tnx.classes.CellComplex(
Expand Down

0 comments on commit 111fbe6

Please sign in to comment.