def test_bubble(self): list = SortingList(build_list(30)) list.bubble_sort() self.assertTrue(is_sorted(list))