[Scipy-svn] r3455 - trunk/scipy/ndimage/tests
scipy-svn at scipy.org
scipy-svn at scipy.org
Mon Oct 22 08:29:18 EDT 2007
Author: stefan
Date: 2007-10-22 07:28:58 -0500 (Mon, 22 Oct 2007)
New Revision: 3455
Modified:
trunk/scipy/ndimage/tests/test_ndimage.py
Log:
Check range of zoom values.
Modified: trunk/scipy/ndimage/tests/test_ndimage.py
===================================================================
--- trunk/scipy/ndimage/tests/test_ndimage.py 2007-10-22 12:23:21 UTC (rev 3454)
+++ trunk/scipy/ndimage/tests/test_ndimage.py 2007-10-22 12:28:58 UTC (rev 3455)
@@ -2124,6 +2124,8 @@
assert numpy.all(arr[-1,:] != 0)
assert numpy.all(arr[-1,:] >= 20)
assert numpy.all(arr[0,:] <= 5)
+ assert numpy.all(arr >= 0)
+ assert numpy.all(arr <= 24)
def test_zoom2(self):
"zoom 2"
More information about the Scipy-svn
mailing list