diff --git a/distopia/tests/test_distopia.py b/distopia/tests/test_distopia.py index b1906e33..93aea8c5 100644 --- a/distopia/tests/test_distopia.py +++ b/distopia/tests/test_distopia.py @@ -6,13 +6,16 @@ - def convert_ndarray(*args, dtype): if len(args) == 1: return np.asarray(args[0], dtype=dtype) else: return (np.asarray(a, dtype=dtype) for a in args) + +def test_version(): + assert distopia.__version__ + class TestDistances: def arange_input(self, N, dtype): return np.arange(3 * N, dtype=dtype).reshape(N, 3) @@ -398,4 +401,4 @@ def test_periodic_angles(self, box_bonds, positions_angles, dtype): test3 = distopia.calc_angles_ortho(a, b, c2, box=box) for val in [test1, test2, test3]: - assert_almost_equal(ref, val, self.prec, err_msg="Min image in angle calculation failed") \ No newline at end of file + assert_almost_equal(ref, val, self.prec, err_msg="Min image in angle calculation failed")