Skip to content

Commit

Permalink
Add float to autogenerate test
Browse files Browse the repository at this point in the history
  • Loading branch information
DragaDoncila committed Oct 27, 2023
1 parent 4c1c78d commit 97b641e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def test_threshold_autogenerate_widget():
# because our "widget" is a pure function, we can call it and
# test it independently of napari
im_data = np.random.random((100, 100))
thresholded = threshold_autogenerate_widget(im_data)
thresholded = threshold_autogenerate_widget(im_data, 0.5)
assert thresholded.shape == im_data.shape
# etc.

Expand Down

0 comments on commit 97b641e

Please sign in to comment.