Skip to content

Commit

Permalink
Address test issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jaclark5 committed Jan 5, 2025
1 parent 13f9215 commit 52c047a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/alchemlyb/tests/parsing/test_lammps.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,12 @@ def test_beta_from_units():
assert_almost_equal(lmp.beta_from_units(T_K, "real"), 1.6774, decimal=4)
assert_almost_equal(lmp.beta_from_units(T_lj, "lj"), 1.4286, decimal=4)
assert_almost_equal(lmp.beta_from_units(T_K, "metal"), 38.6817, decimal=4)
assert_almost_equal(lmp.beta_from_units(T_K, "si"), 2.414323505391137e20, decimal=4)
assert_approx_equal(lmp.beta_from_units(T_K, "cgs"), 24143235053911.37, significant=7)
assert_approx_equal(
lmp.beta_from_units(T_K, "si"), 2.414323505391137e20, significant=7
)
assert_approx_equal(
lmp.beta_from_units(T_K, "cgs"), 24143235053911.37, significant=7
)
assert_almost_equal(lmp.beta_from_units(T_K, "electron"), 1052.5834, decimal=4)
assert_almost_equal(lmp.beta_from_units(T_K, "micro"), 241432.3505, decimal=4)
assert_almost_equal(lmp.beta_from_units(T_K, "nano"), 0.24143, decimal=4)
Expand Down

0 comments on commit 52c047a

Please sign in to comment.