JTransformsWrapper { public static ComplexNumber[] transform1DComplex(final ComplexNumber[] z) { ArgumentChecker.notNull(z, "array of complex number"); final int n = z.length; final double[] a = packFull(z); DoubleFFT_1D fft = CACHE_1D.get(n); if (fft == null) { fft = new DoubleFFT_1D(n); CACHE_1D.put(n, fft); } fft.complexForward(a); return unpackFull(a); }  static ComplexNumber[] transform1DComplex(final ComplexNumber[] z); static ComplexNumber[] inverseTransform1DComplex(final ComplexNumber[] z, final boolean scale); static ComplexNumber[] fullTransform1DReal(final double[] h); static ComplexNumber[] fullInverseTransform1DReal(final double[] x, final boolean scale); static ComplexNumber[] transform1DReal(final double[] h); static ComplexNumber[] inverseTransform1DReal(final double[] x, final boolean scale);  }
@Test(expectedExceptions = IllegalArgumentException.class) public void testNull1() { JTransformsWrapper.transform1DComplex(null); }
@Test(expectedExceptions = IllegalArgumentException.class) public void testEmpty1() { JTransformsWrapper.transform1DComplex(new ComplexNumber[0]); }