def test_merge_sort_with_doubles(self): sorted_list = Sorting.merge_sort([]) self.assertListEqual([], sorted_list)
def test_merge_sort_with_doubles(self): sorted_list = Sorting.merge_sort(self.seq_with_doubles) self.assertListEqual(self.sorted_seq_with_doubles, sorted_list)
def test_merge_sort(self): sorted_list = Sorting.merge_sort(self.seq) self.assertListEqual(self.sorted_seq, sorted_list)
def test_merge_sort_with_doubles(self): sorted_list = Sorting.merge_sort([]) self.assertListEqual([], sorted_list)
def test_merge_sort_with_doubles(self): sorted_list = Sorting.merge_sort(self.seq_with_doubles) self.assertListEqual(self.sorted_seq_with_doubles, sorted_list)
def test_merge_sort(self): sorted_list = Sorting.merge_sort(self.seq) self.assertListEqual(self.sorted_seq, sorted_list)