Skip to content

Commit 0671389

Browse files
committed
fixing tests
1 parent 99cb996 commit 0671389

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/test_prep/test_alignment.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,11 @@ def test_correct_distortion(
4040
im_host = imread(path)
4141
im = cp.asarray(im_host)
4242

43-
shift = (0, 0)
44-
step = (1, 1)
45-
corrected_data = implementation(im, distortion_coeffs_path, shift, step).get()
43+
shift_xy = [0, 0]
44+
step_xy = [1, 1]
45+
corrected_data = implementation(
46+
im, distortion_coeffs_path, shift_xy, step_xy, order=1, mode="reflect"
47+
).get()
4648

4749
assert_allclose(np.mean(corrected_data), mean_value)
4850
assert np.max(corrected_data) == max_value

0 commit comments

Comments
 (0)