public void ToCopy_Test() { T[] copy = new T[_tree.Count]; _tree.CopyTo(copy, 0); Assert.Multiple((() => { CollectionAssert.AreEqual(_array, copy); Assert.AreNotSame(_array, copy); })); }
public void ToCopy_Test() { T[] copy = new T[_tree.Count]; _tree.CopyTo(copy, 0); Assert.Multiple((() => { CollectionAssert.AreEqual(_array, copy); Assert.AreNotSame(_array, copy); })); }