from unittest import TestCase from benchmark.rabin_karp import rabin_karp_search class Test_rabin_karp_search(TestCase): def test_rabin_karp_search_1(self): assert rabin_karp_search(pat='', txt='Kx\UnZ^') == [] def test_rabin_karp_search_2(self): assert rabin_karp_search(pat='pub#b8o', txt=';Q[d2{v.>') == [] def test_rabin_karp_search_3(self): assert rabin_karp_search(pat='', txt='w:A') == [] def test_rabin_karp_search_4(self): assert rabin_karp_search(pat='`QiVQ', txt='{1*0ELsc') == [] def test_rabin_karp_search_5(self): assert rabin_karp_search(pat='Th D', txt='a:uH$>') == [] def test_rabin_karp_search_6(self): assert rabin_karp_search(pat='yO8', txt='b$5p6}<') == [] def test_rabin_karp_search_7(self): assert rabin_karp_search(pat=',qr"', txt='aI!zhr"nc') == [] def test_rabin_karp_search_8(self): assert rabin_karp_search(pat='s', txt='BYDqJ3pr') == [] def test_rabin_karp_search_9(self): assert rabin_karp_search(pat='5!5!', txt='g*{qF') == [] def test_rabin_karp_search_10(self): assert rabin_karp_search(pat=':hiVQ', txt='V'o%%/E-') == [] def test_rabin_karp_search_11(self): assert rabin_karp_search(pat='MVi