public void ModelTrackerCollection_ExistingCollection_CopyToArray_ArrayContainsModels() { TestModel[] arr = new TestModel[Existing.Count]; Existing.CopyTo(arr, 0); foreach (var m in Existing) { Assert.IsTrue(arr.Contains(m)); } }
public void ModelTrackerCollection_ExistingCollection_CopyToArray_ArrayContainsModels() { TestModel[] arr = new TestModel[Existing.Count]; Existing.CopyTo(arr, 0); foreach (var m in Existing) { Assert.IsTrue(arr.Contains(m)); } }