Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TST: Adapt tests for fixed bugs.
Browse files Browse the repository at this point in the history
jwboth committed Aug 26, 2024
1 parent 8e3fb1a commit a9feb53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/test_fv.py
Original file line number Diff line number Diff line change
@@ -101,7 +101,7 @@ def test_mass_face_2d():

# Check diagonal values
assert len(np.unique(np.diag(mass))) == 1
assert np.isclose(mass[0, 0], 0.5 * 0.125)
assert all([np.isclose(mass[i, i], 0.5 * 0.25) for i in range(20)])


def test_mass_face_3d():
@@ -116,7 +116,7 @@ def test_mass_face_3d():

# Check diagonal values
assert len(np.unique(np.diag(mass))) == 1
assert np.isclose(mass[0, 0], 0.5 * 0.25)
assert all([np.isclose(mass[i, i], 0.5 * 0.25 * 2) for i in range(60)])


def test_tangential_reconstruction_2d_1():

0 comments on commit a9feb53

Please sign in to comment.