Пример #1
0
        public void InsertionSort()
        {
            var chars = new char[] { 'd', 'e', 'f', 'r', 'o', 'b' };
            var sort  = new InsertionSort <char>();

            sort.Go(chars);
            Assert.IsTrue(sort.IsSorted(chars));
        }