public void QuickSorting_PartitionTest() { QuickSorting sorting = new QuickSorting(); int[] testArray = new[] { 3, 2, 7, 3, 1, 4, 5, 4 }; sorting.Partition(testArray, 2, 5); CollectionAssert.AreEqual(testArray, new int[] { 3, 2, 1, 3, 7, 4, 5, 4 }); }