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

305 lines
8.6 KiB
Python
Raw Normal View History

2023-11-15 17:23:53 +00:00
from unittest import TestCase
from benchmark.caesar_cipher import decrypt
class Test_decrypt(TestCase):
def test_decrypt_1(self):
assert decrypt(strng='uemax', key=94) == 'vfnby'
def test_decrypt_2(self):
assert decrypt(strng='bqomll', key=36) == '>MKIHH'
def test_decrypt_3(self):
assert decrypt(strng='n', key=84) == 'y'
def test_decrypt_4(self):
assert decrypt(strng='qplae', key=8) == 'ihdY]'
def test_decrypt_5(self):
assert decrypt(strng='cjswzqb', key=25) == 'JQZ^aXI'
def test_decrypt_6(self):
assert decrypt(strng='undhcdx', key=7) == 'ng]a\]q'
def test_decrypt_7(self):
assert decrypt(strng='qnij', key=8) == 'ifab'
def test_decrypt_8(self):
assert decrypt(strng='', key=25) == ''
def test_decrypt_9(self):
assert decrypt(strng='s', key=64) == '3'
def test_decrypt_10(self):
assert decrypt(strng='ycrvcrxqm', key=8) == 'q[jn[jpie'
def test_decrypt_11(self):
assert decrypt(strng='gjc', key=7) == '`c\'
def test_decrypt_12(self):
assert decrypt(strng='vrhusl', key=42) == 'LH>KIB'
def test_decrypt_13(self):
assert decrypt(strng='nfoatk', key=16) == '^V_Qd['
def test_decrypt_14(self):
assert decrypt(strng='lefd', key=65) == '+$%#'
def test_decrypt_15(self):
assert decrypt(strng='i', key=33) == 'H'
def test_decrypt_16(self):
assert decrypt(strng='nhzp', key=23) == 'WQcY'
def test_decrypt_17(self):
assert decrypt(strng='orelzml', key=8) == 'gj]dred'
def test_decrypt_18(self):
assert decrypt(strng='qoysx', key=16) == 'a_ich'
def test_decrypt_19(self):
assert decrypt(strng='iiyccs', key=88) == 'pp!jjz'
def test_decrypt_20(self):
assert decrypt(strng='suy', key=8) == 'kmq'
def test_decrypt_21(self):
assert decrypt(strng='', key=64) == ''
def test_decrypt_22(self):
assert decrypt(strng='ltmuk', key=70) == '&.'/%'
def test_decrypt_23(self):
assert decrypt(strng='asdr', key=86) == 'j|m{'
def test_decrypt_24(self):
assert decrypt(strng='qvuct', key=70) == '+0/|.'
def test_decrypt_25(self):
assert decrypt(strng='vvar', key=9) == 'mmXi'
def test_decrypt_26(self):
assert decrypt(strng='io', key=12) == ']c'
def test_decrypt_27(self):
assert decrypt(strng='ndcdufqp', key=16) == '^TSTeVa`'
def test_decrypt_28(self):
assert decrypt(strng='', key=9) == ''
def test_decrypt_29(self):
assert decrypt(strng='eyrfthe', key=66) == '#70$2&#'
def test_decrypt_30(self):
assert decrypt(strng='fe', key=16) == 'VU'
def test_decrypt_31(self):
assert decrypt(strng='suotnq', key=88) == 'z|v{ux'
def test_decrypt_32(self):
assert decrypt(strng='fvxyg', key=68) == '"245#'
def test_decrypt_33(self):
assert decrypt(strng='ynxkvoezx', key=84) == '%y$v"zp&$'
def test_decrypt_34(self):
assert decrypt(strng='yijtuk', key=88) == '!pq{|r'
def test_decrypt_35(self):
assert decrypt(strng='xiesmuu', key=88) == ' plzt||'
def test_decrypt_36(self):
assert decrypt(strng='bps', key=7) == '[il'
def test_decrypt_37(self):
assert decrypt(strng='mqtjratff', key=8) == 'eilbjYl^^'
def test_decrypt_38(self):
assert decrypt(strng='xenbpjg', key=57) == '?,5)71.'
def test_decrypt_39(self):
assert decrypt(strng='jpvut', key=7) == 'cionm'
def test_decrypt_40(self):
assert decrypt(strng='hyd', key=71) == '!2|'
def test_decrypt_41(self):
assert decrypt(strng='iv', key=25) == 'P]'
def test_decrypt_42(self):
assert decrypt(strng='jjhaxlrui', key=7) == 'ccaZqeknb'
def test_decrypt_43(self):
assert decrypt(strng='', key=68) == ''
def test_decrypt_44(self):
assert decrypt(strng='cnyszzm', key=88) == 'ju!z""t'
def test_decrypt_45(self):
assert decrypt(strng='sxvopkf', key=88) == 'z }vwrm'
def test_decrypt_46(self):
assert decrypt(strng='g', key=22) == 'Q'
def test_decrypt_47(self):
assert decrypt(strng='fe', key=64) == '&%'
def test_decrypt_48(self):
assert decrypt(strng='lu', key=8) == 'dm'
def test_decrypt_49(self):
assert decrypt(strng='bqomll', key=68) == '}-+)(('
def test_decrypt_50(self):
assert decrypt(strng='ifsfdpps', key=8) == 'a^k^\hhk'
def test_decrypt_51(self):
assert decrypt(strng='', key=7) == ''
def test_decrypt_52(self):
assert decrypt(strng='nlhv', key=42) == 'DB>L'
def test_decrypt_53(self):
assert decrypt(strng='z', key=71) == '3'
def test_decrypt_54(self):
assert decrypt(strng='uj', key=84) == '!u'
def test_decrypt_55(self):
assert decrypt(strng='xn', key=16) == 'h^'
def test_decrypt_56(self):
assert decrypt(strng='k', key=9) == 'b'
def test_decrypt_57(self):
assert decrypt(strng='yijtuk', key=9) == 'p`aklb'
def test_decrypt_58(self):
assert decrypt(strng='', key=8) == ''
def test_decrypt_59(self):
assert decrypt(strng='ng', key=6) == 'ha'
def test_decrypt_60(self):
assert decrypt(strng='', key=16) == ''
def test_decrypt_61(self):
assert decrypt(strng='hyd', key=79) == 'x*t'
def test_decrypt_62(self):
assert decrypt(strng='ajm', key=7) == 'Zcf'
def test_decrypt_63(self):
assert decrypt(strng='fxtmd', key=64) == '&84-$'
def test_decrypt_64(self):
assert decrypt(strng='nhbng', key=28) == 'RLFRK'
def test_decrypt_65(self):
assert decrypt(strng='', key=37) == ''
def test_decrypt_66(self):
assert decrypt(strng='vcuavuh', key=16) == 'fSeQfeX'
def test_decrypt_67(self):
assert decrypt(strng='zf', key=94) == '{g'
def test_decrypt_68(self):
assert decrypt(strng='wcuk', key=16) == 'gSe['
def test_decrypt_69(self):
assert decrypt(strng='hzukmqalf', key=18) == 'VhcY[_OZT'
def test_decrypt_70(self):
assert decrypt(strng='vgqku', key=64) == '6'1+5'
def test_decrypt_71(self):
assert decrypt(strng='z', key=25) == 'a'
def test_decrypt_72(self):
assert decrypt(strng='ncfcb', key=92) == 'qfife'
def test_decrypt_73(self):
assert decrypt(strng='hufke', key=93) == 'jwhmg'
def test_decrypt_74(self):
assert decrypt(strng='tkqfyer', key=86) == '}tzo#n{'
def test_decrypt_75(self):
assert decrypt(strng='jvkch', key=7) == 'cod\a'
def test_decrypt_76(self):
assert decrypt(strng='ymtvwqy', key=64) == '9-46719'
def test_decrypt_77(self):
assert decrypt(strng='yi', key=8) == 'qa'
def test_decrypt_78(self):
assert decrypt(strng='h', key=16) == 'X'
def test_decrypt_79(self):
assert decrypt(strng='vdwsaecx', key=16) == 'fTgcQUSh'
def test_decrypt_80(self):
assert decrypt(strng='pg', key=88) == 'wn'
def test_decrypt_81(self):
assert decrypt(strng='qjatiobo', key=16) == 'aZQdY_R_'
def test_decrypt_82(self):
assert decrypt(strng='d', key=16) == 'T'
def test_decrypt_83(self):
assert decrypt(strng='', key=71) == ''
def test_decrypt_84(self):
assert decrypt(strng='ucrsnlv', key=84) == '!n}~yw"'
def test_decrypt_85(self):
assert decrypt(strng='nrosiyzty', key=16) == '^b_cYijdi'
def test_decrypt_86(self):
assert decrypt(strng='ymij', key=57) == '@401'
def test_decrypt_87(self):
assert decrypt(strng='zkdsxen', key=58) == '@1*9>+4'
def test_decrypt_88(self):
assert decrypt(strng='vrhusl', key=46) == 'HD:GE>'
def test_decrypt_89(self):
assert decrypt(strng='', key=13) == ''
def test_decrypt_90(self):
assert decrypt(strng='aak', key=16) == 'QQ['
def test_decrypt_91(self):
assert decrypt(strng='cfdd', key=70) == '| }}'
def test_decrypt_92(self):
assert decrypt(strng='', key=36) == ''
def test_decrypt_93(self):
assert decrypt(strng='n', key=35) == 'K'
def test_decrypt_94(self):
assert decrypt(strng='', key=46) == ''
def test_decrypt_95(self):
assert decrypt(strng='cyyejd', key=16) == 'SiiUZT'
def test_decrypt_96(self):
assert decrypt(strng='wshxl', key=16) == 'gcXh\'
def test_decrypt_97(self):
assert decrypt(strng='c', key=16) == 'S'
def test_decrypt_98(self):
assert decrypt(strng='rmquegezy', key=16) == 'b]aeUWUji'
def test_decrypt_99(self):
assert decrypt(strng='mqtjratff', key=88) == 'tx{qyh{mm'
def test_decrypt_100(self):
assert decrypt(strng='y', key=13) == 'l'