コード例 #1
0
ファイル: tests.cs プロジェクト: seanburnham/DataStructures
        //Used to test selection sort methods
        static public worddata[] selectionSortTest()
        {
            worddata[] testList = CreateTestData();
            worddata[] newTestList;

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

            return(newTestList);
        }
コード例 #2
0
ファイル: tests.cs プロジェクト: seanburnham/DataStructures
        //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);
        }