public void ICollection() { var a = new ComplexDoubleVector(new Complex[4] { 0, 1, 2, 3 }); var b = new Complex[5]; Assert.AreEqual(a.Count, a.Length); a.CopyTo(b, 1); Assert.AreEqual(b[0], (Complex)0); Assert.AreEqual(b[1], (Complex)0); Assert.AreEqual(b[2], (Complex)1); Assert.AreEqual(b[3], (Complex)2); Assert.AreEqual(b[4], (Complex)3); }