Exemplo n.º 1
0
        //Used to test selection sort methods
        static public worddata[] selectionSortTest()
        {
            worddata[] testList = CreateTestData();
            worddata[] newTestList;

            newTestList = new selectionsort(testList).getWorddata();

            return(newTestList);
        }
Exemplo n.º 2
0
        //Used to test selection sort methods
        static public List <long> selectionSortTest()
        {
            List <long> testList = new List <long>()
            {
                1, 2, 3, 4, 5, 6, 7, 8, 9
            };
            List <long> newTestList;

            newTestList = new selectionsort(testList).getList();

            return(newTestList);
        }