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/raildecrypt_instrumented.py
2023-12-09 11:56:23 +01:00

305 lines
No EOL
9 KiB
Python

from unittest import TestCase
from benchmark.railfence_cipher import raildecrypt
class Test_raildecrypt(TestCase):
def test_raildecrypt_1(self):
assert raildecrypt(st='.', k=834) == '.'
def test_raildecrypt_2(self):
assert raildecrypt(st=' xM7d1h', k=915) == ' xM7d1h'
def test_raildecrypt_3(self):
assert raildecrypt(st='m8p[>', k=216) == 'm8p[>'
def test_raildecrypt_4(self):
assert raildecrypt(st='~(D', k=686) == '~(D'
def test_raildecrypt_5(self):
assert raildecrypt(st='', k=127) == ''
def test_raildecrypt_6(self):
assert raildecrypt(st='-O HB', k=600) == '-O HB'
def test_raildecrypt_7(self):
assert raildecrypt(st='2A/L~[%4', k=339) == '2A/L~[%4'
def test_raildecrypt_8(self):
assert raildecrypt(st='', k=16) == ''
def test_raildecrypt_9(self):
assert raildecrypt(st='4$/Ou', k=865) == '4$/Ou'
def test_raildecrypt_10(self):
assert raildecrypt(st='h"!/', k=365) == 'h"!/'
def test_raildecrypt_11(self):
assert raildecrypt(st=';PG.T\F#', k=615) == ';PG.T\F#'
def test_raildecrypt_12(self):
assert raildecrypt(st='yu*~', k=465) == 'yu*~'
def test_raildecrypt_13(self):
assert raildecrypt(st='!_/ieWr7', k=662) == '!_/ieWr7'
def test_raildecrypt_14(self):
assert raildecrypt(st='E', k=317) == 'E'
def test_raildecrypt_15(self):
assert raildecrypt(st='kK$q)[!E5', k=362) == 'kK$q)[!E5'
def test_raildecrypt_16(self):
assert raildecrypt(st='', k=574) == ''
def test_raildecrypt_17(self):
assert raildecrypt(st='M/8@&k^', k=539) == 'M/8@&k^'
def test_raildecrypt_18(self):
assert raildecrypt(st='$sx%*4T', k=211) == '$sx%*4T'
def test_raildecrypt_19(self):
assert raildecrypt(st='IH!=Y`l*', k=353) == 'IH!=Y`l*'
def test_raildecrypt_20(self):
assert raildecrypt(st='{tZ', k=848) == '{tZ'
def test_raildecrypt_21(self):
assert raildecrypt(st='4q>', k=867) == '4q>'
def test_raildecrypt_22(self):
assert raildecrypt(st='', k=353) == ''
def test_raildecrypt_23(self):
assert raildecrypt(st='l9', k=172) == 'l9'
def test_raildecrypt_24(self):
assert raildecrypt(st='e^P^?', k=669) == 'e^P^?'
def test_raildecrypt_25(self):
assert raildecrypt(st='ye'SJ~bE!', k=267) == 'ye'SJ~bE!'
def test_raildecrypt_26(self):
assert raildecrypt(st='Mp+', k=957) == 'Mp+'
def test_raildecrypt_27(self):
assert raildecrypt(st='p>^Ey', k=166) == 'p>^Ey'
def test_raildecrypt_28(self):
assert raildecrypt(st='', k=143) == ''
def test_raildecrypt_29(self):
assert raildecrypt(st='2*"jzdlK', k=253) == '2*"jzdlK'
def test_raildecrypt_30(self):
assert raildecrypt(st=''h', k=437) == ''h'
def test_raildecrypt_31(self):
assert raildecrypt(st='', k=745) == ''
def test_raildecrypt_32(self):
assert raildecrypt(st='B/#\V2!5', k=547) == 'B/#\V2!5'
def test_raildecrypt_33(self):
assert raildecrypt(st='&FH5k`Wu^', k=603) == '&FH5k`Wu^'
def test_raildecrypt_34(self):
assert raildecrypt(st='L/6v', k=336) == 'L/6v'
def test_raildecrypt_35(self):
assert raildecrypt(st='!_/ieWr7', k=835) == '!_/ieWr7'
def test_raildecrypt_36(self):
assert raildecrypt(st='', k=835) == ''
def test_raildecrypt_37(self):
assert raildecrypt(st=']!R`', k=737) == ']!R`'
def test_raildecrypt_38(self):
assert raildecrypt(st='d(e!3sY', k=430) == 'd(e!3sY'
def test_raildecrypt_39(self):
assert raildecrypt(st='ky', k=572) == 'ky'
def test_raildecrypt_40(self):
assert raildecrypt(st='qv;', k=952) == 'qv;'
def test_raildecrypt_41(self):
assert raildecrypt(st='QOZQ.g+-', k=956) == 'QOZQ.g+-'
def test_raildecrypt_42(self):
assert raildecrypt(st='^G0', k=892) == '^G0'
def test_raildecrypt_43(self):
assert raildecrypt(st='Z', k=662) == 'Z'
def test_raildecrypt_44(self):
assert raildecrypt(st='(X', k=95) == '(X'
def test_raildecrypt_45(self):
assert raildecrypt(st='st', k=208) == 'st'
def test_raildecrypt_46(self):
assert raildecrypt(st='(X[J)2Z', k=146) == '(X[J)2Z'
def test_raildecrypt_47(self):
assert raildecrypt(st='*C\>', k=288) == '*C\>'
def test_raildecrypt_48(self):
assert raildecrypt(st='Jh', k=508) == 'Jh'
def test_raildecrypt_49(self):
assert raildecrypt(st='<~7+4', k=89) == '<~7+4'
def test_raildecrypt_50(self):
assert raildecrypt(st='0DZViP$', k=922) == '0DZViP$'
def test_raildecrypt_51(self):
assert raildecrypt(st='', k=726) == ''
def test_raildecrypt_52(self):
assert raildecrypt(st='vJaiN.OB', k=843) == 'vJaiN.OB'
def test_raildecrypt_53(self):
assert raildecrypt(st='N}`4', k=839) == 'N}`4'
def test_raildecrypt_54(self):
assert raildecrypt(st='!_/ieWr7', k=147) == '!_/ieWr7'
def test_raildecrypt_55(self):
assert raildecrypt(st='Cl6b[', k=186) == 'Cl6b['
def test_raildecrypt_56(self):
assert raildecrypt(st='|bAbRFtS', k=651) == '|bAbRFtS'
def test_raildecrypt_57(self):
assert raildecrypt(st='Nz', k=164) == 'Nz'
def test_raildecrypt_58(self):
assert raildecrypt(st='OF', k=697) == 'OF'
def test_raildecrypt_59(self):
assert raildecrypt(st='', k=557) == ''
def test_raildecrypt_60(self):
assert raildecrypt(st='hHw', k=360) == 'hHw'
def test_raildecrypt_61(self):
assert raildecrypt(st='?bb(.`|', k=502) == '?bb(.`|'
def test_raildecrypt_62(self):
assert raildecrypt(st='x`z,X&U)', k=315) == 'x`z,X&U)'
def test_raildecrypt_63(self):
assert raildecrypt(st='[', k=665) == '['
def test_raildecrypt_64(self):
assert raildecrypt(st='F{<I'HcB', k=898) == 'F{<I'HcB'
def test_raildecrypt_65(self):
assert raildecrypt(st='fbXYs32|', k=864) == 'fbXYs32|'
def test_raildecrypt_66(self):
assert raildecrypt(st='q', k=533) == 'q'
def test_raildecrypt_67(self):
assert raildecrypt(st='', k=70) == ''
def test_raildecrypt_68(self):
assert raildecrypt(st='\~pRYm', k=81) == '\~pRYm'
def test_raildecrypt_69(self):
assert raildecrypt(st='xD'', k=836) == 'xD''
def test_raildecrypt_70(self):
assert raildecrypt(st='8p+S~< \', k=705) == '8p+S~< \'
def test_raildecrypt_71(self):
assert raildecrypt(st='', k=946) == ''
def test_raildecrypt_72(self):
assert raildecrypt(st='vJaiN.cB', k=843) == 'vJaiN.cB'
def test_raildecrypt_73(self):
assert raildecrypt(st='JCXpF', k=79) == 'JCXpF'
def test_raildecrypt_74(self):
assert raildecrypt(st='', k=896) == ''
def test_raildecrypt_75(self):
assert raildecrypt(st='K.2', k=669) == 'K.2'
def test_raildecrypt_76(self):
assert raildecrypt(st='M;9&HYe', k=691) == 'M;9&HYe'
def test_raildecrypt_77(self):
assert raildecrypt(st='', k=506) == ''
def test_raildecrypt_78(self):
assert raildecrypt(st='\'H?>Dhq', k=883) == '\'H?>Dhq'
def test_raildecrypt_79(self):
assert raildecrypt(st='E', k=557) == 'E'
def test_raildecrypt_80(self):
assert raildecrypt(st='|bD', k=651) == '|bD'
def test_raildecrypt_81(self):
assert raildecrypt(st='?bb(.`', k=502) == '?bb(.`'
def test_raildecrypt_82(self):
assert raildecrypt(st='{,rXk!3W', k=885) == '{,rXk!3W'
def test_raildecrypt_83(self):
assert raildecrypt(st=' WS`#ov ~', k=189) == ' WS`#ov ~'
def test_raildecrypt_84(self):
assert raildecrypt(st='-O HB', k=208) == '-O HB'
def test_raildecrypt_85(self):
assert raildecrypt(st='[', k=714) == '['
def test_raildecrypt_86(self):
assert raildecrypt(st='Ckmi|', k=14) == 'Ckmi|'
def test_raildecrypt_87(self):
assert raildecrypt(st='mHbwuB', k=931) == 'mHbwuB'
def test_raildecrypt_88(self):
assert raildecrypt(st='_?->'}#', k=388) == '_?->'}#'
def test_raildecrypt_89(self):
assert raildecrypt(st='', k=454) == ''
def test_raildecrypt_90(self):
assert raildecrypt(st='&,+f9p}y>', k=990) == '&,+f9p}y>'
def test_raildecrypt_91(self):
assert raildecrypt(st='JCXpF', k=726) == 'JCXpF'
def test_raildecrypt_92(self):
assert raildecrypt(st='B', k=350) == 'B'
def test_raildecrypt_93(self):
assert raildecrypt(st='g_=f.B1U', k=960) == 'g_=f.B1U'
def test_raildecrypt_94(self):
assert raildecrypt(st='Zb', k=614) == 'Zb'
def test_raildecrypt_95(self):
assert raildecrypt(st='Y/', k=867) == 'Y/'
def test_raildecrypt_96(self):
assert raildecrypt(st=''CXpF', k=437) == ''CXpF'
def test_raildecrypt_97(self):
assert raildecrypt(st='X:F', k=695) == 'X:F'
def test_raildecrypt_98(self):
assert raildecrypt(st='HR9.T\F#', k=662) == 'HR9.T\F#'
def test_raildecrypt_99(self):
assert raildecrypt(st='', k=362) == ''
def test_raildecrypt_100(self):
assert raildecrypt(st='', k=360) == ''