예제 #1
0
 def test_quicksort_4(self):
     self.assertEquals(mergesort_8.mergesort(self.test4),
                       [17, 20, 26, 31, 44, 54, 55, 77, 93])
예제 #2
0
 def test_quicksort_2(self):
     self.assertEquals(mergesort_8.mergesort(self.test2),
                       [2, 4, 4, 8, 11, 13, 14, 14, 17, 18, 18, 19, 19])
예제 #3
0
 def test_quicksort_3(self):
     self.assertEquals(mergesort_8.mergesort(self.test3),
                       [3, 7, 11, 12, 29, 43])
예제 #4
0
 def test_quicksort_1(self):
     self.assertEquals(mergesort_8.mergesort(self.test1),
                       [11, 12, 22, 25, 64])
예제 #5
0
 def test_quicksort_4(self):
     self.assertEquals(mergesort_8.mergesort(self.test4),
                       [17, 20, 26, 31, 44, 54, 55, 77, 93])
예제 #6
0
 def test_quicksort_3(self):
     self.assertEquals(mergesort_8.mergesort(self.test3),
                       [3, 7, 11, 12, 29, 43])
예제 #7
0
 def test_quicksort_2(self):
     self.assertEquals(mergesort_8.mergesort(self.test2),
                       [2, 4, 4, 8, 11, 13, 14, 14, 17, 18, 18, 19, 19])
예제 #8
0
 def test_quicksort_1(self):
     self.assertEquals(mergesort_8.mergesort(self.test1),
                       [11, 12, 22, 25, 64])