Test parallel execution of warp_fast

This commit is contained in:
Johannes Schönberger
2015-05-19 18:25:01 -07:00
parent 0d4c76948b
commit 07f2e4b93f
+2
View File
@@ -11,6 +11,7 @@ from skimage.transform import (warp, warp_coords, rotate, resize, rescale,
from skimage import transform as tf, data, img_as_float
from skimage.color import rgb2gray
from skimage._shared._warnings import expected_warnings
from skimage._shared.testing import test_parallel
np.random.seed(0)
@@ -41,6 +42,7 @@ def test_warp_callable():
assert_almost_equal(outx, refx)
@test_parallel()
def test_warp_matrix():
x = np.zeros((5, 5), dtype=np.double)
x[2, 2] = 1