This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
kse-02/tests/rabin_karp_search_instrumented.py

308 lines
11 KiB
Python
Raw Normal View History

2023-11-15 17:23:53 +00:00
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='an', txt='vaghgm') == []
def test_rabin_karp_search_2(self):
assert rabin_karp_search(pat='n', txt='xaz') == []
def test_rabin_karp_search_3(self):
assert rabin_karp_search(pat='ohjk', txt='nanuvpg') == []
def test_rabin_karp_search_4(self):
assert rabin_karp_search(pat='sljsl', txt='esgechenk') == []
def test_rabin_karp_search_5(self):
assert rabin_karp_search(pat='gter', txt='bmca') == []
def test_rabin_karp_search_6(self):
assert rabin_karp_search(pat='vn', txt='caqa') == []
def test_rabin_karp_search_7(self):
assert rabin_karp_search(pat='wmsesguqu', txt='yteswvjbq') == []
def test_rabin_karp_search_8(self):
assert rabin_karp_search(pat='bdtguu', txt='sfmadudvt') == []
def test_rabin_karp_search_9(self):
assert rabin_karp_search(pat='vn', txt='btjwfbdbl') == []
def test_rabin_karp_search_10(self):
assert rabin_karp_search(pat='lugybpkue', txt='qbqgfflcu') == []
def test_rabin_karp_search_11(self):
assert rabin_karp_search(pat='zttklntm', txt='yteswvjbq') == []
def test_rabin_karp_search_12(self):
assert rabin_karp_search(pat='', txt='xhld') == []
def test_rabin_karp_search_13(self):
assert rabin_karp_search(pat='xlfxz', txt='kfzhruh') == []
def test_rabin_karp_search_14(self):
assert rabin_karp_search(pat='b', txt='pdkoix') == []
def test_rabin_karp_search_15(self):
assert rabin_karp_search(pat='m', txt='m') == [0]
def test_rabin_karp_search_16(self):
assert rabin_karp_search(pat='uezem', txt='jznbjpbnb') == []
def test_rabin_karp_search_17(self):
assert rabin_karp_search(pat='', txt='ij') == []
def test_rabin_karp_search_18(self):
assert rabin_karp_search(pat='', txt='ksyatkhe') == []
def test_rabin_karp_search_19(self):
assert rabin_karp_search(pat='sb', txt='cf') == []
def test_rabin_karp_search_20(self):
assert rabin_karp_search(pat='erujiv', txt='phwsehb') == []
def test_rabin_karp_search_21(self):
assert rabin_karp_search(pat='i', txt='t') == []
def test_rabin_karp_search_22(self):
assert rabin_karp_search(pat='gkgml', txt='jbhyl') == []
def test_rabin_karp_search_23(self):
assert rabin_karp_search(pat='syo', txt='bev') == []
def test_rabin_karp_search_24(self):
assert rabin_karp_search(pat='y', txt='y') == [0]
def test_rabin_karp_search_25(self):
assert rabin_karp_search(pat='i', txt='mz') == []
def test_rabin_karp_search_26(self):
assert rabin_karp_search(pat='', txt='') == []
def test_rabin_karp_search_27(self):
assert rabin_karp_search(pat='iho', txt='vokajp') == []
def test_rabin_karp_search_28(self):
assert rabin_karp_search(pat='', txt='cqgon') == []
def test_rabin_karp_search_29(self):
assert rabin_karp_search(pat='', txt='yvxxooy') == []
def test_rabin_karp_search_30(self):
assert rabin_karp_search(pat='copxl', txt='vqawcn') == []
def test_rabin_karp_search_31(self):
assert rabin_karp_search(pat='zjik', txt='lbbbkwy') == []
def test_rabin_karp_search_32(self):
assert rabin_karp_search(pat='zyima', txt='jqcwyxeia') == []
def test_rabin_karp_search_33(self):
assert rabin_karp_search(pat='fwyzf', txt='yzsvrop') == []
def test_rabin_karp_search_34(self):
assert rabin_karp_search(pat='yjfdpuba', txt='dqbpuemne') == []
def test_rabin_karp_search_35(self):
assert rabin_karp_search(pat='bcxzmkps', txt='mervjwzd') == []
def test_rabin_karp_search_36(self):
assert rabin_karp_search(pat='uaevwihx', txt='pcxnfnsc') == []
def test_rabin_karp_search_37(self):
assert rabin_karp_search(pat='u', txt='e') == []
def test_rabin_karp_search_38(self):
assert rabin_karp_search(pat='kq', txt='oxlwjj') == []
def test_rabin_karp_search_39(self):
assert rabin_karp_search(pat='yfnmeax', txt='isuoamkna') == []
def test_rabin_karp_search_40(self):
assert rabin_karp_search(pat='s', txt='vamsw') == [3]
def test_rabin_karp_search_41(self):
assert rabin_karp_search(pat='uc', txt='ilkvuvqz') == []
def test_rabin_karp_search_42(self):
assert rabin_karp_search(pat='lc', txt='rg') == []
def test_rabin_karp_search_43(self):
assert rabin_karp_search(pat='', txt='qhugxuu') == []
def test_rabin_karp_search_44(self):
assert rabin_karp_search(pat='aps', txt='mycb') == []
def test_rabin_karp_search_45(self):
assert rabin_karp_search(pat='def', txt='vdp') == []
def test_rabin_karp_search_46(self):
assert rabin_karp_search(pat='ssv', txt='seaqudkp') == []
def test_rabin_karp_search_47(self):
assert rabin_karp_search(pat='bpokr', txt='nusonsc') == []
def test_rabin_karp_search_48(self):
assert rabin_karp_search(pat='dgspwzxe', txt='yenyenway') == []
def test_rabin_karp_search_49(self):
assert rabin_karp_search(pat='', txt='sjt') == []
def test_rabin_karp_search_50(self):
assert rabin_karp_search(pat='', txt='vcgsjlo') == []
def test_rabin_karp_search_51(self):
assert rabin_karp_search(pat='', txt='kzqd') == []
def test_rabin_karp_search_52(self):
assert rabin_karp_search(pat='jt', txt='kwdujsm') == []
def test_rabin_karp_search_53(self):
assert rabin_karp_search(pat='viw', txt='kyhgrtfd') == []
def test_rabin_karp_search_54(self):
assert rabin_karp_search(pat='rax', txt='jhdzvfzjc') == []
def test_rabin_karp_search_55(self):
assert rabin_karp_search(pat='', txt='q') == []
def test_rabin_karp_search_56(self):
assert rabin_karp_search(pat='c', txt='g') == []
def test_rabin_karp_search_57(self):
assert rabin_karp_search(pat='oxhyeyx', txt='azhitxm') == []
def test_rabin_karp_search_58(self):
assert rabin_karp_search(pat='xce', txt='jupda') == []
def test_rabin_karp_search_59(self):
assert rabin_karp_search(pat='srfrdw', txt='nqoopxnbt') == []
def test_rabin_karp_search_60(self):
assert rabin_karp_search(pat='hhx', txt='snl') == []
def test_rabin_karp_search_61(self):
assert rabin_karp_search(pat='', txt='abdu') == []
def test_rabin_karp_search_62(self):
assert rabin_karp_search(pat='iiimynmts', txt='fxowpmpqf') == []
def test_rabin_karp_search_63(self):
assert rabin_karp_search(pat='o', txt='xjlqhqsf') == []
def test_rabin_karp_search_64(self):
assert rabin_karp_search(pat='zpmr', txt='lrvyck') == []
def test_rabin_karp_search_65(self):
assert rabin_karp_search(pat='urncdbie', txt='jexdxlct') == []
def test_rabin_karp_search_66(self):
assert rabin_karp_search(pat='skhsic', txt='mervjwzd') == []
def test_rabin_karp_search_67(self):
assert rabin_karp_search(pat='wdki', txt='xpelfkzzb') == []
def test_rabin_karp_search_68(self):
assert rabin_karp_search(pat='t', txt='vqvrhhf') == []
def test_rabin_karp_search_69(self):
assert rabin_karp_search(pat='n', txt='aubucl') == []
def test_rabin_karp_search_70(self):
assert rabin_karp_search(pat='', txt='es') == []
def test_rabin_karp_search_71(self):
assert rabin_karp_search(pat='si', txt='xyien') == []
def test_rabin_karp_search_72(self):
assert rabin_karp_search(pat='phjbi', txt='mvzdra') == []
def test_rabin_karp_search_73(self):
assert rabin_karp_search(pat='bqq', txt='jupda') == []
def test_rabin_karp_search_74(self):
assert rabin_karp_search(pat='krdtsstyf', txt='pcqalpoof') == []
def test_rabin_karp_search_75(self):
assert rabin_karp_search(pat='idjv', txt='nmhwpafp') == []
def test_rabin_karp_search_76(self):
assert rabin_karp_search(pat='cy', txt='qa') == []
def test_rabin_karp_search_77(self):
assert rabin_karp_search(pat='pdikt', txt='kwsmhhpdl') == []
def test_rabin_karp_search_78(self):
assert rabin_karp_search(pat='wm', txt='oogs') == []
def test_rabin_karp_search_79(self):
assert rabin_karp_search(pat='iq', txt='rnjdqb') == []
def test_rabin_karp_search_80(self):
assert rabin_karp_search(pat='', txt='kia') == []
def test_rabin_karp_search_81(self):
assert rabin_karp_search(pat='tjntdea', txt='vqvrhhf') == []
def test_rabin_karp_search_82(self):
assert rabin_karp_search(pat='vjn', txt='wxfmlz') == []
def test_rabin_karp_search_83(self):
assert rabin_karp_search(pat='jyznboajo', txt='jzkufxdun') == []
def test_rabin_karp_search_84(self):
assert rabin_karp_search(pat='oe', txt='kwdujsm') == []
def test_rabin_karp_search_85(self):
assert rabin_karp_search(pat='', txt='u') == []
def test_rabin_karp_search_86(self):
assert rabin_karp_search(pat='xhz', txt='swssrpqh') == []
def test_rabin_karp_search_87(self):
assert rabin_karp_search(pat='', txt='ensranv') == []
def test_rabin_karp_search_88(self):
assert rabin_karp_search(pat='gjatfk', txt='mcwrcfa') == []
def test_rabin_karp_search_89(self):
assert rabin_karp_search(pat='', txt='f') == []
def test_rabin_karp_search_90(self):
assert rabin_karp_search(pat='bw', txt='maozrwver') == []
def test_rabin_karp_search_91(self):
assert rabin_karp_search(pat='tkcdaqe', txt='lbaqvrky') == []
def test_rabin_karp_search_92(self):
assert rabin_karp_search(pat='iga', txt='ujyis') == []
def test_rabin_karp_search_93(self):
assert rabin_karp_search(pat='oraee', txt='wqkovkno') == []
def test_rabin_karp_search_94(self):
assert rabin_karp_search(pat='v', txt='oo') == []
def test_rabin_karp_search_95(self):
assert rabin_karp_search(pat='yk', txt='pg') == []
def test_rabin_karp_search_96(self):
assert rabin_karp_search(pat='mzf', txt='qkxyd') == []
def test_rabin_karp_search_97(self):
assert rabin_karp_search(pat='dwenvgb', txt='dknpaiti') == []
def test_rabin_karp_search_98(self):
assert rabin_karp_search(pat='z', txt='qogk') == []
def test_rabin_karp_search_99(self):
assert rabin_karp_search(pat='agln', txt='wyyviej') == []
def test_rabin_karp_search_100(self):
assert rabin_karp_search(pat='wjxdaxfl', txt='eaoshqgy') == []
def test_rabin_karp_search_101(self):
assert rabin_karp_search(pat='vhllyire', txt='fjpbbuorw') == []