Skip to content

Commit

Permalink
Added tests for magnetic_shielding.atoms
Browse files Browse the repository at this point in the history
  • Loading branch information
JosePizarro3 committed Mar 27, 2024
1 parent b9d488a commit 3bafdae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_magresparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ def test_single_point_ethanol(parser):
# Magnetic shielding testing
assert len(sec_calc.magnetic_shielding) == 1
sec_ms = sec_calc.magnetic_shielding[-1]
assert sec_ms.atoms.shape == (9, 2)
assert (sec_ms.atoms[3] == ['H', '4']).all()
assert sec_ms.value.shape == (9, 3, 3)
assert sec_ms.value[4][2][1] == approx(-7.045255458410382e-06)
assert sec_ms.isotropic_value.shape == (9,)
Expand Down

0 comments on commit 3bafdae

Please sign in to comment.