Skip to content

Commit

Permalink
Merge pull request #383 from UXARRAY/rajeeja/remove_duplicate_test
Browse files Browse the repository at this point in the history
o Remove duplicate test - test_build_nNodes_per_face
  • Loading branch information
rajeeja authored Jul 18, 2023
2 parents 25ec65b + 9758fab commit 85f803d
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions test/test_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -607,22 +607,6 @@ def _revert_edges_conn_to_face_nodes_conn(

return np.array(res_face_nodes_connectivity)

def test_build_nNodes_per_face(self):
"""Tests the construction of the ``nNodes_per_face`` variable."""

# test on grid constructed from sample datasets
grids = [self.grid_mpas, self.grid_exodus, self.grid_ugrid]

for grid in grids:
# highest possible dimension dimension for a face
max_dimension = grid.nMaxMesh2_face_nodes

# face must be at least a triangle
min_dimension = 3

assert grid.nNodes_per_face.min() >= min_dimension
assert grid.nNodes_per_face.max() <= max_dimension

def test_build_nNodes_per_face(self):
"""Tests the construction of the ``nNodes_per_face`` variable."""

Expand Down

0 comments on commit 85f803d

Please sign in to comment.