def test_insertion_sort_with_empty_list(self): Sorting.selection_sort(self.empty_list) self.assertListEqual([], self.empty_list)
def test_insertion_sort_with_empty_list(self): Sorting.selection_sort(self.empty_list) self.assertListEqual([], self.empty_list)
def test_selection_sort(self): Sorting.selection_sort(self.seq) self.assertListEqual(self.sorted_seq, self.seq)
def test_selection_sort(self): Sorting.selection_sort(self.seq) self.assertListEqual(self.sorted_seq, self.seq)