示例#1
0
        public static void SortIntIntIComparer_Tests_Negative()
        {
            Driver2 <RefX1_IC <int> > RefDriver = new Driver2 <RefX1_IC <int> >();
            Driver2 <ValX1_IC <int> > ValDriver = new Driver2 <ValX1_IC <int> >();

            RefDriver.SortIntIntIComparerValidations(RefDriver.MakeRefX1ArrayInt(s_arr1));
            ValDriver.SortIntIntIComparerValidations(ValDriver.MakeValX1ArrayInt(s_arr1));
        }
示例#2
0
        public static void SortIComparer_Tests_Negative()
        {
            int[] arr21 = new int[] { 1, 2, 3 };

            Driver2 <RefX1_IC <int> > RefDriver = new Driver2 <RefX1_IC <int> >();

            RefDriver.SortIComparerValidations(RefDriver.MakeRefX1ArrayInt(arr21));

            Driver2 <ValX1_IC <int> > ValDriver = new Driver2 <ValX1_IC <int> >();

            ValDriver.SortIComparerValidations(ValDriver.MakeValX1ArrayInt(arr21));
        }
示例#3
0
        public static void SortIntIntIComparer_Tests()
        {
            Driver2 <RefX1_IC <int> > RefDriver = new Driver2 <RefX1_IC <int> >();

            RefDriver.SortIntIntIComparer(RefDriver.MakeRefX1ArrayInt(s_arr1), 0, 10);
            RefDriver.SortIntIntIComparer(RefDriver.MakeRefX1ArrayInt(s_arr1), 1, 9);
            RefDriver.SortIntIntIComparer(RefDriver.MakeRefX1ArrayInt(s_arr1), 9, 1);
            RefDriver.SortIntIntIComparer(RefDriver.MakeRefX1ArrayInt(s_arr1), 5, 5);
            RefDriver.SortIntIntIComparer(RefDriver.MakeRefX1ArrayInt(s_arr1), 0, 5);
            RefDriver.SortIntIntIComparer(RefDriver.MakeRefX1ArrayInt(s_arr1), 3, 3);

            Driver2 <ValX1_IC <int> > ValDriver = new Driver2 <ValX1_IC <int> >();

            ValDriver.SortIntIntIComparer(ValDriver.MakeValX1ArrayInt(s_arr1), 0, 10);
            ValDriver.SortIntIntIComparer(ValDriver.MakeValX1ArrayInt(s_arr1), 1, 9);
            ValDriver.SortIntIntIComparer(ValDriver.MakeValX1ArrayInt(s_arr1), 9, 1);
            ValDriver.SortIntIntIComparer(ValDriver.MakeValX1ArrayInt(s_arr1), 5, 5);
            ValDriver.SortIntIntIComparer(ValDriver.MakeValX1ArrayInt(s_arr1), 0, 5);
            ValDriver.SortIntIntIComparer(ValDriver.MakeValX1ArrayInt(s_arr1), 3, 3);
        }
示例#4
0
        public static void SortIComparer_Tests()
        {
            Driver2 <RefX1_IC <int> > RefDriver = new Driver2 <RefX1_IC <int> >();

            RefDriver.SortIComparer(RefDriver.MakeRefX1ArrayInt(s_arr1));
            RefDriver.SortIComparer(RefDriver.MakeRefX1ArrayInt(s_arr2));
            RefDriver.SortIComparer(RefDriver.MakeRefX1ArrayInt(s_arr3));
            RefDriver.SortIComparer(RefDriver.MakeRefX1ArrayInt(s_arr4));
            RefDriver.SortIComparer(RefDriver.MakeRefX1ArrayInt(s_arr5));
            RefDriver.SortIComparer(RefDriver.MakeRefX1ArrayInt(s_arr6));
            RefDriver.SortIComparer(RefDriver.MakeRefX1ArrayInt(s_arr7));
            RefDriver.SortIComparer(RefDriver.MakeRefX1ArrayInt(s_arr8));
            RefDriver.SortIComparer(RefDriver.MakeRefX1ArrayInt(s_arr9));
            RefDriver.SortIComparer(RefDriver.MakeRefX1ArrayInt(s_arr10));
            RefDriver.SortIComparer(RefDriver.MakeRefX1ArrayInt(s_arr11));
            RefDriver.SortIComparer(RefDriver.MakeRefX1ArrayInt(s_arr12));
            RefDriver.SortIComparer(RefDriver.MakeRefX1ArrayInt(s_arr13));
            RefDriver.SortIComparer(RefDriver.MakeRefX1ArrayInt(s_arr14));
            RefDriver.SortIComparer(RefDriver.MakeRefX1ArrayInt(s_arr15));
            RefDriver.SortIComparer(RefDriver.MakeRefX1ArrayInt(s_arr16));
            RefDriver.SortIComparer(RefDriver.MakeRefX1ArrayInt(s_arr17));
            RefDriver.SortIComparer(RefDriver.MakeRefX1ArrayInt(s_arr18));
            RefDriver.SortIComparer(RefDriver.MakeRefX1ArrayInt(s_arr19));
            RefDriver.SortIComparer(RefDriver.MakeRefX1ArrayInt(s_arr20));
            RefDriver.SortIComparer(RefDriver.MakeRefX1ArrayInt(s_arr21));
            RefDriver.SortIComparer(RefDriver.MakeRefX1ArrayInt(s_arr22));
            RefDriver.SortIComparer(RefDriver.MakeRefX1ArrayInt(s_arr23));
            RefDriver.SortIComparer(RefDriver.MakeRefX1ArrayInt(s_arr24));
            RefDriver.SortIComparer(RefDriver.MakeRefX1ArrayInt(s_arr25));
            RefDriver.SortIComparer(RefDriver.MakeRefX1ArrayInt(s_arr26));
            RefDriver.SortIComparer(RefDriver.MakeRefX1ArrayInt(s_arr27));
            RefDriver.SortIComparer(RefDriver.MakeRefX1ArrayInt(s_arr28));


            Driver2 <ValX1_IC <int> > ValDriver = new Driver2 <ValX1_IC <int> >();

            ValDriver.SortIComparer(ValDriver.MakeValX1ArrayInt(s_arr1));
            ValDriver.SortIComparer(ValDriver.MakeValX1ArrayInt(s_arr2));
            ValDriver.SortIComparer(ValDriver.MakeValX1ArrayInt(s_arr3));
            ValDriver.SortIComparer(ValDriver.MakeValX1ArrayInt(s_arr4));
            ValDriver.SortIComparer(ValDriver.MakeValX1ArrayInt(s_arr5));
            ValDriver.SortIComparer(ValDriver.MakeValX1ArrayInt(s_arr6));
            ValDriver.SortIComparer(ValDriver.MakeValX1ArrayInt(s_arr7));
            ValDriver.SortIComparer(ValDriver.MakeValX1ArrayInt(s_arr8));
            ValDriver.SortIComparer(ValDriver.MakeValX1ArrayInt(s_arr9));
            ValDriver.SortIComparer(ValDriver.MakeValX1ArrayInt(s_arr10));
            ValDriver.SortIComparer(ValDriver.MakeValX1ArrayInt(s_arr11));
            ValDriver.SortIComparer(ValDriver.MakeValX1ArrayInt(s_arr12));
            ValDriver.SortIComparer(ValDriver.MakeValX1ArrayInt(s_arr13));
            ValDriver.SortIComparer(ValDriver.MakeValX1ArrayInt(s_arr14));
            ValDriver.SortIComparer(ValDriver.MakeValX1ArrayInt(s_arr15));
            ValDriver.SortIComparer(ValDriver.MakeValX1ArrayInt(s_arr16));
            ValDriver.SortIComparer(ValDriver.MakeValX1ArrayInt(s_arr17));
            ValDriver.SortIComparer(ValDriver.MakeValX1ArrayInt(s_arr18));
            ValDriver.SortIComparer(ValDriver.MakeValX1ArrayInt(s_arr19));
            ValDriver.SortIComparer(ValDriver.MakeValX1ArrayInt(s_arr20));
            ValDriver.SortIComparer(ValDriver.MakeValX1ArrayInt(s_arr21));
            ValDriver.SortIComparer(ValDriver.MakeValX1ArrayInt(s_arr22));
            ValDriver.SortIComparer(ValDriver.MakeValX1ArrayInt(s_arr23));
            ValDriver.SortIComparer(ValDriver.MakeValX1ArrayInt(s_arr24));
            ValDriver.SortIComparer(ValDriver.MakeValX1ArrayInt(s_arr25));
            ValDriver.SortIComparer(ValDriver.MakeValX1ArrayInt(s_arr26));
            ValDriver.SortIComparer(ValDriver.MakeValX1ArrayInt(s_arr27));
            ValDriver.SortIComparer(ValDriver.MakeValX1ArrayInt(s_arr28));
        }