public void HoareSort_ShouldSortAndMatchRightExpected(int[] source, int[] expected) { HoareSort.Sort(source, 0, source.Length - 1); Assert.AreEqual(source, expected); }
public void HoareSort_ShouldNotMatchWrongSorting(int[] source, int[] expected) { HoareSort.Sort(source, 0, source.Length - 1); Assert.AreNotEqual(source, expected); }