Пример #1
0
        public void TestStringMergeSorter_RandomNumberOfItems()
        {
            ISorter <string> sorter = new MergeSorter <string>();

            TestsHelper.TestStringSorter(sorter);
        }
Пример #2
0
        public void TestStringSelectionSorter_RandomNumberOfItems()
        {
            ISorter <string> sorter = new SelectionSorter <string>();

            TestsHelper.TestStringSorter(sorter);
        }
Пример #3
0
        public void TestInt32SelectionSorter_RandomNumberOfItems()
        {
            ISorter <int> sorter = new SelectionSorter <int>();

            TestsHelper.TestInt32Sorter(sorter);
        }
Пример #4
0
        public void TestInt32MergeSorter_RandomNumberOfItems()
        {
            ISorter <int> sorter = new MergeSorter <int>();

            TestsHelper.TestInt32Sorter(sorter);
        }
Пример #5
0
        public void TestMergeSorterWhenCollectionIsNull_ThrowsException()
        {
            ISorter <int> sorter = new MergeSorter <int>();

            TestsHelper.TestInt32SorterWhenCollectionIsNull(sorter);
        }