using LinearAcoustics
using Base.Test

Nt = 100
x = randn(Nt,10)
xf = fft(x,1)[1:floor(Int64,Nt/2)+1,:]
x2 = hifft(xf,Nt)

@test vecnorm(x-x2)<1e-10

Nt = 101
x = randn(Nt,10)
xf = fft(x,1)[1:floor(Int64,Nt/2)+1,:]
x2 = hifft(xf,Nt)

@test vecnorm(x-x2)<1e-10
