Skip to content
Snippets Groups Projects
Commit ff0a371b authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

TEST: single set of coords

parent 3017d553
No related branches found
No related tags found
No related merge requests found
......@@ -205,6 +205,10 @@ def test_DeformationField_transform():
got = absfield.transform(rcoords)
assert np.all(np.isclose(got, scoords))
# test single set of coords
got = absfield.transform(rcoords[0])
assert np.all(np.isclose(got, scoords[0]))
got = relfield.transform(rvoxels, from_='voxel', to='voxel')
assert np.all(np.isclose(got, svoxels))
got = absfield.transform(rvoxels, from_='voxel', to='voxel')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment