public void Use_StraightInsertSort_ByDesc_Correct()
        {
            var arr = this.GetSortDatas();

            StraightInsertSort.Sort(arr, (t1, t2) => t2 - t1);
            _helper.WriteLine($"排序后序列:[{string.Join(',', arr)}]");
            Assert.Equal("9,8,7,6,5,4,3,2,1", string.Join(',', arr));
        }
        public void Use_StraightInsertSort_ByAsc_Correct()
        {
            var arr = this.GetSortDatas();

            StraightInsertSort.Sort(arr, (t1, t2) => t1 - t2);
            _helper.WriteLine($"排序后序列:[{string.Join(',', arr)}]");
            Assert.Equal("1,2,3,4,5,6,7,8,9", string.Join(',', arr));
        }