コード例 #1
0
 public void GetSubVector()
 {
   FloatVector test = new FloatVector(new float[4]{0,1,2,3});
   FloatVector subvector = test.GetSubVector(1,2);
   
   Assert.AreEqual(subvector.Length,2);
   Assert.AreEqual(subvector[0],test[1]);
   Assert.AreEqual(subvector[1],test[2]);
 }