public void EmptyArrayInput_EmptyArrayReturned() { Assert.Equal(new int[0], SortOneThreeTwo.Sort(new int[0])); }
public void SpecificInput_SortedArrayReturned() { Assert.Equal(new[] { 111, 156, 101, 7 }, SortOneThreeTwo.Sort(new[] { 7, 111, 101, 156 })); }
public void ArrayWithDuplicatesInput_SortedArrayReturned() { Assert.Equal(new[] { 8, 8, 9, 9, 10, 10 }, SortOneThreeTwo.Sort(new[] { 8, 9, 8, 10, 9, 10 })); }
public void ArrayWithMultidigitNumbersInput_SortedArrayReturned() { Assert.Equal(new[] { 9, 999, 99 }, SortOneThreeTwo.Sort(new[] { 9, 99, 999 })); }
public void SimpleArrayInput_SortedArrayReturned() { Assert.Equal(new[] { 4, 1, 3, 2 }, SortOneThreeTwo.Sort(new[] { 1, 2, 3, 4 })); }