public void Clone() { ComplexDoubleVector a = new ComplexDoubleVector(new double[4]{0,1,2,3}); ComplexDoubleVector b = a.Clone(); Assert.AreEqual(a[0],b[0]); Assert.AreEqual(a[1],b[1]); Assert.AreEqual(a[2],b[2]); Assert.AreEqual(a[3],b[3]); a=a*2; Assert.AreEqual(a[0],b[0]*2); Assert.AreEqual(a[1],b[1]*2); Assert.AreEqual(a[2],b[2]*2); Assert.AreEqual(a[3],b[3]*2); }