\Kc@sdZddkTddklZlZlZddklZdZde fdYZ de fd YZ e d jo e nd S( s* Test functions for fftpack.helper module i(t*(tfftshiftt ifftshifttfftfreq(tpicCs t|S(N(trand(tsize((sA/usr/lib64/python2.6/site-packages/numpy/fft/tests/test_helper.pytrandom st TestFFTShiftcBseZdZdZRS(c Csddddddddd g }dddd dddddg }tt||tt||dddddd dddd g }d dddd dddddg }tt||tt||dS( Niiiiiiiiii(tassert_array_almost_equalRR(tselftxty((sA/usr/lib64/python2.6/site-packages/numpy/fft/tests/test_helper.pyttest_definitions!!$$cCsLxEdddddgD].}t|f}ttt||qWdS(Niii idi(RR RR(R tnR ((sA/usr/lib64/python2.6/site-packages/numpy/fft/tests/test_helper.pyt test_inverses(t__name__t __module__R R(((sA/usr/lib64/python2.6/site-packages/numpy/fft/tests/test_helper.pyRs t TestFFTFreqcBseZdZRS(c Csddddddddd g }td td |td ttd t|dddddd dddd g }td td |td ttd t|dS( Niiiiiiiiii ii (R RR(R R ((sA/usr/lib64/python2.6/site-packages/numpy/fft/tests/test_helper.pyR s !$(RRR (((sA/usr/lib64/python2.6/site-packages/numpy/fft/tests/test_helper.pyRst__main__N(t__doc__t numpy.testingt numpy.fftRRRtnumpyRRtTestCaseRRRtrun_module_suite(((sA/usr/lib64/python2.6/site-packages/numpy/fft/tests/test_helper.pyts