コード例 #1
0
 public void CopyToTest()
 {
     int[] values = new int[] { 2, 3, 4 };
     int[] output = new int[3];
     threeList.CopyTo(output, 0);
     for (int i = 0; i < 3; i++)
     {
         Assert.AreEqual(values[i], output[i]);
     }
 }