def test_fft_inplace_1d_double(self):
from pyculib.fft import fft_inplace
N = 32
x = np.asarray(np.arange(N), dtype=np.complex128)
xf = np.fft.fft(x)
fft_inplace(x)
self.assertTrue( np.allclose(xf, x, atol=1e-6) )