*/
public void testToComplexArray() {
Complex[] a =
new Complex[] { new Complex(1, 2), new Complex(3, 4), new Complex(5, 6) };
ComplexArray1D b = new ComplexArray1D(a);
Complex[] c = b.toComplexArray();
for (int i = 0; i < a.length; i++) {
assertTrue(a[i].equals(c[i]));
}
}