Esempio n. 1
0
        public void SuperSortDown()
        {
            SuperList <int> superlist = new SuperList <int>()
            {
                9, 1, 8, 2, 7, 3, 6, 4, 5
            };

            superlist.SortDown();
            int counter = 0;

            for (int i = superlist.Count; i > 0; i--)
            {
                Assert.AreEqual(i, superlist[counter]);
                counter++;
            }
        }