public void FindPositionTest() { var actual = InsertionSorter.FindPosition(new[] { 1, 4, 6 }, 3, 2); Assert.AreEqual(1, actual); actual = InsertionSorter.FindPosition(new[] { 1, 4, 6, 5 }, 3, 7); Assert.AreEqual(3, actual); }