Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
yakutovicha committed Apr 10, 2024
1 parent e2a4433 commit 713fd11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_cube.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ def test_get_xyz_index():
assert cube.get_z_index(1) == 4


def test_dv():
def test_dcell():
cube = Cube.from_file(this_dir / "CH4_HOMO.cube")
assert np.allclose(
cube.dv_ang, np.array([[0.25, 0, 0], [0, 0.25, 0], [0, 0, 0.25]]), atol=0.001
cube.dcell_ang, np.array([[0.25, 0, 0], [0, 0.25, 0], [0, 0, 0.25]]), atol=0.001
)


Expand Down

0 comments on commit 713fd11

Please sign in to comment.