public void GetSubVector() { ComplexDoubleVector test = new ComplexDoubleVector(new double[4]{0,1,2,3}); ComplexDoubleVector subvector = test.GetSubVector(1,2); Assert.AreEqual(subvector.Length,2); Assert.AreEqual(subvector[0],test[1]); Assert.AreEqual(subvector[1],test[2]); }