Exemplo n.º 1
0
 public void ICollection()
 {
   FloatVector a = new FloatVector(new float[4]{0,1,2,3});
   float[] b = new float[5];
   
   Assert.AreEqual(a.Count,a.Length);
   
   a.CopyTo(b,1);
   Assert.AreEqual(b[0],0);
   Assert.AreEqual(b[1],0);  
   Assert.AreEqual(b[2],1);
   Assert.AreEqual(b[3],2);
   Assert.AreEqual(b[4],3);  
 }