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/railencrypt_instrumented.py

305 lines
9.2 KiB
Python
Raw Normal View History

2023-11-15 17:23:53 +00:00
from unittest import TestCase
from benchmark.railfence_cipher import railencrypt
class Test_railencrypt(TestCase):
def test_railencrypt_1(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='FKglwgJ(p', k=840) == 'FKglwgJ(p'
2023-11-15 17:23:53 +00:00
def test_railencrypt_2(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='gvj', k=379) == 'gvj'
2023-11-15 17:23:53 +00:00
def test_railencrypt_3(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='', k=755) == ''
2023-11-15 17:23:53 +00:00
def test_railencrypt_4(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='9pS', k=577) == '9pS'
2023-11-15 17:23:53 +00:00
def test_railencrypt_5(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='`j4z_:S', k=169) == '`j4z_:S'
2023-11-15 17:23:53 +00:00
def test_railencrypt_6(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='? }qW^W', k=892) == '? }qW^W'
2023-11-15 17:23:53 +00:00
def test_railencrypt_7(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='ns(ob!Pb', k=389) == 'ns(ob!Pb'
2023-11-15 17:23:53 +00:00
def test_railencrypt_8(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='r$&=(', k=427) == 'r$&=('
2023-11-15 17:23:53 +00:00
def test_railencrypt_9(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='2A/L~[%4', k=339) == '2A/L~[%4'
2023-11-15 17:23:53 +00:00
def test_railencrypt_10(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='M>'', k=210) == 'M>''
2023-11-15 17:23:53 +00:00
def test_railencrypt_11(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='=5]'146#', k=143) == '=5]'146#'
2023-11-15 17:23:53 +00:00
def test_railencrypt_12(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='c?g!b', k=675) == 'c?g!b'
2023-11-15 17:23:53 +00:00
def test_railencrypt_13(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='U"i-', k=547) == 'U"i-'
2023-11-15 17:23:53 +00:00
def test_railencrypt_14(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='+e[', k=328) == '+e['
2023-11-15 17:23:53 +00:00
def test_railencrypt_15(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='@ICWq0.[D', k=944) == '@ICWq0.[D'
2023-11-15 17:23:53 +00:00
def test_railencrypt_16(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='~a}By', k=141) == '~a}By'
2023-11-15 17:23:53 +00:00
def test_railencrypt_17(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='', k=574) == ''
2023-11-15 17:23:53 +00:00
def test_railencrypt_18(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='#7oR+_$*', k=457) == '#7oR+_$*'
2023-11-15 17:23:53 +00:00
def test_railencrypt_19(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='/c', k=900) == '/c'
2023-11-15 17:23:53 +00:00
def test_railencrypt_20(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='r', k=492) == 'r'
2023-11-15 17:23:53 +00:00
def test_railencrypt_21(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='vh]lR', k=242) == 'vh]lR'
2023-11-15 17:23:53 +00:00
def test_railencrypt_22(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='**hH2', k=270) == '**hH2'
2023-11-15 17:23:53 +00:00
def test_railencrypt_23(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st=')>On.', k=70) == ')>On.'
2023-11-15 17:23:53 +00:00
def test_railencrypt_24(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='djQ*5r_Uk', k=420) == 'djQ*5r_Uk'
2023-11-15 17:23:53 +00:00
def test_railencrypt_25(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='{+xw', k=405) == '{+xw'
2023-11-15 17:23:53 +00:00
def test_railencrypt_26(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='RGvx~r', k=976) == 'RGvx~r'
2023-11-15 17:23:53 +00:00
def test_railencrypt_27(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='<$', k=154) == '<$'
2023-11-15 17:23:53 +00:00
def test_railencrypt_28(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st=')>On.', k=221) == ')>On.'
2023-11-15 17:23:53 +00:00
def test_railencrypt_29(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='IH!=Y`l*', k=885) == 'IH!=Y`l*'
2023-11-15 17:23:53 +00:00
def test_railencrypt_30(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='w::L', k=641) == 'w::L'
2023-11-15 17:23:53 +00:00
def test_railencrypt_31(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st=')>On.', k=885) == ')>On.'
2023-11-15 17:23:53 +00:00
def test_railencrypt_32(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='!CIXRTgh', k=754) == '!CIXRTgh'
2023-11-15 17:23:53 +00:00
def test_railencrypt_33(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='?NGYChStM', k=850) == '?NGYChStM'
2023-11-15 17:23:53 +00:00
def test_railencrypt_34(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st=' X$qR?', k=389) == ' X$qR?'
2023-11-15 17:23:53 +00:00
def test_railencrypt_35(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='dA$PGkO', k=453) == 'dA$PGkO'
2023-11-15 17:23:53 +00:00
def test_railencrypt_36(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st=',gN', k=663) == ',gN'
2023-11-15 17:23:53 +00:00
def test_railencrypt_37(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='', k=885) == ''
2023-11-15 17:23:53 +00:00
def test_railencrypt_38(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='3kDF>S%/', k=816) == '3kDF>S%/'
2023-11-15 17:23:53 +00:00
def test_railencrypt_39(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='h{I<H[%4', k=468) == 'h{I<H[%4'
2023-11-15 17:23:53 +00:00
def test_railencrypt_40(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='Ac#@F', k=335) == 'Ac#@F'
2023-11-15 17:23:53 +00:00
def test_railencrypt_41(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='pR9.T\F#', k=950) == 'pR9.T\F#'
2023-11-15 17:23:53 +00:00
def test_railencrypt_42(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='dA$PGkO', k=898) == 'dA$PGkO'
2023-11-15 17:23:53 +00:00
def test_railencrypt_43(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='MX[JC2*', k=146) == 'MX[JC2*'
2023-11-15 17:23:53 +00:00
def test_railencrypt_44(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='kwVesxWq', k=126) == 'kwVesxWq'
2023-11-15 17:23:53 +00:00
def test_railencrypt_45(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='So!D5q<s', k=687) == 'So!D5q<s'
2023-11-15 17:23:53 +00:00
def test_railencrypt_46(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='BgG', k=452) == 'BgG'
2023-11-15 17:23:53 +00:00
def test_railencrypt_47(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='#6U@a', k=986) == '#6U@a'
2023-11-15 17:23:53 +00:00
def test_railencrypt_48(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='-O HB', k=853) == '-O HB'
2023-11-15 17:23:53 +00:00
def test_railencrypt_49(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='tGr_xE_<', k=31) == 'tGr_xE_<'
2023-11-15 17:23:53 +00:00
def test_railencrypt_50(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='', k=750) == ''
2023-11-15 17:23:53 +00:00
def test_railencrypt_51(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='%;A <}gy?', k=968) == '%;A <}gy?'
2023-11-15 17:23:53 +00:00
def test_railencrypt_52(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='=', k=577) == '='
2023-11-15 17:23:53 +00:00
def test_railencrypt_53(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='!q)3r7i_', k=370) == '!q)3r7i_'
2023-11-15 17:23:53 +00:00
def test_railencrypt_54(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='y"X', k=359) == 'y"X'
2023-11-15 17:23:53 +00:00
def test_railencrypt_55(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='=os/W!ss', k=176) == '=os/W!ss'
2023-11-15 17:23:53 +00:00
def test_railencrypt_56(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='-G;'k', k=652) == '-G;'k'
2023-11-15 17:23:53 +00:00
def test_railencrypt_57(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='tP&LZgJ(p', k=753) == 'tP&LZgJ(p'
2023-11-15 17:23:53 +00:00
def test_railencrypt_58(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='J3kaFe2c', k=94) == 'J3kaFe2c'
2023-11-15 17:23:53 +00:00
def test_railencrypt_59(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='M"9&HYe', k=691) == 'M"9&HYe'
2023-11-15 17:23:53 +00:00
def test_railencrypt_60(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='OF', k=697) == 'OF'
2023-11-15 17:23:53 +00:00
def test_railencrypt_61(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='H@', k=918) == 'H@'
2023-11-15 17:23:53 +00:00
def test_railencrypt_62(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='', k=880) == ''
2023-11-15 17:23:53 +00:00
def test_railencrypt_63(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='3kDF>S%/', k=160) == '3kDF>S%/'
2023-11-15 17:23:53 +00:00
def test_railencrypt_64(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='1A!>S', k=242) == '1A!>S'
2023-11-15 17:23:53 +00:00
def test_railencrypt_65(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='zZ|;(j', k=159) == 'zZ|;(j'
2023-11-15 17:23:53 +00:00
def test_railencrypt_66(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='T:', k=887) == 'T:'
2023-11-15 17:23:53 +00:00
def test_railencrypt_67(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='tP&LZI', k=753) == 'tP&LZI'
2023-11-15 17:23:53 +00:00
def test_railencrypt_68(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='', k=541) == ''
2023-11-15 17:23:53 +00:00
def test_railencrypt_69(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='8p+S~< \', k=705) == '8p+S~< \'
2023-11-15 17:23:53 +00:00
def test_railencrypt_70(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='!3V0]Es', k=502) == '!3V0]Es'
2023-11-15 17:23:53 +00:00
def test_railencrypt_71(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='', k=255) == ''
2023-11-15 17:23:53 +00:00
def test_railencrypt_72(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='z-woX#S*', k=664) == 'z-woX#S*'
2023-11-15 17:23:53 +00:00
def test_railencrypt_73(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='b]Eb', k=721) == 'b]Eb'
2023-11-15 17:23:53 +00:00
def test_railencrypt_74(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='`82?%]G=k', k=89) == '`82?%]G=k'
2023-11-15 17:23:53 +00:00
def test_railencrypt_75(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='', k=533) == ''
2023-11-15 17:23:53 +00:00
def test_railencrypt_76(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='Kd*', k=125) == 'Kd*'
2023-11-15 17:23:53 +00:00
def test_railencrypt_77(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='gB}[Y!', k=137) == 'gB}[Y!'
2023-11-15 17:23:53 +00:00
def test_railencrypt_78(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='G\uHOS', k=745) == 'G\uHOS'
2023-11-15 17:23:53 +00:00
def test_railencrypt_79(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='5H>Eac', k=588) == '5H>Eac'
2023-11-15 17:23:53 +00:00
def test_railencrypt_80(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='', k=506) == ''
2023-11-15 17:23:53 +00:00
def test_railencrypt_81(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='2A/L~q', k=339) == '2A/L~q'
2023-11-15 17:23:53 +00:00
def test_railencrypt_82(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='=D?*', k=548) == '=D?*'
2023-11-15 17:23:53 +00:00
def test_railencrypt_83(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='wvG6lC=YR', k=201) == 'wvG6lC=YR'
2023-11-15 17:23:53 +00:00
def test_railencrypt_84(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='!&=,S3H', k=662) == '!&=,S3H'
2023-11-15 17:23:53 +00:00
def test_railencrypt_85(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='0LO\', k=948) == '0LO\'
2023-11-15 17:23:53 +00:00
def test_railencrypt_86(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='?', k=276) == '?'
2023-11-15 17:23:53 +00:00
def test_railencrypt_87(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st=':W', k=741) == ':W'
2023-11-15 17:23:53 +00:00
def test_railencrypt_88(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st=';:H(XyM%(', k=816) == ';:H(XyM%('
2023-11-15 17:23:53 +00:00
def test_railencrypt_89(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='UvOW='', k=330) == 'UvOW=''
2023-11-15 17:23:53 +00:00
def test_railencrypt_90(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='^82?%]G=k', k=5) == '^k8=2G?]%'
2023-11-15 17:23:53 +00:00
def test_railencrypt_91(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='rh', k=985) == 'rh'
2023-11-15 17:23:53 +00:00
def test_railencrypt_92(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='o$NfGib0x', k=437) == 'o$NfGib0x'
2023-11-15 17:23:53 +00:00
def test_railencrypt_93(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='{', k=661) == '{'
2023-11-15 17:23:53 +00:00
def test_railencrypt_94(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='BgOT!e/E', k=452) == 'BgOT!e/E'
2023-11-15 17:23:53 +00:00
def test_railencrypt_95(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='n4:j', k=62) == 'n4:j'
2023-11-15 17:23:53 +00:00
def test_railencrypt_96(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='', k=772) == ''
2023-11-15 17:23:53 +00:00
def test_railencrypt_97(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='U}I~pr7', k=291) == 'U}I~pr7'
2023-11-15 17:23:53 +00:00
def test_railencrypt_98(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='}Bx&KQ[i{', k=51) == '}Bx&KQ[i{'
2023-11-15 17:23:53 +00:00
def test_railencrypt_99(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='?Ij', k=361) == '?Ij'
2023-11-15 17:23:53 +00:00
def test_railencrypt_100(self):
2023-12-09 10:56:23 +00:00
assert railencrypt(st='\El#o*a;}', k=422) == '\El#o*a;}'