mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-10 20:19:24 +08:00
TEST: add test on step
This commit is contained in:
@@ -89,6 +89,11 @@ def test_view_as_windows_window_too_large():
|
||||
view_as_windows(A, (11,))
|
||||
|
||||
|
||||
@raises(ValueError)
|
||||
def test_view_as_windows_step_below_one():
|
||||
A = np.arange(10)
|
||||
view_as_windows(A, (11,), step=0.9)
|
||||
|
||||
def test_view_as_windows_1D():
|
||||
A = np.arange(10)
|
||||
window_shape = (3,)
|
||||
|
||||
Reference in New Issue
Block a user