transform.radon: Add testcases for rectangular input arrays.

This commit is contained in:
Jostein Bø Fløystad
2013-06-18 12:03:31 +02:00
parent 4e0cbf97fe
commit b8a20bcb59
@@ -37,6 +37,9 @@ def test_radon_center():
circles = [False, True]
for shape, circle in itertools.product(shapes, circles):
yield check_radon_center, shape, circle
rectangular_shapes = [(32, 16), (33, 17)]
for shape in rectangular_shapes:
yield check_radon_center, shape, False
def test_radon_iradon():