Пример #1
0
		public void GetSubVector()
		{
			ComplexFloatVector test = new ComplexFloatVector(new float[4] { 0, 1, 2, 3 });
			ComplexFloatVector subvector = test.GetSubVector(1, 2);

			Assert.AreEqual(subvector.Length, 2);
			Assert.AreEqual(subvector[0], test[1]);
			Assert.AreEqual(subvector[1], test[2]);
		}