@@ -27,7 +27,7 @@ def setUp(self):
2727 self .sorted_alpha_array = sorted (string )
2828
2929
30- class TestBubbleSortTest (TestSortingAlgorithm ):
30+ class TestBubbleSort (TestSortingAlgorithm ):
3131 def test_bubble_sort (self ):
3232 self .result = bubble_sort .sort (self .array )
3333 self .assertEqual (self .result , self .sorted_array )
@@ -36,7 +36,7 @@ def test_bubble_sort(self):
3636 self .assertEqual (self .alphaResult , self .sorted_alpha_array )
3737
3838
39- class TestInsertionSortTest (TestSortingAlgorithm ):
39+ class TestInsertionSort (TestSortingAlgorithm ):
4040 def test_insertion_sort (self ):
4141 self .result = insertion_sort .sort (self .array )
4242 self .assertEqual (self .result , self .sorted_array )
@@ -45,7 +45,7 @@ def test_insertion_sort(self):
4545 self .assertEqual (self .alphaResult , self .sorted_alpha_array )
4646
4747
48- class TestSelectionSortTest (TestSortingAlgorithm ):
48+ class TestSelectionSort (TestSortingAlgorithm ):
4949 def test_selection_sort (self ):
5050 self .result = selection_sort .sort (self .array )
5151 self .assertEqual (self .result , self .sorted_array )
@@ -54,7 +54,7 @@ def test_selection_sort(self):
5454 self .assertEqual (self .alphaResult , self .sorted_alpha_array )
5555
5656
57- class TestMergeSortTest (TestSortingAlgorithm ):
57+ class TestMergeSort (TestSortingAlgorithm ):
5858 def test_merge_sort (self ):
5959 self .result = merge_sort .sort (self .array )
6060 self .assertEqual (self .result , self .sorted_array )
@@ -63,7 +63,7 @@ def test_merge_sort(self):
6363 self .assertEqual (self .alphaResult , self .sorted_alpha_array )
6464
6565
66- class TestQuickSortTest (TestSortingAlgorithm ):
66+ class TestQuickSort (TestSortingAlgorithm ):
6767 def test_quick_sort (self ):
6868 self .result = quick_sort .sort (self .array )
6969 self .assertEqual (self .result , self .sorted_array )
@@ -72,14 +72,14 @@ def test_quick_sort(self):
7272 self .assertEqual (self .alphaResult , self .sorted_alpha_array )
7373
7474
75- class TestCountingSortTest (TestSortingAlgorithm ):
75+ class TestCountingSort (TestSortingAlgorithm ):
7676 def test_counting_sort (self ):
7777 # counting sort is an integer based sort
7878 self .result = counting_sort .sort (self .array )
7979 self .assertEqual (self .result , self .sorted_array )
8080
8181
82- class TestBucketSortTest (TestSortingAlgorithm ):
82+ class TestBucketSort (TestSortingAlgorithm ):
8383 def test_bucket_sort (self ):
8484 self .result = bucket_sort .sort (self .array )
8585 self .assertEqual (self .result , self .sorted_array )
@@ -88,7 +88,7 @@ def test_bucket_sort(self):
8888 self .assertEqual (self .alphaResult , self .sorted_alpha_array )
8989
9090
91- class TestShellSortTest (TestSortingAlgorithm ):
91+ class TestShellSort (TestSortingAlgorithm ):
9292 def test_shell_sort (self ):
9393 self .result = shell_sort .sort (self .array )
9494 self .assertEqual (self .result , self .sorted_array )
@@ -97,7 +97,7 @@ def test_shell_sort(self):
9797 self .assertEqual (self .alphaResult , self .sorted_alpha_array )
9898
9999
100- class TestHeapSortTest (TestSortingAlgorithm ):
100+ class TestHeapSort (TestSortingAlgorithm ):
101101 def test_heap_sort (self ):
102102 self .result = heap_sort .sort (self .array )
103103 self .assertEqual (self .result , self .sorted_array )
0 commit comments