示例#1
0
        public void SortByDescending()
        {
            //Arrange
            int[] inputArray    = new int[] { 31, 41, 59, 26, 41, 58 };
            int[] expectedArray = new int[] { 59, 58, 41, 41, 31, 26 };

            //Act

            //Assert
            Assert.Equal(SortMethods.InsertionSortByDescending(inputArray), expectedArray);
        }