//Used to test selection sort methods static public worddata[] selectionSortTest() { worddata[] testList = CreateTestData(); worddata[] newTestList; newTestList = new selectionsort(testList).getWorddata(); return(newTestList); }
//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); }