示例#1
0
        //Used to test bubblesort methods
        static public worddata[] bubblesortTest()
        {
            worddata[] testList = CreateTestData();
            worddata[] newTestList;

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

            return(newTestList);
        }
示例#2
0
        //Used to test bubblesort methods
        static public List <long> bubblesortTest()
        {
            List <long> testList = new List <long>()
            {
                1, 453, 46, 67, 23, 567, 2, 3, 623, 6, 2, 58, 9
            };
            List <long> newTestList;

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

            return(newTestList);
        }