Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
ncullen93 committed Mar 13, 2024
1 parent 2a1b3f5 commit df93d37
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,9 @@ def test_decrop_image_example(self):
cropped = ants.crop_image(fi, mask, 1)
cropped = ants.smooth_image(cropped, 1)
decropped = ants.decrop_image(cropped, fi)

# test chaining
decropped = cropped.decrop_image(fi)

# image not float
cropped = ants.crop_image(fi.clone("unsigned int"), mask, 1)
Expand Down

0 comments on commit df93d37

Please sign in to comment.