[Numpy-svn] r3453 - trunk/numpy/fft/tests

numpy-svn at scipy.org numpy-svn at scipy.org
Mon Nov 20 01:07:07 CST 2006


Author: stefan
Date: 2006-11-20 01:06:48 -0600 (Mon, 20 Nov 2006)
New Revision: 3453

Added:
   trunk/numpy/fft/tests/test_fftpack.py
Log:
Add test for fftpack.


Added: trunk/numpy/fft/tests/test_fftpack.py
===================================================================
--- trunk/numpy/fft/tests/test_fftpack.py	2006-11-20 07:01:35 UTC (rev 3452)
+++ trunk/numpy/fft/tests/test_fftpack.py	2006-11-20 07:06:48 UTC (rev 3453)
@@ -0,0 +1,12 @@
+import sys
+from numpy.testing import *
+set_package_path()
+from numpy.fft import *
+restore_path()
+
+class test_fftshift(NumpyTestCase):
+    def check_fft_n(self):
+        self.failUnlessRaises(ValueError,fft,[1,2,3],0)
+
+if __name__ == "__main__":
+    NumpyTest().run()



More information about the Numpy-svn mailing list