public void ToVector3D() { VectorD v = new VectorD(new[] { 1.1, 2.2, 3.3 }); Vector3D u = v.ToVector3D(); Assert.AreEqual(1.1, u[0]); Assert.AreEqual(2.2, u[1]); Assert.AreEqual(3.3, u[2]); }