diff options
author | Stefan van der Walt <stefan@sun.ac.za> | 2006-11-20 07:06:48 +0000 |
---|---|---|
committer | Stefan van der Walt <stefan@sun.ac.za> | 2006-11-20 07:06:48 +0000 |
commit | 1ad56e631c29869d127931b555d0b366f7e75641 (patch) | |
tree | 25c76ab78c222cfd2ae2a36bbef46b18e766d66e /numpy/fft | |
parent | 8fe987afb4de13e9160191917b6b3ec8b79adfa3 (diff) | |
download | python-numpy-1ad56e631c29869d127931b555d0b366f7e75641.tar.gz python-numpy-1ad56e631c29869d127931b555d0b366f7e75641.tar.bz2 python-numpy-1ad56e631c29869d127931b555d0b366f7e75641.zip |
Add test for fftpack.
Diffstat (limited to 'numpy/fft')
-rw-r--r-- | numpy/fft/tests/test_fftpack.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/numpy/fft/tests/test_fftpack.py b/numpy/fft/tests/test_fftpack.py new file mode 100644 index 000000000..0e38fb3ea --- /dev/null +++ b/numpy/fft/tests/test_fftpack.py @@ -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() |