def test_robin_karp(self): self.assertTrue(at.test(s.rabin_karp, s.test_cases))
def test_brute_force(self): self.assertTrue(at.test(s.brute_force, s.test_cases))
def test_string_find(self): self.assertTrue(at.test(s.string_find, s.test_cases))
def test_kmp(self): self.assertTrue(at.test(s.kmp, s.test_cases))
def test_bubble_sort(self): self.assertTrue(algo.test(sort.bubble_sort, sort.test_cases))
def test_union_find(self): self.assertTrue(algo.test(uf.union_find, uf.test_cases))
def test_quick_sort(self): self.assertTrue(algo.test(sort.quick_sort, sort.test_cases))
def test_radix_sort(self): self.assertTrue(algo.test(sort.radix_sort, sort.test_cases))
def test_heap_sort(self): self.assertTrue(algo.test(sort.heap_sort, sort.test_cases))
def test_merge_sort(self): self.assertTrue(algo.test(sort.merge_sort, sort.test_cases))
def test_insert_sort(self): self.assertTrue(algo.test(sort.insert_sort, sort.test_cases))
def test_list_index(self): self.assertTrue(algo.test(bis.list_index, bis.test_cases))
def test_binary_search(self): self.assertTrue(algo.test(bis.bisearch, bis.test_cases))
def test_python_bisect(self): self.assertTrue(algo.test(bis.python_bisect, bis.test_cases))
def test_topological_sort(self): self.assertTrue(algo.test(ts.topological_sort, ts.test_cases))