Commit f46a78f0 authored by Samuel Jackson's avatar Samuel Jackson
Browse files

Modify test to use method

parent de3ada00
......@@ -82,6 +82,7 @@ class IPeakTest(unittest.TestCase):
self._peak.setQSampleFrame(q_sample)
q_lab = np.dot(self._peak.getQLabFrame(), rotation)
npt.assert_allclose(self._peak.getGoniometerMatrix(), rotation)
npt.assert_allclose(self._peak.getQSampleFrame(), q_sample, atol=self._tolerance)
npt.assert_allclose(q_lab, q_sample, atol=self._tolerance)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment