2023-11-15 17:23:53 +00:00
|
|
|
from unittest import TestCase
|
|
|
|
|
|
|
|
from benchmark.caesar_cipher import encrypt
|
|
|
|
|
|
|
|
|
|
|
|
class Test_encrypt(TestCase):
|
|
|
|
def test_encrypt_1(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='.1zZ`MJ$', key=55) == 'ehR28%"['
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_2(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='Fs;g{w', key=4) == 'Jw?k {'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_3(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='X"N{', key=49) == '*S M'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_4(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng=',u', key=45) == 'YC'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_5(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='XR&lKm.', key=64) == '93fM,Nn'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_6(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='Ocj=e', key=49) == '!5<n7'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_7(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng=':]K*', key=82) == '-P>|'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_8(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='x]q`4;"', key=50) == 'K0D3fmT'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_9(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='/Pd6-hfD', key=36) == 'St)ZQ-+h'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_10(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='FKglwI<', key=61) == '$)EJU'y'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_11(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='nO^F', key=32) == '/o~f'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_12(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='!g&KCiEEC', key=5) == '&l+PHnJJH'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_13(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='!GDeE"', key=5) == '&LIjJ''
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_14(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='xjE? 0]fY', key=50) == 'K=wqRb09,'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_15(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='', key=38) == ''
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_16(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='lE+W~', key=67) == 'P)n;b'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_17(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='FbYUT**E', key=52) == 'z7.*)^^y'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_18(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='!RbeE"', key=5) == '&WgjJ''
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_19(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='Cl6$awL', key=28) == '_)R@}4h'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_20(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='zHvsl:"y', key=70) == 'a/]ZS!h`'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_21(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='b]', key=5) == 'gb'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_22(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='&', key=62) == 'd'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_23(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='Wr{@$5~cy', key=39) == '~:CgK\F+A'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_24(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='Cl6b[', key=28) == '_)R~w'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_25(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='DQ^f"\'', key=5) == 'IVck'a,'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_26(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='LD'', key=8) == 'TL/'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_27(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='nBx&KQ[i{', key=21) == '$W.;`fp~1'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_28(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='XL~X', key=70) == '?3e?'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_29(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='bspHP', key=5) == 'gxuMU'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_30(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='WALy^^!_+', key=83) == 'K5@mRRtS~'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_31(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='^VD,k;h', key=32) == '~vdL,[)'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_32(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='2A/L~[%4', key=57) == 'kzh&X5^m'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_33(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='{3hA', key=51) == 'Of<t'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_34(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='nD '5f', key=6) == 'tJ&-;l'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_35(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='(p;'k', key=89) == '"j5!e'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_36(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='XLLT+$^HQ', key=70) == '?33;qjE/8'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_37(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='=~7+4', key=89) == '7x1%.'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_38(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='XL~Xv ~', key=14) == 'fZ-f%.-'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_39(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng=']Q^f"S2', key=3) == '`Tai%V5'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_40(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='if<yM"\_', key=49) == ';8mK~S.1'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_41(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='_x$4n', key=49) == '1JUe@'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_42(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='n4mc', key=62) == 'MrLB'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_43(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='x', key=53) == 'N'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_44(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='=.%2Tk', key=89) == '7(~,Ne'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_45(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='', key=14) == ''
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_46(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='>y>', key=6) == 'D D'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_47(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='EoqE!F', key=8) == 'MwyM)N'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_48(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='X2Jz>2)L', key=38) == '~XpAdXOr'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_49(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='bsj', key=5) == 'gxo'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_50(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='FKglwI', key=61) == '$)EJU''
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_51(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='', key=57) == ''
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_52(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='LD,C', key=8) == 'TL4K'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_53(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='L-Xf$', key=8) == 'T5`n,'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_54(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='', key=77) == ''
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_55(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='Ckmi', key=14) == 'Qy{w'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_56(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='L-( W{ue', key=8) == 'T50(_$}m'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_57(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='/Pd6-Q[i{', key=36) == 'St)ZQu .@'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_58(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='XLRT+$^Yg', key=70) == '?39;qjE@N'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_59(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='^HG+B', key=51) == '2{z^u'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_60(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='1a'7Je', key=30) == 'O EUh$'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_61(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='vJaiN.cB', key=20) == '+^u}bBwV'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_62(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='ns(ob!Pb', key=61) == 'LQeM@^.@'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_63(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='nO15X', key=32) == '/oQUx'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_64(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='>9', key=45) == 'kf'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_65(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng=']Q^f"o28Q', key=3) == '`Tai%r5;T'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_66(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='5H>Eac', key=3) == '8KAHdf'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_67(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='L-X', key=8) == 'T5`'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_68(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='\CIXRTgh', key=38) == '#io~xz./'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_69(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='kK$q)[!E5', key=72) == 'T4lZqDi.}'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_70(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='G c#@\zf$', key=49) == 'xQ5Tq.L8U'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_71(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='/Pd6-hfD', key=70) == 'u7K|sOM+'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_72(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='L-', key=8) == 'T5'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_73(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='x]q`)m2"U', key=50) == 'K0D3[@dT('
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_74(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='ou*i"', key=8) == 'w}2q*'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_75(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='Wfi|*', key=92) == 'Tcfy''
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_76(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='j1}', key=63) == 'Jp]'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_77(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='4[D@&k^', key=23) == 'Kr[W=#u'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_78(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='', key=67) == ''
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_79(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='8D_.B|+', key=49) == 'iu1_sN\'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_80(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='!g&3', key=5) == '&l+8'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_81(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='nD', key=6) == 'tJ'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_82(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='x/_7', key=50) == 'Ka2i'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_83(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='?]', key=5) == 'Db'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_84(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='FKglwI}', key=61) == '$)EJU'['
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_85(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='nD '5f', key=8) == 'vL(/=n'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_86(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='XL~X', key=14) == 'fZ-f'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_87(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='!3V0]Ef', key=65) == 'bt8q?'H'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_88(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='C m/', key=51) == 'vSAb'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_89(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='^', key=49) == '0'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_90(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='=o71', key=64) == '}Pwq'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_91(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='cn', key=49) == '5@'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_92(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='xyC}Q', key=55) == 'PQzU)'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_93(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='', key=1) == ''
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_94(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='l;BCVf)~b', key=67) == 'P~&':JlbF'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_95(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='0$K', key=38) == 'VJq'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_96(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='5H>Eac ', key=3) == '8KAHdf#'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_97(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='L-ShQ', key=8) == 'T5[pY'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_98(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='c!1bQ`GY', key=49) == '5Rb4#2x+'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_99(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng=',m%l', key=76) == 'xZqY'
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_encrypt_100(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert encrypt(strng='XL~X', key=67) == '<0b<'
|