public void ChangeTest() { var actual = new[] { 0, 1 }; SelectionSorter.Change(actual, 0, 1); Assert.IsTrue(actual.SequenceEqual(new[] { 1, 0 })); }