[Numpy-svn] r4063 - trunk/numpy/lib/tests

numpy-svn@scip... numpy-svn@scip...
Thu Sep 20 14:30:41 CDT 2007


Author: stefan
Date: 2007-09-20 14:30:24 -0500 (Thu, 20 Sep 2007)
New Revision: 4063

Modified:
   trunk/numpy/lib/tests/test_twodim_base.py
Log:
Add test -- dimensions for rot90.


Modified: trunk/numpy/lib/tests/test_twodim_base.py
===================================================================
--- trunk/numpy/lib/tests/test_twodim_base.py	2007-09-20 19:26:09 UTC (rev 4062)
+++ trunk/numpy/lib/tests/test_twodim_base.py	2007-09-20 19:30:24 UTC (rev 4063)
@@ -133,6 +133,9 @@
         for k in range(0,13,4):
             assert_equal(rot90(a,k=k),b4)
 
+    def check_axes(self):
+        a = ones((50,40,3))
+        assert_equal(rot90(a).shape,(40,50,3))
 
 class test_histogram2d(NumpyTestCase):
     def check_simple(self):



More information about the Numpy-svn mailing list