public void TestCopyFrom() { DynamicArray <int> array = new int[] { 1, 2, 3, 4, 5 }; DynamicArray <int> array2 = new DynamicArray <int>(); array2.CopyFrom(array); Assert.That(object.ReferenceEquals(array.Values, array2.Values), Is.False); CollectionAssert.AreEquivalent(array.Values, array2.Values); }