public void MergeSortTest() { //arrange var merge = new MergeSort <int>(); merge.Items.AddRange(Items); //act merge.MakeSort(); //assert for (int i = 0; i < Items.Count; i++) { Assert.AreEqual(SortedItems[i], merge.Items[i]); } }