Skip to content

Commit d19c025

Browse files
committed
fix: fix docstring for method in test.
1 parent 358df45 commit d19c025

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_symmetryutilities.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def test_positionDifference(self):
110110
return
111111

112112
def test_position_difference(self):
113-
"""Check positionDifference in normal and boundary cases."""
113+
"""Check position_difference in normal and boundary cases."""
114114
self.assertTrue(numpy.allclose(position_difference([0.1, 0.9, 0.2], [0.8, 0.1, 0.8]), [0.3, 0.2, 0.4]))
115115
self.assertTrue(numpy.allclose(position_difference([1.2, -0.1, 2.75], [0.1, 0.4, 0.25]), [0.1, 0.5, 0.5]))
116116
return
@@ -122,7 +122,7 @@ def test_nearestSiteIndex(self):
122122
return
123123

124124
def test_nearest_site_index(self):
125-
"""Check nearestSiteIndex with single and multiple sites."""
125+
"""Check nearest_site_index with single and multiple sites."""
126126
self.assertEqual(nearest_site_index([[0.1, 0.9, 0.2], [0.8, 0.1, 0.8]], [0.8, 0.1, 0.8]), 1)
127127
self.assertEqual(nearest_site_index([[1.2, -0.1, 2.75]], [0.7, 0.4, 0.25]), 0)
128128
return

0 commit comments

Comments
 (0)