This commit is contained in:
Claudio Maggioni 2023-12-09 11:56:23 +01:00
parent 4272d6c3d4
commit b76e252f3c
16 changed files with 1559 additions and 1507 deletions

View file

@ -1,6 +1,5 @@
# Based on https://github.com/AllAlgorithms, python/algorithms/math/railfence_cipher.py
def railencrypt(st: str, k: int) -> str:
assert k > 1
c = 0

View file

@ -1,7 +1,9 @@
from random import randrange, choice, random
import os
from frozendict import frozendict
from random import randrange, choice, random
from typing import Callable
import tqdm
from frozendict import frozendict
from instrument import load_benchmark, Arg, Params, functions, invoke, call_statement, BranchTransformer, module_of
@ -60,11 +62,14 @@ def random_mutate(arg_type: str, arg_value: any) -> any:
prob = 1.0 / len(arg_value)
for pos in range(len(arg_value)):
if random() < prob:
arg_value = list(arg_value)
arg_value[pos] = random_chr()
arg_value = "".join(arg_value)
return arg_value
elif arg_type == 'int':
return random_int() # TODO: ask what to do here
delta = randrange(-10, 10)
return arg_value + delta
else:
raise ValueError(f"Arg type '{arg_type}' not supported")
@ -103,20 +108,43 @@ def get_pool(arguments: list[Arg]) -> set[Params]:
return set([frozendict({arg_names[i]: p for i, p in enumerate(param)}) for param in pools[arg_types]])
def get_test_cases(f_name: str, arguments: list[Arg], n: int) -> set[Params]:
def mutate(test_case: Params, arguments: list[Arg]) -> Params:
arg_name = choice(list(test_case.keys())) # choose name to mutate
types: dict[str, str] = {arg_name: arg_type for arg_name, arg_type in arguments}
return test_case.set(arg_name, random_mutate(types[arg_name], test_case[arg_name]))
def crossover(chosen_test: Params, other_chosen_test: Params, arguments: list[Arg]) -> tuple[Params, Params]:
# Select a property at random and swap properties
arg_name = choice(list(chosen_test.keys()))
types: dict[str, str] = {arg_name: arg_type for arg_name, arg_type in arguments}
if types[arg_name] == 'str':
# Crossover for strings intermingles the strings of the two chosen tests
s1, s2 = str_crossover(chosen_test[arg_name], other_chosen_test[arg_name])
t1 = chosen_test.set(arg_name, s1)
t2 = other_chosen_test.set(arg_name, s2)
else: # types[arg_name] == 'int'
# Crossover for integers swaps the values from the two tests
i1, i2 = chosen_test[arg_name], other_chosen_test[arg_name]
t1 = chosen_test.set(arg_name, i1)
t2 = other_chosen_test.set(arg_name, i2)
return t1, t2
def get_test_cases(f_name: str, arguments: list[Arg], n: int, enable_bar=True) -> set[Params]:
assert n >= 1
pool: set[Params] = get_pool(arguments)
pool_list = list(pool)
tests: set[Params] = set()
types: dict[str, str] = {arg_name: arg_type for arg_name, arg_type in arguments}
n = min(n, max_cases(arguments) // 3) # bound n by 1/3rd of the max possible number of tests
with ((tqdm.tqdm(total=n, desc=f"Tests for {BranchTransformer.to_original_name(f_name)}") as pbar)):
def consider_test_case(params: dict[str, any]):
t = frozendict(params)
with tqdm.tqdm(total=n, desc=f"Tests for {BranchTransformer.to_original_name(f_name)}",
disable=not enable_bar) as pbar:
def consider_test_case(t: Params):
if t not in pool:
pool.add(t)
pool_list.append(t)
@ -131,34 +159,21 @@ def get_test_cases(f_name: str, arguments: list[Arg], n: int) -> set[Params]:
pbar.update()
while len(tests) < n:
chosen_test: dict[str, any] = dict(choice(pool_list))
chosen_test: Params = choice(pool_list)
kind = choice(['pool', 'mutation', 'crossover'])
if kind == 'mutation':
arg_name = choice(list(chosen_test.keys())) # choose name to mutate
chosen_test[arg_name] = random_mutate(types[arg_name], chosen_test[arg_name])
consider_test_case(chosen_test)
consider_test_case(mutate(chosen_test, arguments))
elif kind == 'crossover':
# Select a property at random and swap properties
arg_name = choice(list(chosen_test.keys()))
# pick other distinct sample
other_chosen_test: dict[str, any] = chosen_test
while frozendict(chosen_test) == frozendict(other_chosen_test):
other_chosen_test = dict(choice(pool_list))
while True:
other_chosen_test: Params = choice(pool_list)
if frozendict(chosen_test) != frozendict(other_chosen_test):
break
if types[arg_name] == 'str':
# Crossover for strings intermingles the strings of the two chosen tests
chosen_test[arg_name], other_chosen_test[arg_name] = \
str_crossover(chosen_test[arg_name], other_chosen_test[arg_name])
else: # types[arg_name] == 'int'
# Crossover for integers swaps the values from the two tests
chosen_test[arg_name], other_chosen_test[arg_name] = \
other_chosen_test[arg_name], chosen_test[arg_name]
consider_test_case(chosen_test)
consider_test_case(other_chosen_test)
t1, t2 = crossover(chosen_test, other_chosen_test, arguments)
consider_test_case(t1)
consider_test_case(t2)
else:
consider_test_case(chosen_test)
@ -167,7 +182,7 @@ def get_test_cases(f_name: str, arguments: list[Arg], n: int) -> set[Params]:
def str_crossover(parent1: str, parent2: str):
if len(parent1) > 1 and len(parent2) > 1:
pos = randrange(1, len(parent1) - 1)
pos = randrange(1, len(parent1))
offspring1 = parent1[:pos] + parent2[pos:]
offspring2 = parent2[:pos] + parent1[pos:]
return offspring1, offspring2
@ -177,7 +192,9 @@ def str_crossover(parent1: str, parent2: str):
def get_test_case_source(f_name: str, test_case: Params, i: int, indent: int):
f_name_orig = BranchTransformer.to_original_name(f_name)
space = " " * (4 * indent)
single_indent = " " * 4
space = single_indent * indent
output = invoke(f_name, test_case)
@ -185,15 +202,14 @@ def get_test_case_source(f_name: str, test_case: Params, i: int, indent: int):
output = f"'{output}'"
return f"""{space}def test_{f_name_orig}_{i}(self):
{space} assert {call_statement(f_name_orig, test_case)} == {output}"""
{space}{single_indent}assert {call_statement(f_name_orig, test_case)} == {output}"""
def get_test_class(f_name: str, n_tests: int) -> str:
def get_test_class(f_name: str, case: set[Params]) -> str:
f_name_orig = BranchTransformer.to_original_name(f_name)
test_class = (f"from unittest import TestCase\n\nfrom {module_of[f_name]} import {f_name_orig}\n\n\n"
f"class Test_{f_name_orig}(TestCase):\n")
cases = get_test_cases(f_name, functions[f_name], n_tests)
test_class += "\n\n".join([get_test_case_source(f_name, case, i + 1, 1) for i, case in enumerate(cases)])
return test_class
@ -206,7 +222,8 @@ def main():
for f_name in functions.keys():
with open(os.path.join(OUT_DIR, f_name + ".py"), "w") as f:
f.write(get_test_class(f_name, 100))
cases = get_test_cases(f_name, functions[f_name], 100)
f.write(get_test_class(f_name, cases))
if __name__ == '__main__':

138
genetic.py Normal file
View file

@ -0,0 +1,138 @@
import os
from typing import Callable
from deap import creator, base, tools, algorithms
import fuzzer
import instrument
from fuzzer import get_test_cases, get_test_class
import frozendict
INDMUPROB = 0.05
MUPROB = 0.1
CXPROB = 0.5
TOURNSIZE = 3
NPOP = 300
NGEN = 200
REPS = 10
to_test: str = ""
OUT_DIR = os.path.join(os.path.dirname(__file__), "tests")
def normalize(x):
return x / (1.0 + x)
def get_test_case_generator(f_name: str, arguments: list[instrument.Arg]) -> Callable[[], list]:
return lambda: list(list(get_test_cases(f_name, arguments, 1, enable_bar=False))[0].items())
def generate(f_name: str):
global to_test
to_test = f_name
creator.create("Fitness", base.Fitness, weights=(-1.0,))
creator.create("Individual", list, fitness=creator.Fitness)
n_initial = 10
args = instrument.functions[f_name]
toolbox = base.Toolbox()
toolbox.register("attr_test_case", get_test_case_generator(to_test, instrument.functions[to_test]))
toolbox.register("individual",
tools.initRepeat,
creator.Individual,
toolbox.attr_test_case,
n=n_initial)
toolbox.register("population",
tools.initRepeat,
list,
toolbox.individual)
toolbox.register("evaluate", fitness)
def mate(tc1, tc2):
t1, t2 = frozendict.frozendict(tc1), frozendict.frozendict(tc2)
print("ticino", tc1, tc2)
o1, o2 = fuzzer.crossover(t1, t2, args)
i1, i2 = creator.Individual(o1.items()), creator.Individual(o2.items())
print("mate", i1, i2)
return i1, i2
def mutate(tc):
t = frozendict.frozendict(tc)
o = fuzzer.mutate(t, args)
i1 = creator.Individual(o.items())
print("mutate", i1)
return i1,
toolbox.register("mate", mate)
toolbox.register("mutate", mutate)
toolbox.register("select", tools.selTournament, tournsize=TOURNSIZE)
coverage = []
for i in range(REPS):
instrument.archive_true_branches = {}
instrument.archive_false_branches = {}
population = toolbox.population(n=NPOP)
print("population", population)
algorithms.eaSimple(population, toolbox, CXPROB, MUPROB, NGEN, verbose=False)
cov = len(instrument.archive_true_branches) + len(instrument.archive_false_branches)
print(cov, instrument.archive_true_branches, instrument.archive_false_branches)
coverage.append(cov)
print(coverage)
def fitness(individuals: list[list]) -> tuple[float]:
range_start, range_end = instrument.n_of_branches[to_test]
# Reset any distance values from previous executions
instrument.distances_true = {}
instrument.distances_false = {}
fitness = 0.0
for individual in individuals:
x = frozendict.frozendict(individual)
# Run the function under test
try:
out = instrument.invoke(to_test, x)
except AssertionError:
print(to_test, x, "=", "[FAILS]")
return 10000,
# Sum up branch distances
for branch in range(range_start, range_end):
if branch in instrument.distances_true:
if instrument.distances_true[branch] == 0 and branch not in instrument.archive_true_branches:
instrument.archive_true_branches[branch] = x
if branch not in instrument.archive_true_branches:
fitness += normalize(instrument.distances_true[branch])
for branch in range(range_start, range_end):
if branch in instrument.distances_false:
if instrument.distances_false[branch] == 0 and branch not in instrument.archive_false_branches:
instrument.archive_false_branches[branch] = x
if branch not in instrument.archive_false_branches:
fitness += normalize(instrument.distances_false[branch])
print(to_test, x, "=", out)
print("fitness", fitness)
print()
return fitness,
def main():
instrument.load_benchmark(save_instrumented=False) # instrument all files in benchmark
f_name = "railencrypt_instrumented"
generate(f_name)
with open(os.path.join(OUT_DIR, f_name + ".py"), "w") as f:
cases = get_test_cases(f_name, instrument.functions[f_name], 100)
f.write(get_test_class(f_name, cases))
if __name__ == '__main__':
main()

View file

@ -8,21 +8,9 @@ import ast
import astunparse
import sys
import random
from deap import creator, base, tools, algorithms
from operators import compute_distances
# hyperparameters
NPOP = 300
NGEN = 200
INDMUPROB = 0.05
MUPROB = 0.1
CXPROB = 0.5
TOURNSIZE = 3
LOW = -1000
UP = 1000
REPS = 10
MAX_STRING_LENGTH = 10
ROOT_DIR: str = os.path.dirname(__file__)
IN_DIR: str = os.path.join(ROOT_DIR, 'benchmark')
OUT_DIR: str = os.path.join(ROOT_DIR, 'instrumented')
@ -30,12 +18,14 @@ SUFFIX: str = "_instrumented"
distances_true: dict[int, int] = {}
distances_false: dict[int, int] = {}
branches: list[int] = [1, 2, 3, 4, 5]
archive_true_branches: dict[int, str] = {}
archive_false_branches: dict[int, str] = {}
# Archive of solutions
archive_true_branches: dict[int, any] = {}
archive_false_branches: dict[int, any] = {}
class BranchTransformer(ast.NodeTransformer):
branches_range: dict[str, tuple[int, int]]
branch_num: int
instrumented_name: Optional[str]
in_assert: bool
@ -46,6 +36,7 @@ class BranchTransformer(ast.NodeTransformer):
self.instrumented_name = None
self.in_assert = False
self.in_return = False
self.branches_range = {}
@staticmethod
def to_instrumented_name(name: str):
@ -70,8 +61,10 @@ class BranchTransformer(ast.NodeTransformer):
def visit_FunctionDef(self, ast_node):
self.instrumented_name = ast_node.name
b_start = self.branch_num
ast_node.name = BranchTransformer.to_instrumented_name(ast_node.name)
inner_node = self.generic_visit(ast_node)
self.branches_range[ast_node.name] = (b_start, self.branch_num)
self.instrumented_name = None
return inner_node
@ -130,122 +123,30 @@ def evaluate_condition(num, op, lhs, rhs): # type: ignore
return distance_true == 0
def normalize(x):
return x / (1.0 + x)
def get_fitness_cgi(individual):
x = individual[0]
# Reset any distance values from previous executions
global distances_true, distances_false
global branches, archive_true_branches, archive_false_branches
distances_true = {}
distances_false = {}
# TODO: fix this
# Run the function under test
# try:
# cgi_decode_instrumented(x)
# except BaseException:
# pass
# Sum up branch distances
fitness = 0.0
for branch in branches:
if branch in distances_true:
if distances_true[branch] == 0 and branch not in archive_true_branches:
archive_true_branches[branch] = x
if branch not in archive_true_branches:
fitness += normalize(distances_true[branch])
for branch in branches:
if branch in distances_false:
if distances_false[branch] == 0 and branch not in archive_false_branches:
archive_false_branches[branch] = x
if branch not in archive_false_branches:
fitness += normalize(distances_false[branch])
return fitness,
def random_string():
length = random.randint(0, MAX_STRING_LENGTH)
s = ""
for i in range(length):
random_character = chr(random.randrange(32, 127))
s = s + random_character
return s
def crossover(individual1, individual2):
parent1 = individual1[0]
parent2 = individual2[0]
if len(parent1) > 1 and len(parent2) > 1:
pos = random.randint(1, len(parent1))
offspring1 = parent1[:pos] + parent2[pos:]
offspring2 = parent2[:pos] + parent1[pos:]
individual1[0] = offspring1
individual2[0] = offspring2
return individual1, individual2
def mutate(individual):
chromosome = individual[0]
mutated = chromosome[:]
if len(mutated) > 0:
prob = 1.0 / len(mutated)
for pos in range(len(mutated)):
if random.random() < prob:
new_c = chr(random.randrange(32, 127))
mutated = mutated[:pos] + new_c + mutated[pos + 1:]
individual[0] = mutated
return individual,
def generate():
global archive_true_branches, archive_false_branches
creator.create("Fitness", base.Fitness, weights=(-1.0,))
creator.create("Individual", list, fitness=creator.Fitness)
toolbox = base.Toolbox()
toolbox.register("attr_str", random_string)
toolbox.register("individual", tools.initRepeat, creator.Individual, toolbox.attr_str, n=1)
toolbox.register("population", tools.initRepeat, list, toolbox.individual)
toolbox.register("evaluate", get_fitness_cgi)
toolbox.register("mate", crossover)
toolbox.register("mutate", mutate)
toolbox.register("select", tools.selTournament, tournsize=TOURNSIZE)
coverage = []
for i in range(REPS):
archive_true_branches = {}
archive_false_branches = {}
population = toolbox.population(n=NPOP)
algorithms.eaSimple(population, toolbox, CXPROB, MUPROB, NGEN, verbose=False)
cov = len(archive_true_branches) + len(archive_false_branches)
print(cov, archive_true_branches, archive_false_branches)
coverage.append(cov)
ArgType = str
Arg = tuple[str, ArgType]
Params = frozendict[str, any]
SignatureDict = dict[str, list[Arg]]
n_of_branches: dict[str, tuple[int, int]] = {}
functions: SignatureDict = {}
module_of: dict[str, str] = {}
def instrument(source_path: str, target_path: str, save_instrumented=True):
global functions
global functions, n_of_branches
with open(source_path, "r") as f:
source = f.read()
node = ast.parse(source)
# print(ast.dump(node, indent=2))
BranchTransformer().visit(node)
b = BranchTransformer()
b.visit(node)
for f_name, limits in b.branches_range.items():
n_of_branches[f_name] = limits
node = ast.fix_missing_locations(node) # Make sure the line numbers are ok before printing
if save_instrumented:

View file

@ -5,301 +5,304 @@ from benchmark.anagram_check import anagram_check
class Test_anagram_check(TestCase):
def test_anagram_check_1(self):
assert anagram_check(s1='yplc', s2='ycq') == False
assert anagram_check(s1='', s2='3Q%H8e') == False
def test_anagram_check_2(self):
assert anagram_check(s1='ecw', s2='oyhf') == False
assert anagram_check(s1='V>tI-vq', s2='2UFU.J@W1') == False
def test_anagram_check_3(self):
assert anagram_check(s1='zldep', s2='zhjknjbzs') == False
assert anagram_check(s1='F'', s2='W>5') == False
def test_anagram_check_4(self):
assert anagram_check(s1='vhvz', s2='ai') == False
assert anagram_check(s1='(E7/~', s2='k\*'k+w|W') == False
def test_anagram_check_5(self):
assert anagram_check(s1='c', s2='') == False
assert anagram_check(s1='{.HDvB;K', s2='U]') == False
def test_anagram_check_6(self):
assert anagram_check(s1='zuampazf', s2='kfmaiwhko') == False
assert anagram_check(s1='o', s2=';_~E,') == False
def test_anagram_check_7(self):
assert anagram_check(s1='evsvfovko', s2='hauhpmt') == False
assert anagram_check(s1='P2Q', s2='') == False
def test_anagram_check_8(self):
assert anagram_check(s1='gqkbyu', s2='gjeg') == False
assert anagram_check(s1='"G', s2=',+IY/') == False
def test_anagram_check_9(self):
assert anagram_check(s1='y', s2='yduqc') == False
assert anagram_check(s1='CD[,W^"{M', s2='DYpw') == False
def test_anagram_check_10(self):
assert anagram_check(s1='pgllzt', s2='hjq') == False
assert anagram_check(s1='1', s2='GKGn') == False
def test_anagram_check_11(self):
assert anagram_check(s1='grxyqmu', s2='e') == False
assert anagram_check(s1='8B=zA9TN,', s2='~') == False
def test_anagram_check_12(self):
assert anagram_check(s1='', s2='jp') == False
assert anagram_check(s1='p,', s2='') == False
def test_anagram_check_13(self):
assert anagram_check(s1='rbqs', s2='khdwq') == False
assert anagram_check(s1='DU?Y', s2='r') == False
def test_anagram_check_14(self):
assert anagram_check(s1='eecze', s2='g') == False
assert anagram_check(s1='f', s2='p{C-`Pq6T') == False
def test_anagram_check_15(self):
assert anagram_check(s1='fymazhw', s2='qja') == False
assert anagram_check(s1='{M?/I', s2='#HxX') == False
def test_anagram_check_16(self):
assert anagram_check(s1='', s2='zjslnlgb') == False
assert anagram_check(s1='*w', s2='LO-SW') == False
def test_anagram_check_17(self):
assert anagram_check(s1='de', s2='thvvqoyx') == False
assert anagram_check(s1=''', s2='@y') == False
def test_anagram_check_18(self):
assert anagram_check(s1='gqpctlvm', s2='') == False
assert anagram_check(s1='', s2='}Q') == False
def test_anagram_check_19(self):
assert anagram_check(s1='', s2='y') == False
assert anagram_check(s1='Aen"W!y', s2='7,T ') == False
def test_anagram_check_20(self):
assert anagram_check(s1='qkh', s2='vuwl') == False
assert anagram_check(s1='+pv', s2='"lR') == False
def test_anagram_check_21(self):
assert anagram_check(s1='t', s2='t') == True
assert anagram_check(s1='|e#z|', s2='C'spOA,U') == False
def test_anagram_check_22(self):
assert anagram_check(s1='jt', s2='ivx') == False
assert anagram_check(s1='+ov', s2='"lR') == False
def test_anagram_check_23(self):
assert anagram_check(s1='v', s2='xuif') == False
assert anagram_check(s1='j(c@76t', s2='((') == False
def test_anagram_check_24(self):
assert anagram_check(s1='', s2='afxe') == False
assert anagram_check(s1='kjCu #-FR', s2='u') == False
def test_anagram_check_25(self):
assert anagram_check(s1='yjgvhbu', s2='itcww') == False
assert anagram_check(s1='{5', s2='7m;') == False
def test_anagram_check_26(self):
assert anagram_check(s1='opw', s2='') == False
assert anagram_check(s1='|d+.OH', s2='P') == False
def test_anagram_check_27(self):
assert anagram_check(s1='ynowvxbwt', s2='ofaunfn') == False
assert anagram_check(s1='%|K2&&*', s2='M; X') == False
def test_anagram_check_28(self):
assert anagram_check(s1='vnx', s2='g') == False
assert anagram_check(s1='', s2='kF7J6Q\=G') == False
def test_anagram_check_29(self):
assert anagram_check(s1='kgc', s2='vjwbqnzn') == False
assert anagram_check(s1='I:2y_pj"', s2='_'G') == False
def test_anagram_check_30(self):
assert anagram_check(s1='e', s2='pf') == False
assert anagram_check(s1='Z)R"Qb8', s2=']T.\3(x') == False
def test_anagram_check_31(self):
assert anagram_check(s1='imvqj', s2='kpfcfxga') == False
assert anagram_check(s1='^y1gH)jvp', s2='(Y1vpvfv') == False
def test_anagram_check_32(self):
assert anagram_check(s1='wiespjdeo', s2='') == False
assert anagram_check(s1='W', s2='1e7') == False
def test_anagram_check_33(self):
assert anagram_check(s1='jgi', s2='kl') == False
assert anagram_check(s1='Nj(}%', s2='m{|c8=a') == False
def test_anagram_check_34(self):
assert anagram_check(s1='nylvfden', s2='kuihzw') == False
assert anagram_check(s1='B/mqTkzy]', s2='_'TX\U<F!') == False
def test_anagram_check_35(self):
assert anagram_check(s1='', s2='xpqvjl') == False
assert anagram_check(s1='t@f.', s2='m`X)D~Lv') == False
def test_anagram_check_36(self):
assert anagram_check(s1='dxceubtlu', s2='kwfegvfu') == False
assert anagram_check(s1='xA9', s2='k>GAoo') == False
def test_anagram_check_37(self):
assert anagram_check(s1='rpl', s2='yduqc') == False
assert anagram_check(s1='rC.u KD:'', s2='~o') == False
def test_anagram_check_38(self):
assert anagram_check(s1='jyaxwjvv', s2='ve') == False
assert anagram_check(s1='MBgu', s2='/xN-`Pq6T') == False
def test_anagram_check_39(self):
assert anagram_check(s1='aevailuxu', s2='') == False
assert anagram_check(s1='y+>', s2='X)/') == False
def test_anagram_check_40(self):
assert anagram_check(s1='vpicbln', s2='l') == False
assert anagram_check(s1='-LtEPi-{?', s2='$j0I+') == False
def test_anagram_check_41(self):
assert anagram_check(s1='ckbgmzae', s2='ikfdk') == False
assert anagram_check(s1='[L$(F', s2='(JsXN]/MQ') == False
def test_anagram_check_42(self):
assert anagram_check(s1='o', s2='exwmqp') == False
assert anagram_check(s1='X6:', s2='[1N0<') == False
def test_anagram_check_43(self):
assert anagram_check(s1='ntuuht', s2='orkj') == False
assert anagram_check(s1='4x', s2='jp8qx') == False
def test_anagram_check_44(self):
assert anagram_check(s1='bo', s2='') == False
assert anagram_check(s1='"n.Fa+T<Q', s2='') == False
def test_anagram_check_45(self):
assert anagram_check(s1='fxfxea', s2='pnpmdti') == False
assert anagram_check(s1='', s2=' vik@%') == False
def test_anagram_check_46(self):
assert anagram_check(s1='l', s2='vqvrhhf') == False
assert anagram_check(s1='3Qze', s2='S)_') == False
def test_anagram_check_47(self):
assert anagram_check(s1='eqdgjmuu', s2='a') == False
assert anagram_check(s1='q%pCIP{f', s2='c=\Q') == False
def test_anagram_check_48(self):
assert anagram_check(s1='zxznuo', s2='mz') == False
assert anagram_check(s1='=xmur', s2='F') == False
def test_anagram_check_49(self):
assert anagram_check(s1='ffe', s2='uliflb') == False
assert anagram_check(s1='y2^)$)', s2='') == False
def test_anagram_check_50(self):
assert anagram_check(s1='kcy', s2='mazdaemjz') == False
assert anagram_check(s1='jlw)', s2='L(') == False
def test_anagram_check_51(self):
assert anagram_check(s1='coetxy', s2='jzkufxdun') == False
assert anagram_check(s1=':ei#f', s2='gv<X<') == False
def test_anagram_check_52(self):
assert anagram_check(s1='cdaasq', s2='mpglw') == False
assert anagram_check(s1='c@x[r', s2='.j7Wj') == False
def test_anagram_check_53(self):
assert anagram_check(s1='n', s2='xhzet') == False
assert anagram_check(s1='u>', s2='U') == False
def test_anagram_check_54(self):
assert anagram_check(s1='ama', s2='jxjpoim') == False
assert anagram_check(s1='va6x@Wa>', s2='0! ') == False
def test_anagram_check_55(self):
assert anagram_check(s1='lakfn', s2='x') == False
assert anagram_check(s1='/aRj', s2=')*') == False
def test_anagram_check_56(self):
assert anagram_check(s1='hdle', s2='qpcnia') == False
assert anagram_check(s1='`,-', s2='r{^HTYwqb') == False
def test_anagram_check_57(self):
assert anagram_check(s1='omquy', s2='qbqgfflcu') == False
assert anagram_check(s1='R&l_', s2='Y(u') == False
def test_anagram_check_58(self):
assert anagram_check(s1='gter', s2='cpicjywy') == False
assert anagram_check(s1='W', s2='lWidmzS9') == False
def test_anagram_check_59(self):
assert anagram_check(s1='lakfn', s2='vqvrhhf') == False
assert anagram_check(s1='w[rB;W', s2='k&1kF,1;E') == False
def test_anagram_check_60(self):
assert anagram_check(s1='jyznboajo', s2='bmca') == False
assert anagram_check(s1='4"', s2='?9'') == False
def test_anagram_check_61(self):
assert anagram_check(s1='', s2='ydb') == False
assert anagram_check(s1='r{>8', s2='K0B~f') == False
def test_anagram_check_62(self):
assert anagram_check(s1='sivmua', s2='x') == False
assert anagram_check(s1='k', s2='[n1#') == False
def test_anagram_check_63(self):
assert anagram_check(s1='eyyb', s2='uxjwf') == False
assert anagram_check(s1='2G]}8', s2='FX7.') == False
def test_anagram_check_64(self):
assert anagram_check(s1='wibdil', s2='it') == False
assert anagram_check(s1='', s2='>*%C^hI') == False
def test_anagram_check_65(self):
assert anagram_check(s1='fyfw', s2='lnj') == False
assert anagram_check(s1='F', s2='IRr.MF') == False
def test_anagram_check_66(self):
assert anagram_check(s1='xelkoql', s2='em') == False
assert anagram_check(s1='XV4yF0WTY', s2='sk#') == False
def test_anagram_check_67(self):
assert anagram_check(s1='jdfpwvy', s2='sg') == False
assert anagram_check(s1='[<o-`/"', s2='la`[QV+') == False
def test_anagram_check_68(self):
assert anagram_check(s1='i', s2='m') == False
assert anagram_check(s1=';T${', s2='N+_4@') == False
def test_anagram_check_69(self):
assert anagram_check(s1='m', s2='g') == False
assert anagram_check(s1='B/mqTkzy]', s2='_=\Q') == False
def test_anagram_check_70(self):
assert anagram_check(s1='frncc', s2='lxvsn') == False
assert anagram_check(s1='^Y', s2=' m%\fDZ)h') == False
def test_anagram_check_71(self):
assert anagram_check(s1='mwjzqp', s2='czgnpehn') == False
assert anagram_check(s1='N9', s2='&|A[we~ic') == False
def test_anagram_check_72(self):
assert anagram_check(s1='xc', s2='sg') == False
assert anagram_check(s1='gd0l', s2=''>') == False
def test_anagram_check_73(self):
assert anagram_check(s1='eb', s2='zzrnoog') == False
assert anagram_check(s1=' z{'wm04', s2='GDQQe'kK') == False
def test_anagram_check_74(self):
assert anagram_check(s1='is', s2='oiwp') == False
assert anagram_check(s1='BnET', s2='xYmH}Dm') == False
def test_anagram_check_75(self):
assert anagram_check(s1='gcpr', s2='bxto') == False
assert anagram_check(s1='Z)R"Qb8', s2=']{C,E') == False
def test_anagram_check_76(self):
assert anagram_check(s1='js', s2='ocpiiox') == False
assert anagram_check(s1='Rn1]', s2=']') == False
def test_anagram_check_77(self):
assert anagram_check(s1='ze', s2='vdp') == False
assert anagram_check(s1='FN', s2='qQ7h'.n') == False
def test_anagram_check_78(self):
assert anagram_check(s1='zpmr', s2='lrvyck') == False
assert anagram_check(s1='', s2='7') == False
def test_anagram_check_79(self):
assert anagram_check(s1='m', s2='xy') == False
assert anagram_check(s1=''Cc';sX', s2='PA%') == False
def test_anagram_check_80(self):
assert anagram_check(s1='gdludomrk', s2='utrjdnvtk') == False
assert anagram_check(s1='Q#9KVEZ', s2='-/^S0;]/') == False
def test_anagram_check_81(self):
assert anagram_check(s1='dwns', s2='ftdv') == False
assert anagram_check(s1='', s2=',') == False
def test_anagram_check_82(self):
assert anagram_check(s1='iiimynmts', s2='cjft') == False
assert anagram_check(s1='#7(,v{\{J', s2='6S$~h?') == False
def test_anagram_check_83(self):
assert anagram_check(s1='g', s2='vdoa') == False
assert anagram_check(s1='_D,x4b', s2='ALY') == False
def test_anagram_check_84(self):
assert anagram_check(s1='ilpqxrck', s2='znolqmjlw') == False
assert anagram_check(s1='_8^4amA', s2=']f4') == False
def test_anagram_check_85(self):
assert anagram_check(s1='', s2='zzrnoog') == False
assert anagram_check(s1='tC@H{=G', s2='u1;)') == False
def test_anagram_check_86(self):
assert anagram_check(s1='jdfpwvy', s2='') == False
assert anagram_check(s1='j#', s2='q)7(') == False
def test_anagram_check_87(self):
assert anagram_check(s1='syad', s2='') == False
assert anagram_check(s1='zy!ob:llU', s2='Pjf') == False
def test_anagram_check_88(self):
assert anagram_check(s1='', s2='vmroguwdi') == False
assert anagram_check(s1='L]c1clT?', s2='') == False
def test_anagram_check_89(self):
assert anagram_check(s1='olnymh', s2='ezbivaom') == False
assert anagram_check(s1='Mg:sk(*', s2=';') == False
def test_anagram_check_90(self):
assert anagram_check(s1='hlaplylu', s2='lrk') == False
assert anagram_check(s1='rME', s2='^m') == False
def test_anagram_check_91(self):
assert anagram_check(s1='vgooctm', s2='zzrnoog') == False
assert anagram_check(s1='0e:JCRNB', s2='mh:?3rb') == False
def test_anagram_check_92(self):
assert anagram_check(s1='f', s2='feaj') == False
assert anagram_check(s1='~.njBt/Pr', s2='%w5PP/@oY') == False
def test_anagram_check_93(self):
assert anagram_check(s1='obhxgd', s2='') == False
assert anagram_check(s1=' z;(6@09', s2='.=') == False
def test_anagram_check_94(self):
assert anagram_check(s1='copxl', s2='mycb') == False
assert anagram_check(s1='', s2='}*%C^hI') == False
def test_anagram_check_95(self):
assert anagram_check(s1='l', s2='x') == False
assert anagram_check(s1='+_prg', s2='at<y&46') == False
def test_anagram_check_96(self):
assert anagram_check(s1='tulzvfub', s2='btimc') == False
assert anagram_check(s1='1G~GM-', s2='p') == False
def test_anagram_check_97(self):
assert anagram_check(s1='hna', s2='lrvyck') == False
assert anagram_check(s1=')gwoXqTN,', s2='R49qTWTgv') == False
def test_anagram_check_98(self):
assert anagram_check(s1='oiilgmvdw', s2='af') == False
assert anagram_check(s1='/6', s2='&Vp') == False
def test_anagram_check_99(self):
assert anagram_check(s1='vnx', s2='rbb') == False
assert anagram_check(s1='', s2='Rh') == False
def test_anagram_check_100(self):
assert anagram_check(s1='ctycslewe', s2='hnqmnppsp') == False
assert anagram_check(s1='WO(MMB"o', s2='>') == False
def test_anagram_check_101(self):
assert anagram_check(s1='', s2='`i:1B') == False

View file

@ -5,304 +5,301 @@ from benchmark.common_divisor_count import cd_count
class Test_cd_count(TestCase):
def test_cd_count_1(self):
assert cd_count(a=584, b=-345) == 1
assert cd_count(a=-750, b=879) == 2
def test_cd_count_2(self):
assert cd_count(a=-712, b=-668) == 3
assert cd_count(a=-998, b=763) == 1
def test_cd_count_3(self):
assert cd_count(a=975, b=-510) == 4
assert cd_count(a=-64, b=55) == 1
def test_cd_count_4(self):
assert cd_count(a=-610, b=-557) == 1
assert cd_count(a=-298, b=-790) == 2
def test_cd_count_5(self):
assert cd_count(a=176, b=400) == 5
assert cd_count(a=829, b=830) == 1
def test_cd_count_6(self):
assert cd_count(a=308, b=-472) == 3
assert cd_count(a=-973, b=220) == 1
def test_cd_count_7(self):
assert cd_count(a=-330, b=778) == 2
assert cd_count(a=872, b=55) == 1
def test_cd_count_8(self):
assert cd_count(a=-271, b=212) == 1
assert cd_count(a=348, b=-251) == 1
def test_cd_count_9(self):
assert cd_count(a=-841, b=-15) == 1
assert cd_count(a=544, b=-783) == 1
def test_cd_count_10(self):
assert cd_count(a=993, b=450) == 2
assert cd_count(a=-685, b=-824) == 1
def test_cd_count_11(self):
assert cd_count(a=-939, b=495) == 2
assert cd_count(a=875, b=735) == 4
def test_cd_count_12(self):
assert cd_count(a=322, b=545) == 1
assert cd_count(a=-546, b=700) == 4
def test_cd_count_13(self):
assert cd_count(a=325, b=-464) == 1
assert cd_count(a=-482, b=843) == 1
def test_cd_count_14(self):
assert cd_count(a=-415, b=109) == 1
assert cd_count(a=930, b=-853) == 1
def test_cd_count_15(self):
assert cd_count(a=388, b=302) == 2
assert cd_count(a=-1000, b=786) == 2
def test_cd_count_16(self):
assert cd_count(a=-120, b=-61) == 1
assert cd_count(a=701, b=-63) == 1
def test_cd_count_17(self):
assert cd_count(a=-402, b=164) == 2
assert cd_count(a=-974, b=-9) == 1
def test_cd_count_18(self):
assert cd_count(a=-315, b=257) == 1
assert cd_count(a=162, b=-399) == 2
def test_cd_count_19(self):
assert cd_count(a=-994, b=-955) == 1
assert cd_count(a=792, b=400) == 4
def test_cd_count_20(self):
assert cd_count(a=611, b=-113) == 1
assert cd_count(a=656, b=-516) == 3
def test_cd_count_21(self):
assert cd_count(a=821, b=550) == 1
assert cd_count(a=-544, b=731) == 2
def test_cd_count_22(self):
assert cd_count(a=-404, b=960) == 3
assert cd_count(a=512, b=788) == 3
def test_cd_count_23(self):
assert cd_count(a=162, b=-422) == 2
assert cd_count(a=878, b=-899) == 1
def test_cd_count_24(self):
assert cd_count(a=940, b=741) == 1
assert cd_count(a=16, b=792) == 4
def test_cd_count_25(self):
assert cd_count(a=12, b=-270) == 4
assert cd_count(a=117, b=-9) == 3
def test_cd_count_26(self):
assert cd_count(a=-490, b=-403) == 1
assert cd_count(a=-693, b=770) == 4
def test_cd_count_27(self):
assert cd_count(a=-87, b=-270) == 2
assert cd_count(a=-331, b=-615) == 1
def test_cd_count_28(self):
assert cd_count(a=-362, b=-406) == 2
assert cd_count(a=417, b=-884) == 1
def test_cd_count_29(self):
assert cd_count(a=328, b=-291) == 1
assert cd_count(a=327, b=-159) == 2
def test_cd_count_30(self):
assert cd_count(a=457, b=328) == 1
assert cd_count(a=-618, b=-665) == 1
def test_cd_count_31(self):
assert cd_count(a=-837, b=-349) == 1
assert cd_count(a=409, b=-668) == 1
def test_cd_count_32(self):
assert cd_count(a=27, b=-391) == 1
assert cd_count(a=-713, b=-192) == 1
def test_cd_count_33(self):
assert cd_count(a=-417, b=-969) == 2
assert cd_count(a=-582, b=-455) == 1
def test_cd_count_34(self):
assert cd_count(a=-529, b=-472) == 1
assert cd_count(a=930, b=-706) == 2
def test_cd_count_35(self):
assert cd_count(a=-109, b=-69) == 1
assert cd_count(a=-668, b=630) == 2
def test_cd_count_36(self):
assert cd_count(a=961, b=105) == 1
assert cd_count(a=-505, b=-14) == 1
def test_cd_count_37(self):
assert cd_count(a=-669, b=-16) == 1
assert cd_count(a=819, b=-291) == 2
def test_cd_count_38(self):
assert cd_count(a=-932, b=284) == 3
assert cd_count(a=-834, b=-422) == 2
def test_cd_count_39(self):
assert cd_count(a=164, b=-438) == 2
assert cd_count(a=466, b=722) == 2
def test_cd_count_40(self):
assert cd_count(a=-652, b=215) == 1
assert cd_count(a=125, b=304) == 1
def test_cd_count_41(self):
assert cd_count(a=-925, b=-731) == 1
assert cd_count(a=-602, b=221) == 1
def test_cd_count_42(self):
assert cd_count(a=751, b=-61) == 1
assert cd_count(a=22, b=259) == 1
def test_cd_count_43(self):
assert cd_count(a=-101, b=-24) == 1
assert cd_count(a=671, b=-530) == 1
def test_cd_count_44(self):
assert cd_count(a=397, b=-482) == 1
assert cd_count(a=-67, b=557) == 1
def test_cd_count_45(self):
assert cd_count(a=216, b=701) == 1
assert cd_count(a=10, b=920) == 4
def test_cd_count_46(self):
assert cd_count(a=-937, b=-668) == 1
assert cd_count(a=459, b=-956) == 1
def test_cd_count_47(self):
assert cd_count(a=628, b=-490) == 2
assert cd_count(a=845, b=-377) == 2
def test_cd_count_48(self):
assert cd_count(a=127, b=969) == 1
assert cd_count(a=-531, b=-413) == 2
def test_cd_count_49(self):
assert cd_count(a=297, b=382) == 1
assert cd_count(a=820, b=-58) == 2
def test_cd_count_50(self):
assert cd_count(a=-290, b=104) == 2
assert cd_count(a=769, b=-410) == 1
def test_cd_count_51(self):
assert cd_count(a=-68, b=-878) == 2
assert cd_count(a=-262, b=394) == 2
def test_cd_count_52(self):
assert cd_count(a=81, b=-13) == 1
assert cd_count(a=-961, b=-140) == 1
def test_cd_count_53(self):
assert cd_count(a=930, b=288) == 4
assert cd_count(a=960, b=-6) == 4
def test_cd_count_54(self):
assert cd_count(a=943, b=-700) == 1
assert cd_count(a=-808, b=792) == 4
def test_cd_count_55(self):
assert cd_count(a=-669, b=-422) == 1
assert cd_count(a=-28, b=669) == 1
def test_cd_count_56(self):
assert cd_count(a=-528, b=763) == 1
assert cd_count(a=277, b=228) == 1
def test_cd_count_57(self):
assert cd_count(a=735, b=154) == 2
assert cd_count(a=-693, b=-144) == 3
def test_cd_count_58(self):
assert cd_count(a=341, b=-332) == 1
assert cd_count(a=125, b=994) == 1
def test_cd_count_59(self):
assert cd_count(a=-62, b=-332) == 2
assert cd_count(a=-532, b=-342) == 4
def test_cd_count_60(self):
assert cd_count(a=-271, b=580) == 1
assert cd_count(a=-162, b=-266) == 2
def test_cd_count_61(self):
assert cd_count(a=-440, b=-186) == 2
assert cd_count(a=-561, b=219) == 2
def test_cd_count_62(self):
assert cd_count(a=260, b=-956) == 3
assert cd_count(a=-96, b=819) == 2
def test_cd_count_63(self):
assert cd_count(a=-625, b=457) == 1
assert cd_count(a=380, b=372) == 3
def test_cd_count_64(self):
assert cd_count(a=-483, b=-400) == 1
assert cd_count(a=439, b=-276) == 1
def test_cd_count_65(self):
assert cd_count(a=-319, b=137) == 1
assert cd_count(a=377, b=-874) == 1
def test_cd_count_66(self):
assert cd_count(a=-972, b=-931) == 1
assert cd_count(a=-532, b=-501) == 1
def test_cd_count_67(self):
assert cd_count(a=-285, b=940) == 2
assert cd_count(a=329, b=-487) == 1
def test_cd_count_68(self):
assert cd_count(a=-434, b=-581) == 2
assert cd_count(a=203, b=-883) == 1
def test_cd_count_69(self):
assert cd_count(a=-529, b=-666) == 1
assert cd_count(a=757, b=-958) == 1
def test_cd_count_70(self):
assert cd_count(a=948, b=763) == 1
assert cd_count(a=-86, b=-929) == 1
def test_cd_count_71(self):
assert cd_count(a=-660, b=-657) == 2
assert cd_count(a=-181, b=-231) == 1
def test_cd_count_72(self):
assert cd_count(a=-816, b=-241) == 1
assert cd_count(a=712, b=-241) == 1
def test_cd_count_73(self):
assert cd_count(a=524, b=594) == 2
assert cd_count(a=-583, b=542) == 1
def test_cd_count_74(self):
assert cd_count(a=-14, b=743) == 1
assert cd_count(a=151, b=-334) == 1
def test_cd_count_75(self):
assert cd_count(a=745, b=-80) == 2
assert cd_count(a=987, b=879) == 2
def test_cd_count_76(self):
assert cd_count(a=493, b=504) == 1
assert cd_count(a=328, b=546) == 2
def test_cd_count_77(self):
assert cd_count(a=-170, b=-232) == 2
assert cd_count(a=347, b=-337) == 1
def test_cd_count_78(self):
assert cd_count(a=28, b=-804) == 3
assert cd_count(a=10, b=-46) == 2
def test_cd_count_79(self):
assert cd_count(a=221, b=212) == 1
assert cd_count(a=-959, b=702) == 1
def test_cd_count_80(self):
assert cd_count(a=994, b=-397) == 1
assert cd_count(a=96, b=321) == 2
def test_cd_count_81(self):
assert cd_count(a=-902, b=193) == 1
assert cd_count(a=-1000, b=-865) == 2
def test_cd_count_82(self):
assert cd_count(a=221, b=580) == 1
assert cd_count(a=-781, b=-808) == 1
def test_cd_count_83(self):
assert cd_count(a=-953, b=312) == 1
assert cd_count(a=-593, b=-963) == 1
def test_cd_count_84(self):
assert cd_count(a=-21, b=-927) == 2
assert cd_count(a=376, b=230) == 2
def test_cd_count_85(self):
assert cd_count(a=-944, b=-658) == 2
assert cd_count(a=791, b=587) == 1
def test_cd_count_86(self):
assert cd_count(a=750, b=-290) == 4
assert cd_count(a=-737, b=327) == 1
def test_cd_count_87(self):
assert cd_count(a=-554, b=931) == 1
assert cd_count(a=923, b=-475) == 1
def test_cd_count_88(self):
assert cd_count(a=-534, b=-763) == 1
assert cd_count(a=446, b=-611) == 1
def test_cd_count_89(self):
assert cd_count(a=237, b=447) == 2
assert cd_count(a=505, b=24) == 1
def test_cd_count_90(self):
assert cd_count(a=-221, b=829) == 1
assert cd_count(a=466, b=736) == 2
def test_cd_count_91(self):
assert cd_count(a=-649, b=273) == 1
assert cd_count(a=-555, b=451) == 1
def test_cd_count_92(self):
assert cd_count(a=276, b=-612) == 6
assert cd_count(a=-512, b=-495) == 1
def test_cd_count_93(self):
assert cd_count(a=653, b=-567) == 1
assert cd_count(a=-783, b=590) == 1
def test_cd_count_94(self):
assert cd_count(a=447, b=-227) == 1
assert cd_count(a=327, b=321) == 2
def test_cd_count_95(self):
assert cd_count(a=-217, b=-767) == 1
assert cd_count(a=-67, b=-419) == 1
def test_cd_count_96(self):
assert cd_count(a=820, b=-622) == 2
assert cd_count(a=-477, b=-58) == 1
def test_cd_count_97(self):
assert cd_count(a=-640, b=-892) == 3
assert cd_count(a=-320, b=-895) == 2
def test_cd_count_98(self):
assert cd_count(a=-222, b=209) == 1
assert cd_count(a=-211, b=-192) == 1
def test_cd_count_99(self):
assert cd_count(a=-100, b=-89) == 1
assert cd_count(a=-473, b=925) == 1
def test_cd_count_100(self):
assert cd_count(a=820, b=-332) == 3
def test_cd_count_101(self):
assert cd_count(a=-902, b=814) == 4
assert cd_count(a=898, b=-9) == 1

View file

@ -5,301 +5,301 @@ from benchmark.check_armstrong import check_armstrong
class Test_check_armstrong(TestCase):
def test_check_armstrong_1(self):
assert check_armstrong(n=793) == False
assert check_armstrong(n=810) == False
def test_check_armstrong_2(self):
assert check_armstrong(n=561) == False
assert check_armstrong(n=416) == False
def test_check_armstrong_3(self):
assert check_armstrong(n=191) == False
assert check_armstrong(n=440) == False
def test_check_armstrong_4(self):
assert check_armstrong(n=443) == False
assert check_armstrong(n=472) == False
def test_check_armstrong_5(self):
assert check_armstrong(n=616) == False
assert check_armstrong(n=913) == False
def test_check_armstrong_6(self):
assert check_armstrong(n=266) == False
assert check_armstrong(n=394) == False
def test_check_armstrong_7(self):
assert check_armstrong(n=875) == False
assert check_armstrong(n=825) == False
def test_check_armstrong_8(self):
assert check_armstrong(n=570) == False
assert check_armstrong(n=150) == False
def test_check_armstrong_9(self):
assert check_armstrong(n=293) == False
def test_check_armstrong_10(self):
assert check_armstrong(n=927) == False
def test_check_armstrong_11(self):
assert check_armstrong(n=395) == False
def test_check_armstrong_12(self):
assert check_armstrong(n=552) == False
def test_check_armstrong_13(self):
assert check_armstrong(n=589) == False
def test_check_armstrong_14(self):
assert check_armstrong(n=991) == False
def test_check_armstrong_15(self):
assert check_armstrong(n=334) == False
def test_check_armstrong_16(self):
assert check_armstrong(n=890) == False
def test_check_armstrong_17(self):
assert check_armstrong(n=811) == False
def test_check_armstrong_18(self):
assert check_armstrong(n=544) == False
def test_check_armstrong_19(self):
assert check_armstrong(n=312) == False
def test_check_armstrong_20(self):
assert check_armstrong(n=939) == False
def test_check_armstrong_21(self):
assert check_armstrong(n=8) == False
def test_check_armstrong_22(self):
assert check_armstrong(n=796) == False
def test_check_armstrong_23(self):
assert check_armstrong(n=532) == False
def test_check_armstrong_24(self):
assert check_armstrong(n=599) == False
def test_check_armstrong_25(self):
assert check_armstrong(n=742) == False
def test_check_armstrong_26(self):
assert check_armstrong(n=64) == False
def test_check_armstrong_27(self):
assert check_armstrong(n=807) == False
def test_check_armstrong_28(self):
assert check_armstrong(n=648) == False
def test_check_armstrong_29(self):
assert check_armstrong(n=697) == False
def test_check_armstrong_30(self):
assert check_armstrong(n=505) == False
def test_check_armstrong_31(self):
assert check_armstrong(n=290) == False
def test_check_armstrong_32(self):
assert check_armstrong(n=428) == False
def test_check_armstrong_33(self):
assert check_armstrong(n=545) == False
def test_check_armstrong_34(self):
assert check_armstrong(n=925) == False
def test_check_armstrong_35(self):
assert check_armstrong(n=317) == False
def test_check_armstrong_36(self):
assert check_armstrong(n=410) == False
def test_check_armstrong_37(self):
assert check_armstrong(n=692) == False
def test_check_armstrong_38(self):
assert check_armstrong(n=53) == False
def test_check_armstrong_39(self):
assert check_armstrong(n=722) == False
def test_check_armstrong_40(self):
assert check_armstrong(n=73) == False
def test_check_armstrong_41(self):
assert check_armstrong(n=718) == False
def test_check_armstrong_42(self):
assert check_armstrong(n=816) == False
def test_check_armstrong_43(self):
assert check_armstrong(n=872) == False
def test_check_armstrong_44(self):
assert check_armstrong(n=474) == False
def test_check_armstrong_45(self):
assert check_armstrong(n=859) == False
def test_check_armstrong_46(self):
assert check_armstrong(n=189) == False
def test_check_armstrong_47(self):
assert check_armstrong(n=926) == False
def test_check_armstrong_48(self):
assert check_armstrong(n=39) == False
def test_check_armstrong_49(self):
assert check_armstrong(n=232) == False
def test_check_armstrong_50(self):
assert check_armstrong(n=605) == False
def test_check_armstrong_51(self):
assert check_armstrong(n=287) == False
def test_check_armstrong_52(self):
assert check_armstrong(n=587) == False
def test_check_armstrong_53(self):
assert check_armstrong(n=368) == False
def test_check_armstrong_54(self):
assert check_armstrong(n=818) == False
def test_check_armstrong_55(self):
assert check_armstrong(n=186) == False
def test_check_armstrong_56(self):
assert check_armstrong(n=430) == False
def test_check_armstrong_57(self):
assert check_armstrong(n=846) == False
def test_check_armstrong_58(self):
assert check_armstrong(n=298) == False
def test_check_armstrong_59(self):
assert check_armstrong(n=624) == False
def test_check_armstrong_60(self):
assert check_armstrong(n=198) == False
def test_check_armstrong_10(self):
assert check_armstrong(n=141) == False
def test_check_armstrong_61(self):
assert check_armstrong(n=625) == False
def test_check_armstrong_11(self):
assert check_armstrong(n=619) == False
def test_check_armstrong_62(self):
assert check_armstrong(n=659) == False
def test_check_armstrong_63(self):
assert check_armstrong(n=802) == False
def test_check_armstrong_64(self):
assert check_armstrong(n=448) == False
def test_check_armstrong_65(self):
assert check_armstrong(n=754) == False
def test_check_armstrong_66(self):
assert check_armstrong(n=173) == False
def test_check_armstrong_67(self):
assert check_armstrong(n=964) == False
def test_check_armstrong_68(self):
assert check_armstrong(n=642) == False
def test_check_armstrong_69(self):
assert check_armstrong(n=193) == False
def test_check_armstrong_70(self):
assert check_armstrong(n=327) == False
def test_check_armstrong_71(self):
assert check_armstrong(n=155) == False
def test_check_armstrong_72(self):
assert check_armstrong(n=339) == False
def test_check_armstrong_73(self):
assert check_armstrong(n=730) == False
def test_check_armstrong_74(self):
assert check_armstrong(n=799) == False
def test_check_armstrong_75(self):
assert check_armstrong(n=839) == False
def test_check_armstrong_76(self):
assert check_armstrong(n=582) == False
def test_check_armstrong_77(self):
assert check_armstrong(n=5) == False
def test_check_armstrong_78(self):
assert check_armstrong(n=145) == False
def test_check_armstrong_79(self):
assert check_armstrong(n=714) == False
def test_check_armstrong_80(self):
assert check_armstrong(n=591) == False
def test_check_armstrong_81(self):
assert check_armstrong(n=256) == False
def test_check_armstrong_82(self):
assert check_armstrong(n=579) == False
def test_check_armstrong_83(self):
def test_check_armstrong_12(self):
assert check_armstrong(n=390) == False
def test_check_armstrong_84(self):
assert check_armstrong(n=608) == False
def test_check_armstrong_13(self):
assert check_armstrong(n=501) == False
def test_check_armstrong_85(self):
assert check_armstrong(n=656) == False
def test_check_armstrong_14(self):
assert check_armstrong(n=849) == False
def test_check_armstrong_86(self):
assert check_armstrong(n=281) == False
def test_check_armstrong_15(self):
assert check_armstrong(n=229) == False
def test_check_armstrong_87(self):
assert check_armstrong(n=812) == False
def test_check_armstrong_16(self):
assert check_armstrong(n=724) == False
def test_check_armstrong_88(self):
assert check_armstrong(n=669) == False
def test_check_armstrong_17(self):
assert check_armstrong(n=307) == False
def test_check_armstrong_89(self):
def test_check_armstrong_18(self):
assert check_armstrong(n=885) == False
def test_check_armstrong_19(self):
assert check_armstrong(n=758) == False
def test_check_armstrong_20(self):
assert check_armstrong(n=469) == False
def test_check_armstrong_21(self):
assert check_armstrong(n=431) == False
def test_check_armstrong_22(self):
assert check_armstrong(n=974) == False
def test_check_armstrong_23(self):
assert check_armstrong(n=305) == False
def test_check_armstrong_24(self):
assert check_armstrong(n=222) == False
def test_check_armstrong_25(self):
assert check_armstrong(n=873) == False
def test_check_armstrong_26(self):
assert check_armstrong(n=197) == False
def test_check_armstrong_27(self):
assert check_armstrong(n=361) == False
def test_check_armstrong_28(self):
assert check_armstrong(n=541) == False
def test_check_armstrong_29(self):
assert check_armstrong(n=911) == False
def test_check_armstrong_30(self):
assert check_armstrong(n=526) == False
def test_check_armstrong_31(self):
assert check_armstrong(n=874) == False
def test_check_armstrong_32(self):
assert check_armstrong(n=452) == False
def test_check_armstrong_33(self):
assert check_armstrong(n=817) == False
def test_check_armstrong_34(self):
assert check_armstrong(n=75) == False
def test_check_armstrong_35(self):
assert check_armstrong(n=834) == False
def test_check_armstrong_36(self):
assert check_armstrong(n=466) == False
def test_check_armstrong_37(self):
assert check_armstrong(n=683) == False
def test_check_armstrong_38(self):
assert check_armstrong(n=569) == False
def test_check_armstrong_39(self):
assert check_armstrong(n=617) == False
def test_check_armstrong_40(self):
assert check_armstrong(n=446) == False
def test_check_armstrong_41(self):
assert check_armstrong(n=806) == False
def test_check_armstrong_42(self):
assert check_armstrong(n=44) == False
def test_check_armstrong_43(self):
assert check_armstrong(n=623) == False
def test_check_armstrong_44(self):
assert check_armstrong(n=953) == False
def test_check_armstrong_45(self):
assert check_armstrong(n=240) == False
def test_check_armstrong_46(self):
assert check_armstrong(n=698) == False
def test_check_armstrong_47(self):
assert check_armstrong(n=83) == False
def test_check_armstrong_48(self):
assert check_armstrong(n=697) == False
def test_check_armstrong_49(self):
assert check_armstrong(n=225) == False
def test_check_armstrong_50(self):
assert check_armstrong(n=286) == False
def test_check_armstrong_51(self):
assert check_armstrong(n=384) == False
def test_check_armstrong_52(self):
assert check_armstrong(n=235) == False
def test_check_armstrong_53(self):
assert check_armstrong(n=223) == False
def test_check_armstrong_54(self):
assert check_armstrong(n=554) == False
def test_check_armstrong_55(self):
assert check_armstrong(n=194) == False
def test_check_armstrong_90(self):
def test_check_armstrong_56(self):
assert check_armstrong(n=606) == False
def test_check_armstrong_57(self):
assert check_armstrong(n=607) == False
def test_check_armstrong_58(self):
assert check_armstrong(n=167) == False
def test_check_armstrong_59(self):
assert check_armstrong(n=684) == False
def test_check_armstrong_60(self):
assert check_armstrong(n=497) == False
def test_check_armstrong_61(self):
assert check_armstrong(n=938) == False
def test_check_armstrong_62(self):
assert check_armstrong(n=771) == False
def test_check_armstrong_63(self):
assert check_armstrong(n=278) == False
def test_check_armstrong_64(self):
assert check_armstrong(n=489) == False
def test_check_armstrong_65(self):
assert check_armstrong(n=112) == False
def test_check_armstrong_66(self):
assert check_armstrong(n=822) == False
def test_check_armstrong_67(self):
assert check_armstrong(n=299) == False
def test_check_armstrong_68(self):
assert check_armstrong(n=251) == False
def test_check_armstrong_69(self):
assert check_armstrong(n=143) == False
def test_check_armstrong_70(self):
assert check_armstrong(n=339) == False
def test_check_armstrong_71(self):
assert check_armstrong(n=192) == False
def test_check_armstrong_72(self):
assert check_armstrong(n=877) == False
def test_check_armstrong_73(self):
assert check_armstrong(n=830) == False
def test_check_armstrong_74(self):
assert check_armstrong(n=515) == False
def test_check_armstrong_75(self):
assert check_armstrong(n=161) == False
def test_check_armstrong_76(self):
assert check_armstrong(n=375) == False
def test_check_armstrong_77(self):
assert check_armstrong(n=740) == False
def test_check_armstrong_78(self):
assert check_armstrong(n=491) == False
def test_check_armstrong_79(self):
assert check_armstrong(n=89) == False
def test_check_armstrong_80(self):
assert check_armstrong(n=321) == False
def test_check_armstrong_81(self):
assert check_armstrong(n=418) == False
def test_check_armstrong_82(self):
assert check_armstrong(n=840) == False
def test_check_armstrong_83(self):
assert check_armstrong(n=746) == False
def test_check_armstrong_84(self):
assert check_armstrong(n=875) == False
def test_check_armstrong_85(self):
assert check_armstrong(n=290) == False
def test_check_armstrong_86(self):
assert check_armstrong(n=779) == False
def test_check_armstrong_87(self):
assert check_armstrong(n=33) == False
def test_check_armstrong_88(self):
assert check_armstrong(n=801) == False
def test_check_armstrong_89(self):
assert check_armstrong(n=236) == False
def test_check_armstrong_90(self):
assert check_armstrong(n=275) == False
def test_check_armstrong_91(self):
assert check_armstrong(n=26) == False
assert check_armstrong(n=914) == False
def test_check_armstrong_92(self):
assert check_armstrong(n=972) == False
assert check_armstrong(n=992) == False
def test_check_armstrong_93(self):
assert check_armstrong(n=858) == False
assert check_armstrong(n=295) == False
def test_check_armstrong_94(self):
assert check_armstrong(n=803) == False
assert check_armstrong(n=380) == False
def test_check_armstrong_95(self):
assert check_armstrong(n=696) == False
assert check_armstrong(n=695) == False
def test_check_armstrong_96(self):
assert check_armstrong(n=705) == False
assert check_armstrong(n=630) == False
def test_check_armstrong_97(self):
assert check_armstrong(n=185) == False
assert check_armstrong(n=411) == False
def test_check_armstrong_98(self):
assert check_armstrong(n=845) == False
assert check_armstrong(n=443) == False
def test_check_armstrong_99(self):
assert check_armstrong(n=986) == False
assert check_armstrong(n=317) == False
def test_check_armstrong_100(self):
assert check_armstrong(n=49) == False
assert check_armstrong(n=130) == False

View file

@ -5,301 +5,301 @@ from benchmark.caesar_cipher import decrypt
class Test_decrypt(TestCase):
def test_decrypt_1(self):
assert decrypt(strng='uemax', key=94) == 'vfnby'
assert decrypt(strng='&'m`mq', key=82) == 'ÔÕzmz~'
def test_decrypt_2(self):
assert decrypt(strng='bqomll', key=36) == '>MKIHH'
assert decrypt(strng='}Bx&KQ[i{', key=51) == 'JnEów}(6H'
def test_decrypt_3(self):
assert decrypt(strng='n', key=84) == 'y'
assert decrypt(strng='g_IZE@C%', key=67) == '${evaý_â'
def test_decrypt_4(self):
assert decrypt(strng='qplae', key=8) == 'ihdY]'
assert decrypt(strng='e?&L$', key=67) == '"üãhá'
def test_decrypt_5(self):
assert decrypt(strng='cjswzqb', key=25) == 'JQZ^aXI'
assert decrypt(strng='<Q7lO[Hu', key=89) == 'ãøÞröaï{'
def test_decrypt_6(self):
assert decrypt(strng='undhcdx', key=7) == 'ng]a\]q'
assert decrypt(strng='h`@nd', key=49) == '7/n=3'
def test_decrypt_7(self):
assert decrypt(strng='qnij', key=8) == 'ifab'
assert decrypt(strng=':]K*', key=82) == 'èjùØ'
def test_decrypt_8(self):
assert decrypt(strng='', key=25) == ''
assert decrypt(strng='#$k', key=67) == 'àá('
def test_decrypt_9(self):
assert decrypt(strng='s', key=64) == '3'
assert decrypt(strng='yJmc', key=8) == 'qBe['
def test_decrypt_10(self):
assert decrypt(strng='ycrvcrxqm', key=8) == 'q[jn[jpie'
assert decrypt(strng='x]C!6jsK_', key=56) == '@%jéþ2;r''
def test_decrypt_11(self):
assert decrypt(strng='gjc', key=7) == '`c\'
assert decrypt(strng='VG', key=58) == '{l'
def test_decrypt_12(self):
assert decrypt(strng='vrhusl', key=42) == 'LH>KIB'
assert decrypt(strng='g_=f.B1U', key=51) == '4,i3ûnþ"'
def test_decrypt_13(self):
assert decrypt(strng='nfoatk', key=16) == '^V_Qd['
assert decrypt(strng='!3V0a', key=65) == 'àòtï '
def test_decrypt_14(self):
assert decrypt(strng='lefd', key=65) == '+$%#'
assert decrypt(strng=''Td=3', key=51) == 'ô!1i_'
def test_decrypt_15(self):
assert decrypt(strng='i', key=33) == 'H'
assert decrypt(strng='<~7', key=89) == 'ã%Þ'
def test_decrypt_16(self):
assert decrypt(strng='nhzp', key=23) == 'WQcY'
assert decrypt(strng='nO^F', key=32) == 'N/>&'
def test_decrypt_17(self):
assert decrypt(strng='orelzml', key=8) == 'gj]dred'
assert decrypt(strng='l;6gVf)', key=67) == ')øó$r#æ'
def test_decrypt_18(self):
assert decrypt(strng='qoysx', key=16) == 'a_ich'
assert decrypt(strng='^$*=', key=32) == '>ci|'
def test_decrypt_19(self):
assert decrypt(strng='iiyccs', key=88) == 'pp!jjz'
assert decrypt(strng='#$', key=67) == 'àá'
def test_decrypt_20(self):
assert decrypt(strng='suy', key=8) == 'kmq'
assert decrypt(strng='QS7#[5h#', key=14) == 'CE)tM'Zt'
def test_decrypt_21(self):
assert decrypt(strng='', key=64) == ''
assert decrypt(strng='}#F/', key=51) == 'Jðrü'
def test_decrypt_22(self):
assert decrypt(strng='ltmuk', key=70) == '&.'/%'
assert decrypt(strng='P', key=49) == '~'
def test_decrypt_23(self):
assert decrypt(strng='asdr', key=86) == 'j|m{'
assert decrypt(strng='X00j)Y[', key=38) == '2iiDb35'
def test_decrypt_24(self):
assert decrypt(strng='qvuct', key=70) == '+0/|.'
assert decrypt(strng='gZ13', key=56) == '/"ùû'
def test_decrypt_25(self):
assert decrypt(strng='vvar', key=9) == 'mmXi'
assert decrypt(strng='`(xr_Ts', key=89) == 'fÏ~xeûy'
def test_decrypt_26(self):
assert decrypt(strng='io', key=12) == ']c'
assert decrypt(strng='|', key=67) == '9'
def test_decrypt_27(self):
assert decrypt(strng='ndcdufqp', key=16) == '^TSTeVa`'
assert decrypt(strng='sQ!wW', key=37) == 'N,üR2'
def test_decrypt_28(self):
assert decrypt(strng='', key=9) == ''
assert decrypt(strng='j}pSGPO]?', key=90) == 'o#uùíöõbå'
def test_decrypt_29(self):
assert decrypt(strng='eyrfthe', key=66) == '#70$2&#'
assert decrypt(strng='Z~', key=88) == 'a&'
def test_decrypt_30(self):
assert decrypt(strng='fe', key=16) == 'VU'
assert decrypt(strng='FW?8hL7', key=3) == 'CT<5eI4'
def test_decrypt_31(self):
assert decrypt(strng='suotnq', key=88) == 'z|v{ux'
assert decrypt(strng='rNWF[', key=67) == '/jsbw'
def test_decrypt_32(self):
assert decrypt(strng='fvxyg', key=68) == '"245#'
assert decrypt(strng='WP{@$5~cy', key=39) == '0)TxýmW<R'
def test_decrypt_33(self):
assert decrypt(strng='ynxkvoezx', key=84) == '%y$v"zp&$'
assert decrypt(strng='CkYk?K0N', key=14) == '5]K]1="@'
def test_decrypt_34(self):
assert decrypt(strng='yijtuk', key=88) == '!pq{|r'
assert decrypt(strng='#MLml;', key=55) == 'ìut65c'
def test_decrypt_35(self):
assert decrypt(strng='xiesmuu', key=88) == ' plzt||'
assert decrypt(strng='wVjy`', key=51) == 'D#7F-'
def test_decrypt_36(self):
assert decrypt(strng='bps', key=7) == '[il'
assert decrypt(strng='4$&=(', key=21) == '~np(r'
def test_decrypt_37(self):
assert decrypt(strng='mqtjratff', key=8) == 'eilbjYl^^'
assert decrypt(strng='FF?8hL@', key=3) == 'CC<5eI='
def test_decrypt_38(self):
assert decrypt(strng='xenbpjg', key=57) == '?,5)71.'
assert decrypt(strng='g_=f.t[', key=51) == '4,i3ûA('
def test_decrypt_39(self):
assert decrypt(strng='jpvut', key=7) == 'cionm'
assert decrypt(strng='CC]', key=59) == 'gg"'
def test_decrypt_40(self):
assert decrypt(strng='hyd', key=71) == '!2|'
assert decrypt(strng='', key=14) == ''
def test_decrypt_41(self):
assert decrypt(strng='iv', key=25) == 'P]'
assert decrypt(strng='x]q`4;~', key=56) == '@%9(übF'
def test_decrypt_42(self):
assert decrypt(strng='jjhaxlrui', key=7) == 'ccaZqeknb'
assert decrypt(strng='}#s"Cv}\', key=51) == '@ïoCJ)'
def test_decrypt_43(self):
assert decrypt(strng='', key=68) == ''
assert decrypt(strng='n4:j', key=62) == '0öü,'
def test_decrypt_44(self):
assert decrypt(strng='cnyszzm', key=88) == 'ju!z""t'
assert decrypt(strng='V:<R6', key=58) == '{_awü'
def test_decrypt_45(self):
assert decrypt(strng='sxvopkf', key=88) == 'z }vwrm'
assert decrypt(strng='<- s', key=92) == 'àÑÄv'
def test_decrypt_46(self):
assert decrypt(strng='g', key=22) == 'Q'
assert decrypt(strng='X2Jz>2)L', key=49) == ''`xIl`øz'
def test_decrypt_47(self):
assert decrypt(strng='fe', key=64) == '&%'
assert decrypt(strng='SM'S"Hr', key=64) == 'rlçrâg2'
def test_decrypt_48(self):
assert decrypt(strng='lu', key=8) == 'dm'
assert decrypt(strng='!o&+u', key=3) == '}l#(r'
def test_decrypt_49(self):
assert decrypt(strng='bqomll', key=68) == '}-+)(('
assert decrypt(strng='E]q`4;"', key=56) == 'l%9(übê'
def test_decrypt_50(self):
assert decrypt(strng='ifsfdpps', key=8) == 'a^k^\hhk'
assert decrypt(strng='dRVR', key=20) == 'P>B>'
def test_decrypt_51(self):
assert decrypt(strng='', key=7) == ''
assert decrypt(strng='', key=57) == ''
def test_decrypt_52(self):
assert decrypt(strng='nlhv', key=42) == 'DB>L'
assert decrypt(strng='X~d|~"%(', key=38) == '2X>VXüÿa'
def test_decrypt_53(self):
assert decrypt(strng='z', key=71) == '3'
assert decrypt(strng=' z', key=59) == 'å?'
def test_decrypt_54(self):
assert decrypt(strng='uj', key=84) == '!u'
assert decrypt(strng=' yNxW', key=59) == 'å>r={'
def test_decrypt_55(self):
assert decrypt(strng='xn', key=16) == 'h^'
assert decrypt(strng='CkV', key=14) == '5]H'
def test_decrypt_56(self):
assert decrypt(strng='k', key=9) == 'b'
assert decrypt(strng='wVjL~[%4', key=51) == 'D#7xK(ò`'
def test_decrypt_57(self):
assert decrypt(strng='yijtuk', key=9) == 'p`aklb'
assert decrypt(strng=' zHK', key=59) == 'å?lo'
def test_decrypt_58(self):
assert decrypt(strng='', key=8) == ''
assert decrypt(strng='mq', key=71) == '&*'
def test_decrypt_59(self):
assert decrypt(strng='ng', key=6) == 'ha'
assert decrypt(strng='Kd*', key=62) == 'l&ì'
def test_decrypt_60(self):
assert decrypt(strng='', key=16) == ''
assert decrypt(strng='g_=f.B1U', key=67) == '${ú#ëÿîq'
def test_decrypt_61(self):
assert decrypt(strng='hyd', key=79) == 'x*t'
assert decrypt(strng='}#F', key=51) == 'Jðr'
def test_decrypt_62(self):
assert decrypt(strng='ajm', key=7) == 'Zcf'
assert decrypt(strng='&'m`m#u<', key=82) == 'ÔÕzmzÑ#ê'
def test_decrypt_63(self):
assert decrypt(strng='fxtmd', key=64) == '&84-$'
assert decrypt(strng='}#4', key=51) == 'Jð`'
def test_decrypt_64(self):
assert decrypt(strng='nhbng', key=28) == 'RLFRK'
assert decrypt(strng='QOZQ.g+-', key=64) == 'pnypî'ëí'
def test_decrypt_65(self):
assert decrypt(strng='', key=37) == ''
assert decrypt(strng='', key=3) == ''
def test_decrypt_66(self):
assert decrypt(strng='vcuavuh', key=16) == 'fSeQfeX'
assert decrypt(strng='yJmc', key=56) == 'Aq5+'
def test_decrypt_67(self):
assert decrypt(strng='zf', key=94) == '{g'
assert decrypt(strng=' yNxW kXb', key=59) == 'å>r={å0|''
def test_decrypt_68(self):
assert decrypt(strng='wcuk', key=16) == 'gSe['
assert decrypt(strng='6HpHP', key=38) == 'o"J"*'
def test_decrypt_69(self):
assert decrypt(strng='hzukmqalf', key=18) == 'VhcY[_OZT'
assert decrypt(strng='IH!=Y`l*', key=70) == 'baÛ÷ry&ä'
def test_decrypt_70(self):
assert decrypt(strng='vgqku', key=64) == '6'1+5'
assert decrypt(strng='MKJZ+oW', key=32) == '-+*:jO7'
def test_decrypt_71(self):
assert decrypt(strng='z', key=25) == 'a'
assert decrypt(strng='X00j)w', key=38) == '2iiDbQ'
def test_decrypt_72(self):
assert decrypt(strng='ncfcb', key=92) == 'qfife'
assert decrypt(strng='Ckm{', key=14) == '5]_m'
def test_decrypt_73(self):
assert decrypt(strng='hufke', key=93) == 'jwhmg'
assert decrypt(strng='l;6gVf)~b', key=67) == ')øó$r#æ;~'
def test_decrypt_74(self):
assert decrypt(strng='tkqfyer', key=86) == '}tzo#n{'
assert decrypt(strng='L-', key=8) == 'D%'
def test_decrypt_75(self):
assert decrypt(strng='jvkch', key=7) == 'cod\a'
assert decrypt(strng='4$&=0', key=49) == 'bóõkÿ'
def test_decrypt_76(self):
assert decrypt(strng='ymtvwqy', key=64) == '9-46719'
assert decrypt(strng='zjX4v(P', key=49) == 'I9'bE÷~'
def test_decrypt_77(self):
assert decrypt(strng='yi', key=8) == 'qa'
assert decrypt(strng='', key=88) == ''
def test_decrypt_78(self):
assert decrypt(strng='h', key=16) == 'X'
assert decrypt(strng='x]q`4;"', key=67) == '5y.|ñøß'
def test_decrypt_79(self):
assert decrypt(strng='vdwsaecx', key=16) == 'fTgcQUSh'
assert decrypt(strng='Wfi|*', key=92) == 'ûil Î'
def test_decrypt_80(self):
assert decrypt(strng='pg', key=88) == 'wn'
assert decrypt(strng='Jr)%k/bt', key=51) == 'v?öò8ü/A'
def test_decrypt_81(self):
assert decrypt(strng='qjatiobo', key=16) == 'aZQdY_R_'
assert decrypt(strng='tYyJ/34', key=51) == 'A&Fvü_`'
def test_decrypt_82(self):
assert decrypt(strng='d', key=16) == 'T'
assert decrypt(strng='/-a>DJ!', key=30) == 'pnC &,b'
def test_decrypt_83(self):
assert decrypt(strng='', key=71) == ''
assert decrypt(strng='aV)WLl}CF', key=70) == 'zoãpe&7ý_'
def test_decrypt_84(self):
assert decrypt(strng='ucrsnlv', key=84) == '!n}~yw"'
assert decrypt(strng='Eo', key=8) == '=g'
def test_decrypt_85(self):
assert decrypt(strng='nrosiyzty', key=16) == '^b_cYijdi'
assert decrypt(strng='l;BCV', key=67) == ')øÿ_r'
def test_decrypt_86(self):
assert decrypt(strng='ymij', key=57) == '@401'
assert decrypt(strng='d(e!3sY', key=49) == '3÷4ðaB('
def test_decrypt_87(self):
assert decrypt(strng='zkdsxen', key=58) == '@1*9>+4'
assert decrypt(strng='rRA&', key=67) == '/nþã'
def test_decrypt_88(self):
assert decrypt(strng='vrhusl', key=46) == 'HD:GE>'
assert decrypt(strng='3m', key=8) == '+e'
def test_decrypt_89(self):
assert decrypt(strng='', key=13) == ''
assert decrypt(strng='Kd|;(j', key=62) == 'l&>ýê,'
def test_decrypt_90(self):
assert decrypt(strng='aak', key=16) == 'QQ['
assert decrypt(strng='ne[', key=94) == 'ofý'
def test_decrypt_91(self):
assert decrypt(strng='cfdd', key=70) == '| }}'
assert decrypt(strng='j^}sc?P\R', key=16) == 'ZNmcS/@LB'
def test_decrypt_92(self):
assert decrypt(strng='', key=36) == ''
assert decrypt(strng='DLM4i{:t', key=71) == 'ýdeí"4ó-'
def test_decrypt_93(self):
assert decrypt(strng='n', key=35) == 'K'
assert decrypt(strng='^', key=38) == '8'
def test_decrypt_94(self):
assert decrypt(strng='', key=46) == ''
assert decrypt(strng='^', key=49) == '-'
def test_decrypt_95(self):
assert decrypt(strng='cyyejd', key=16) == 'SiiUZT'
assert decrypt(strng='', key=1) == ''
def test_decrypt_96(self):
assert decrypt(strng='wshxl', key=16) == 'gcXh\'
assert decrypt(strng='!P'm4', key=5) == '{K"h/'
def test_decrypt_97(self):
assert decrypt(strng='c', key=16) == 'S'
assert decrypt(strng='H', key=51) == 't'
def test_decrypt_98(self):
assert decrypt(strng='rmquegezy', key=16) == 'b]aeUWUji'
assert decrypt(strng='', key=56) == ''
def test_decrypt_99(self):
assert decrypt(strng='mqtjratff', key=88) == 'tx{qyh{mm'
assert decrypt(strng='`;|_', key=21) == 'K&gJ'
def test_decrypt_100(self):
assert decrypt(strng='y', key=13) == 'l'
assert decrypt(strng='~a=^=Kk]W', key=49) == 'M0k-ky:,&'

View file

@ -5,301 +5,301 @@ from benchmark.caesar_cipher import encrypt
class Test_encrypt(TestCase):
def test_encrypt_1(self):
assert encrypt(strng='otkoyjjyj', key=35) == '38/3=..=.'
assert encrypt(strng='.1zZ`MJ$', key=55) == 'ehR28%"['
def test_encrypt_2(self):
assert encrypt(strng='tkr', key=33) == '6-4'
assert encrypt(strng='Fs;g{w', key=4) == 'Jw?k {'
def test_encrypt_3(self):
assert encrypt(strng='ngmhaz', key=73) == 'XQWRKd'
assert encrypt(strng='X"N{', key=49) == '*S M'
def test_encrypt_4(self):
assert encrypt(strng='t', key=7) == '{'
assert encrypt(strng=',u', key=45) == 'YC'
def test_encrypt_5(self):
assert encrypt(strng='khtfavz', key=29) == ')&2$~48'
assert encrypt(strng='XR&lKm.', key=64) == '93fM,Nn'
def test_encrypt_6(self):
assert encrypt(strng='gz', key=33) == ')<'
assert encrypt(strng='Ocj=e', key=49) == '!5<n7'
def test_encrypt_7(self):
assert encrypt(strng='swiada', key=16) == '$(yqtq'
assert encrypt(strng=':]K*', key=82) == '-P>|'
def test_encrypt_8(self):
assert encrypt(strng='a', key=88) == 'Z'
assert encrypt(strng='x]q`4;"', key=50) == 'K0D3fmT'
def test_encrypt_9(self):
assert encrypt(strng='sdj', key=7) == 'zkq'
assert encrypt(strng='/Pd6-hfD', key=36) == 'St)ZQ-+h'
def test_encrypt_10(self):
assert encrypt(strng='rwheldzx', key=80) == 'chYV]Uki'
assert encrypt(strng='FKglwI<', key=61) == '$)EJU'y'
def test_encrypt_11(self):
assert encrypt(strng='i', key=33) == '+'
assert encrypt(strng='nO^F', key=32) == '/o~f'
def test_encrypt_12(self):
assert encrypt(strng='lefd', key=65) == 'NGHF'
assert encrypt(strng='!g&KCiEEC', key=5) == '&l+PHnJJH'
def test_encrypt_13(self):
assert encrypt(strng='nhzp', key=23) == '& 2('
assert encrypt(strng='!GDeE"', key=5) == '&LIjJ''
def test_encrypt_14(self):
assert encrypt(strng='qtrqhtqw', key=29) == '/20/&2/5'
assert encrypt(strng='xjE? 0]fY', key=50) == 'K=wqRb09,'
def test_encrypt_15(self):
assert encrypt(strng='fb', key=5) == 'kg'
assert encrypt(strng='', key=38) == ''
def test_encrypt_16(self):
assert encrypt(strng='ycrvcrxqm', key=12) == '&o~#o~%}y'
assert encrypt(strng='lE+W~', key=67) == 'P)n;b'
def test_encrypt_17(self):
assert encrypt(strng='lgnhpcl', key=83) == '`[b\dW`'
assert encrypt(strng='FbYUT**E', key=52) == 'z7.*)^^y'
def test_encrypt_18(self):
assert encrypt(strng='wiwqmurt', key=58) == 'RDRLHPMO'
assert encrypt(strng='!RbeE"', key=5) == '&WgjJ''
def test_encrypt_19(self):
assert encrypt(strng='nptfuqy', key=32) == '/15'62:'
assert encrypt(strng='Cl6$awL', key=28) == '_)R@}4h'
def test_encrypt_20(self):
assert encrypt(strng='ikisysnc', key=46) == '8:8BHB=2'
assert encrypt(strng='zHvsl:"y', key=70) == 'a/]ZS!h`'
def test_encrypt_21(self):
assert encrypt(strng='rxwqdcybl', key=16) == '#)("ts*r|'
assert encrypt(strng='b]', key=5) == 'gb'
def test_encrypt_22(self):
assert encrypt(strng='hzlozno', key=5) == 'm qt st'
assert encrypt(strng='&', key=62) == 'd'
def test_encrypt_23(self):
assert encrypt(strng='sx', key=81) == 'ej'
assert encrypt(strng='Wr{@$5~cy', key=39) == '~:CgK\F+A'
def test_encrypt_24(self):
assert encrypt(strng='fna', key=12) == 'rzm'
assert encrypt(strng='Cl6b[', key=28) == '_)R~w'
def test_encrypt_25(self):
assert encrypt(strng='wttxonmr', key=73) == 'a^^bYXW\'
assert encrypt(strng='DQ^f"\'', key=5) == 'IVck'a,'
def test_encrypt_26(self):
assert encrypt(strng='xtbwbg', key=12) == '%!n$ns'
assert encrypt(strng='LD'', key=8) == 'TL/'
def test_encrypt_27(self):
assert encrypt(strng='yovytul', key=33) == ';18;67.'
assert encrypt(strng='nBx&KQ[i{', key=21) == '$W.;`fp~1'
def test_encrypt_28(self):
assert encrypt(strng='vlj', key=73) == '`VT'
assert encrypt(strng='XL~X', key=70) == '?3e?'
def test_encrypt_29(self):
assert encrypt(strng='iv', key=16) == 'y''
assert encrypt(strng='bspHP', key=5) == 'gxuMU'
def test_encrypt_30(self):
assert encrypt(strng='mnjuyf', key=7) == 'tuq|!m'
assert encrypt(strng='WALy^^!_+', key=83) == 'K5@mRRtS~'
def test_encrypt_31(self):
assert encrypt(strng='io', key=12) == 'u{'
assert encrypt(strng='^VD,k;h', key=32) == '~vdL,[)'
def test_encrypt_32(self):
assert encrypt(strng='mndoui', key=33) == '/0&17+'
assert encrypt(strng='2A/L~[%4', key=57) == 'kzh&X5^m'
def test_encrypt_33(self):
assert encrypt(strng='xgnn', key=7) == ' nuu'
assert encrypt(strng='{3hA', key=51) == 'Of<t'
def test_encrypt_34(self):
assert encrypt(strng='tibnavly', key=61) == 'RG@L?TJW'
assert encrypt(strng='nD '5f', key=6) == 'tJ&-;l'
def test_encrypt_35(self):
assert encrypt(strng='cmlpeouu', key=18) == 'u ~#w"(('
assert encrypt(strng='(p;'k', key=89) == '"j5!e'
def test_encrypt_36(self):
assert encrypt(strng='qplae', key=29) == '/.*~#'
assert encrypt(strng='XLLT+$^HQ', key=70) == '?33;qjE/8'
def test_encrypt_37(self):
assert encrypt(strng='hdmijaois', key=29) == '&"+'(~-'1'
assert encrypt(strng='=~7+4', key=89) == '7x1%.'
def test_encrypt_38(self):
assert encrypt(strng='', key=91) == ''
assert encrypt(strng='XL~Xv ~', key=14) == 'fZ-f%.-'
def test_encrypt_39(self):
assert encrypt(strng='lzgtesfa', key=61) == 'JXERCQD?'
assert encrypt(strng=']Q^f"S2', key=3) == '`Tai%V5'
def test_encrypt_40(self):
assert encrypt(strng='cbio', key=33) == '%$+1'
assert encrypt(strng='if<yM"\_', key=49) == ';8mK~S.1'
def test_encrypt_41(self):
assert encrypt(strng='av', key=33) == '#8'
assert encrypt(strng='_x$4n', key=49) == '1JUe@'
def test_encrypt_42(self):
assert encrypt(strng='vpwpcavh', key=29) == '4.5.!~4&'
assert encrypt(strng='n4mc', key=62) == 'MrLB'
def test_encrypt_43(self):
assert encrypt(strng='', key=51) == ''
assert encrypt(strng='x', key=53) == 'N'
def test_encrypt_44(self):
assert encrypt(strng='taf', key=16) == '%qv'
assert encrypt(strng='=.%2Tk', key=89) == '7(~,Ne'
def test_encrypt_45(self):
assert encrypt(strng='jezuahj', key=29) == '(#83~&('
assert encrypt(strng='', key=14) == ''
def test_encrypt_46(self):
assert encrypt(strng='ngakdkzv', key=25) == '(!z%}%40'
assert encrypt(strng='>y>', key=6) == 'D D'
def test_encrypt_47(self):
assert encrypt(strng='jaqv', key=33) == ',#38'
assert encrypt(strng='EoqE!F', key=8) == 'MwyM)N'
def test_encrypt_48(self):
assert encrypt(strng='i', key=32) == '*'
assert encrypt(strng='X2Jz>2)L', key=38) == '~XpAdXOr'
def test_encrypt_49(self):
assert encrypt(strng='', key=7) == ''
assert encrypt(strng='bsj', key=5) == 'gxo'
def test_encrypt_50(self):
assert encrypt(strng='hyd', key=12) == 't&p'
assert encrypt(strng='FKglwI', key=61) == '$)EJU''
def test_encrypt_51(self):
assert encrypt(strng='znlzh', key=58) == 'UIGUC'
assert encrypt(strng='', key=57) == ''
def test_encrypt_52(self):
assert encrypt(strng='qrl', key=29) == '/0*'
assert encrypt(strng='LD,C', key=8) == 'TL4K'
def test_encrypt_53(self):
assert encrypt(strng='kpzh', key=91) == 'glvd'
assert encrypt(strng='L-Xf$', key=8) == 'T5`n,'
def test_encrypt_54(self):
assert encrypt(strng='lhez', key=8) == 'tpm#'
assert encrypt(strng='', key=77) == ''
def test_encrypt_55(self):
assert encrypt(strng='', key=16) == ''
assert encrypt(strng='Ckmi', key=14) == 'Qy{w'
def test_encrypt_56(self):
assert encrypt(strng='itef', key=65) == 'KVGH'
assert encrypt(strng='L-( W{ue', key=8) == 'T50(_$}m'
def test_encrypt_57(self):
assert encrypt(strng='', key=28) == ''
assert encrypt(strng='/Pd6-Q[i{', key=36) == 'St)ZQu .@'
def test_encrypt_58(self):
assert encrypt(strng='ogelz', key=91) == 'kcahv'
assert encrypt(strng='XLRT+$^Yg', key=70) == '?39;qjE@N'
def test_encrypt_59(self):
assert encrypt(strng='fc', key=7) == 'mj'
assert encrypt(strng='^HG+B', key=51) == '2{z^u'
def test_encrypt_60(self):
assert encrypt(strng='aizzfscky', key=29) == '~'88$1!)7'
assert encrypt(strng='1a'7Je', key=30) == 'O EUh$'
def test_encrypt_61(self):
assert encrypt(strng='fxtmd', key=70) == 'M_[TK'
assert encrypt(strng='vJaiN.cB', key=20) == '+^u}bBwV'
def test_encrypt_62(self):
assert encrypt(strng='dmpxcosh', key=91) == '`ilt_kod'
assert encrypt(strng='ns(ob!Pb', key=61) == 'LQeM@^.@'
def test_encrypt_63(self):
assert encrypt(strng='yf', key=32) == ':''
assert encrypt(strng='nO15X', key=32) == '/oQUx'
def test_encrypt_64(self):
assert encrypt(strng='ploelrh', key=26) == '+'* '-#'
assert encrypt(strng='>9', key=45) == 'kf'
def test_encrypt_65(self):
assert encrypt(strng='fswmbdzg', key=41) == '0=A7,.D1'
assert encrypt(strng=']Q^f"o28Q', key=3) == '`Tai%r5;T'
def test_encrypt_66(self):
assert encrypt(strng='gncmc', key=81) == 'Y`U_U'
assert encrypt(strng='5H>Eac', key=3) == '8KAHdf'
def test_encrypt_67(self):
assert encrypt(strng='awezqrc', key=91) == ']savmn_'
assert encrypt(strng='L-X', key=8) == 'T5`'
def test_encrypt_68(self):
assert encrypt(strng='djch', key=8) == 'lrkp'
assert encrypt(strng='\CIXRTgh', key=38) == '#io~xz./'
def test_encrypt_69(self):
assert encrypt(strng='taow', key=12) == '!m{$'
assert encrypt(strng='kK$q)[!E5', key=72) == 'T4lZqDi.}'
def test_encrypt_70(self):
assert encrypt(strng='saxykgf', key=46) == 'B0GH:65'
assert encrypt(strng='G c#@\zf$', key=49) == 'xQ5Tq.L8U'
def test_encrypt_71(self):
assert encrypt(strng='hopkqpr', key=18) == 'z"#}$#%'
assert encrypt(strng='/Pd6-hfD', key=70) == 'u7K|sOM+'
def test_encrypt_72(self):
assert encrypt(strng='rh', key=16) == '#x'
assert encrypt(strng='L-', key=8) == 'T5'
def test_encrypt_73(self):
assert encrypt(strng='uiptgxw', key=11) == '!t{ r$#'
assert encrypt(strng='x]q`)m2"U', key=50) == 'K0D3[@dT('
def test_encrypt_74(self):
assert encrypt(strng='jvkch', key=8) == 'r~skp'
assert encrypt(strng='ou*i"', key=8) == 'w}2q*'
def test_encrypt_75(self):
assert encrypt(strng='ngtygnc', key=40) == '70=B07,'
assert encrypt(strng='Wfi|*', key=92) == 'Tcfy''
def test_encrypt_76(self):
assert encrypt(strng='qoysx', key=8) == 'yw"{!'
assert encrypt(strng='j1}', key=63) == 'Jp]'
def test_encrypt_77(self):
assert encrypt(strng='', key=71) == ''
assert encrypt(strng='4[D@&k^', key=23) == 'Kr[W=#u'
def test_encrypt_78(self):
assert encrypt(strng='cixqt', key=70) == 'JP_X['
assert encrypt(strng='', key=67) == ''
def test_encrypt_79(self):
assert encrypt(strng='gxzt', key=46) == '6GIC'
assert encrypt(strng='8D_.B|+', key=49) == 'iu1_sN\'
def test_encrypt_80(self):
assert encrypt(strng='md', key=36) == '2)'
assert encrypt(strng='!g&3', key=5) == '&l+8'
def test_encrypt_81(self):
assert encrypt(strng='luvsycmji', key=29) == '*3417!+(''
assert encrypt(strng='nD', key=6) == 'tJ'
def test_encrypt_82(self):
assert encrypt(strng='zkdsxen', key=58) == 'UF?NS@I'
assert encrypt(strng='x/_7', key=50) == 'Ka2i'
def test_encrypt_83(self):
assert encrypt(strng='bqwlc', key=35) == '&5;0''
assert encrypt(strng='?]', key=5) == 'Db'
def test_encrypt_84(self):
assert encrypt(strng='gfant', key=25) == '! z(.'
assert encrypt(strng='FKglwI}', key=61) == '$)EJU'['
def test_encrypt_85(self):
assert encrypt(strng='iqrxssoij', key=92) == 'fnoupplfg'
assert encrypt(strng='nD '5f', key=8) == 'vL(/=n'
def test_encrypt_86(self):
assert encrypt(strng='jan', key=46) == '90='
assert encrypt(strng='XL~X', key=14) == 'fZ-f'
def test_encrypt_87(self):
assert encrypt(strng='fuuq', key=13) == 's##~'
assert encrypt(strng='!3V0]Ef', key=65) == 'bt8q?'H'
def test_encrypt_88(self):
assert encrypt(strng='a', key=29) == '~'
assert encrypt(strng='C m/', key=51) == 'vSAb'
def test_encrypt_89(self):
assert encrypt(strng='zmlqkyf', key=42) == 'E87<6D1'
assert encrypt(strng='^', key=49) == '0'
def test_encrypt_90(self):
assert encrypt(strng='kaimotdh', key=25) == '%z#').}"'
assert encrypt(strng='=o71', key=64) == '}Pwq'
def test_encrypt_91(self):
assert encrypt(strng='ijsvvi', key=58) == 'DENQQD'
assert encrypt(strng='cn', key=49) == '5@'
def test_encrypt_92(self):
assert encrypt(strng='wyzkst', key=91) == 'suvgop'
assert encrypt(strng='xyC}Q', key=55) == 'PQzU)'
def test_encrypt_93(self):
assert encrypt(strng='', key=4) == ''
assert encrypt(strng='', key=1) == ''
def test_encrypt_94(self):
assert encrypt(strng='mthw', key=33) == '/6*9'
assert encrypt(strng='l;BCVf)~b', key=67) == 'P~&':JlbF'
def test_encrypt_95(self):
assert encrypt(strng='a', key=73) == 'K'
assert encrypt(strng='0$K', key=38) == 'VJq'
def test_encrypt_96(self):
assert encrypt(strng='jmnbazu', key=33) == ',/0$#<7'
assert encrypt(strng='5H>Eac ', key=3) == '8KAHdf#'
def test_encrypt_97(self):
assert encrypt(strng='olhwe', key=88) == 'heap^'
assert encrypt(strng='L-ShQ', key=8) == 'T5[pY'
def test_encrypt_98(self):
assert encrypt(strng='pxd', key=33) == '2:&'
assert encrypt(strng='c!1bQ`GY', key=49) == '5Rb4#2x+'
def test_encrypt_99(self):
assert encrypt(strng='gvlgx', key=48) == '8G=8I'
assert encrypt(strng=',m%l', key=76) == 'xZqY'
def test_encrypt_100(self):
assert encrypt(strng='ci', key=7) == 'jp'
assert encrypt(strng='XL~X', key=67) == '<0b<'

View file

@ -5,301 +5,301 @@ from benchmark.exponentiation import exponentiation
class Test_exponentiation(TestCase):
def test_exponentiation_1(self):
assert exponentiation(baseNumber=-129, power=466) == 342613916520039815286371762900720714962853712596187110376222844854489337611539297494082419731738373111073093328480529494540713335250345393330330167113610677158149923868820842907209984331974554634008584446423660742464197584085121365572588978267575935406526083265689003679684419271807250480728530679692471674609982119156884077318070369305233461839622800467393902027558664921081270452968643917536571429098740113970593496001472183095052421817237657154468140863125416421270130300425026525077419205555731360504160584686852878615583365811927655574900634604326505687823202130508808320135469109573948312795729498776978327881313563260743210117957813876900330534537578936390270392256074256124181925683934379635403067034791374128824724096981954069209015841805213461602849629531507687663550865254604112195504645584441372365616824116905124867370027153969846486392434814149651686110937101602506060245366533649834892837889496785601253048343379775419721460703193387205348331473092196848141285284849921
assert exponentiation(baseNumber=-959, power=740) == 35137374406181567991837301279390743414917954133091506790675974945811096922750827186322716538281369577043556714817042320339522770071248634042085555962529064177032874137632871541885156858958475100815621020979690403314989295382529315456844083212228109250037671997968505746450905391721210124164581400744221041288601328863294094500938004416290885285666911748777744975908388158311007827671642259994671949742833782261805576562403640955299123838237481616971142149827705078531046267286841549742560449058049221573263466822627370107960595482803274785875643301677314970052314622956797235036913166574524997848053027607628118810372180234911281770370604823174898325609249465921413648622597691152888431064296729031362684862924853443348590093343462772759078947470824683865647881942777580815000415088414833019253657878912971954712034996537760337439433076834846620844146515337573862538216662245269187546515546120205866957743402559681865957718104117582736056061292917712533034002371908966106674397713460577772539412591629297260665673771864646954482162589049033387737657138006665511056285969514426327353871536144231002693674351418206498758800247101389027462538673809218127121535617942211257850469558662925495216100443227706025567105995469486129891565753500976466055128863121426046735056164406707825394272775827303760122876244943207116609408471512518838752118829181541832475885294253720562375204002479242873425532228611936465155790129258384122553567709369007594047666565677144009304296944070333996828960652556625623320725800047806399735139087539289190722290734679616503366459928048038205320910396254337063369366314323387471127522678325957053024843066762046767845364247795748843695864479619437191306180060215447492239760681539981336594121919274575543920315217514837211857051230582797376235942635409194431548166945836043359361163482494736678728376895388140019099606038510988499836870197713842709950249602425865016709937565473798443591385112135226335731042346852496951320713327745450255523543499979742336357040553280750161212925337926538496073992067886941894019402425301510022745043224429667848821545320370343531211996848404838268005809477867265628091865248979836299623151728533350013115100243726983213130913993778629892663875897601
def test_exponentiation_2(self):
assert exponentiation(baseNumber=-671, power=958) == 100040147156359022208677847777053117328116092723921829867533144182489530560991518949647087104207037463745690671679789352240140965996950419399687236231139784960121761966212716084465319168503866303492078636637029811544659888020607912568676145790196684690686528118409056390639109746745214775161215395206050160168826017444043425313098780677051009183181286541047256497810644465267124085441848686403471452819442706964725086552690487121052165908422352317112647149519266746446556850324034727451655655525506862968044010275205234239340539338326336496549894913182487406633411646064852226758530890262559493134193131431207153257227614870397357743330545197368379361675451212140176751843153111470025972802134814524276725375662076018477343377065792041966678259851376534535386647077976019955242943104002528515366511995132572412018592329720853297049984143607016777043255062040301001501784470748749555469800205643345939832179255595967436499843284785169370221080772015925180423339933147853901213786598153562983003675850428587159442134137607368721362467453201649616138106991125581622894147823390849991281094264818145428366616981473818171750162030449480581902343060521484014245189968125165172023682929949317122074507030942334034491372227866135893873736347628715529876940445923878113760240400964843629764778678816119262425877599354577445416253468573333925146541777422873684543833369657742957737190251024470104016844900664747568793549170172380413069861342023046263020805080149643502193929829766985791880624149209210552194356693406552527727875767138866398015847260251556756668895083077570908150368305923923986167611029838781730693153603458062808409333867243400320696453288006165669508210368290996483322320562791736831600231907453957811806002587974421188081187488375763296291932481957892364469842439006373056319693830188522204990251139117876681192906644284659016357901905217928568857551993227369694356266182213890606110887462983897520641594626019749291164716408485465157558168802199055275350594075289415286984090761873665079452695001816419909846076393894213319761675933651472605051794148396702251157961948649208553360001680336852844327898382200432608263836673693407307568712777450176712460399486109917689778946147633310625356406377029405067225273267348486088238522823730475313214183661789863617964392716500918704188087492374406021283961304163495296715321816666412885978000532444064854169778073198957369291474258038846812081245392805632592902026580203538348347942356143153446132392177781460857865679984458122961923199867219869981058150275250918032944004353931528223050363261884952687136225755422183055271575448696296473066977220705784163083762915492242727131817885364265349415829250357199882643382764589116663413600275281620973641226561
assert exponentiation(baseNumber=-620, power=505) == -1438146724987134819551489168795081550517040096837835292959479483022107624279010271502004981587935096240617773931082665548753708042352267147277621829299225300560891974731365278361385199807163308036630305345316660377163436494472003642045632247731081216431007976289812233480463873515144298312013461273681386096486219364251526677242283757031476971108324766950870609016874145021962647633222960817960531629294898761290176263673306484180436634386239314353394223040143567613319656060908946315121522465307726941409855225450949951582745885752241233177194144733070026666347726220673483433459722359305212780992097277199477847744900871646246461382183411168902264213154209019686663202510549262998334562280914255869176709928434259268478404424312853063563917454102222666955831138597530267977081518994331735508024104803337269650155160155054117622260204114813900810787786250254288380007059875192118591956571244681635372728320000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
def test_exponentiation_3(self):
assert exponentiation(baseNumber=-824, power=444) == 46955016070247636661758934496003125036138822470387773275449537878833361015274487944921813254279548407142210752004912123855030598244370068695331133430002501826171223545332940656981499596250880848697488039381490607355141110795905753592786533242815554426730528649524987356588708765662623322581029621575499552514373606087010339599726500944873143402887083791418069119906241172653898552782316233267485419080015548791465363339739358628876081503917063059076983520344743050407336052306023676561928251241560763943832478060224588687489244015800909081879320395303760774102119770363228609166693260978862425560363064875826540779995320020553316999509740868760950885893006248315067829095194644278639833091122064404573156790596385346938453485586100184343545512519167167325172452613424564568715411886539777241658979482958196757723592563995750677377306891186753820198600468853520884622355474087262147247031015480364318716423045955784047239051874851391101637789199135409186073323546664451329236842569659331922613148110304729778092679628042865094926105744531669888678747553086737775997182774305832382354579911107506702416015451799657309761281523527769902062611668268426266296986847834859162304453564749864771998483388435800385029173567893176286045111196741543170584142040072693593654841403632847184746766329578520576
assert exponentiation(baseNumber=745, power=984) == 1591374461978145187320845163687317709389888358074555073291997204900215871083131108348863593122880913578137108016105279350832344371622004886187131879124591473003535193474066780397034733452083365910904301904185384186122737463068329615194551419858514634665840547955980545804773427218921825146837163006042007117784056666592337906425897530065217026789525093754904924225836304700765298708665111075081945241998560689275568253788986866733860956157167187908233908014369758556780063917878947747052502215015682831292219865371770676204883213525461985752600973713653561547915387594758886188298499777917139589388944431007631990006870120206743422804512826836199255975055481951843606894537047119358749240113078859962255219114197044342792654454849095319608820154195344682300138718014352939902486188918072080351753955834121284248198580437002860025516505154359586188084438121491605731487730794698151510455205559076821983718493262417714464321500100304680033445658790085629453880513518058951720722286723282657525989843507428568849844785548530899421108870671760511466710862407502536273638491483401233100450551165445254107793012419664494722487804815905378249999959906912468623810596922787321477388831148786672761359742933155622422119133158509128072713098843906996583418170428166574253729746690590767997579827334364817625965615587207283186457092810934640472729789278872713594918721411297997558132499509846942457850837159192301370921191157687085845392495989088525314885514451141211906979367214685114791099772543629193627784261497098212015384308762944064768438473663266671908750956144401620436815176770107774338305027632212917698475037825023654910006832250308411405819150685249539382890229484289562494940527638467133101381563541115884595987241336097406684915132026529732927709741102761759890553412839558022354963812029149975363542145098010588724384958601102094967359998453711920899559460910277252833248513134249589701243318077992656902528528822739954275303154872457872792678217090696102773444357936976146824163317411428290114511917216935772338457545053549146989348935759451076488061937170421397670849374146650470148897410458145889755550005532582763593289091783476685909100866707567150120814211828938065846399886777512268774884650552341609067681383369340755314937019202982302483378395805523508474150834906282609833643178501625442813914967254107523727799691508567644700257681186977947204284540634071822442391157938126098324884121084853967424986349438529140831009073513910321826891669073126913833273695948988293464001405683203678629954261579877693846064065863600788740918972272094576994527392232600812334841743038437754022640401980214673297369877307366446929618314621982269922481815414134298346198572310524673980241306936354770551207489264439536329640924653739208005617431967142762171905237165476977339005306943107466433051655485542141832411289215087890625
def test_exponentiation_4(self):
assert exponentiation(baseNumber=621, power=199) == 6686955531564945127560882574338230466885268614475543277272449598424603258854617676820007554265449540747656581035163209262353750394070753681944799139718421765150881810361180736553876705534166629485850188782693301875588528834555552320774479394891650112471582864376114226925640294982454309674314913271497389264002514796192574461587445570816994114608101167039979302895450896369105373831963825523213814183254733415956036476334463397599973876427346492577746300654210838189040305434433729581651577260666184470711176637039683458922010239365030668677314070820619781
assert exponentiation(baseNumber=380, power=685) == 1418285564188302798231204939604572624941108767475180484986991453680434041127833370990479870256755153787387620944422456019844536005557391262068058169380600017177498289857862142841122524468260582476852796867721994704077325502987906880503039888569552654415215201614382717842548376235530471275857581003476912202587281218797789796075823365869184994406650233852548744237336876305932907969041746946875126146590708309377087652694694385907991576960251256675445430365663875472491630015980850272321830400645987987959937373421727298601638663198094468473094997379588762600727386858918384159054623657602147616965235007524028121942970311922136054546592453923071147034468503209896330275874476785553951910841474151565342430440368466439125142353244202997390837963339263376458461928479654850075715143929268894617290357342303333931656421405480393188816782545604611736160483068480294989713170488180621701636116086468890289865232744226524065109651357018793647929807532259756015074744523220328993398963124575669685490468037427411044157638369375545033679930286427069305560304419776224792216841429788057927680000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
def test_exponentiation_5(self):
assert exponentiation(baseNumber=-620, power=613) == -54463514467700615992523496378551008014378179619965562525932868566632326450063279758274066396202151565089675802048570673590622294682664458979562080177455344779220863599870950188368611884188260986781227709799454845528565254145680010352793267219390492949575698540181750962240346215454803956441770124318379788100393427711798961382374280798513472724264431528235138536841713421927827772605888797159078810005452270125094393962547357169343991255487121352311667338674513820910664460251542447898819562091192149643397575151343670506003519913673067281248673510912328321085380361351501625539914319762272049377990707144034078119372688237889485150169687873583358370196065135040312323528467601187574954906365384335707613886529302118064331288408383293785919880240191733141888693232041244547328340935202681281356061897954243172338417308257685496783269620683028514452702805805302606825111403496879918827689035222711613027779320654696951994299568131487890869877091382390880711189566428781249653360083048726061188365816845181103522904916301499197057148632275772231530643123716245563299599915925288093248335766472066334720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
assert exponentiation(baseNumber=959, power=220) == 100021549347782415303139310938857157533547337188379425031509648470203579688379019867411134888861037008852590636499150833790126084963461541430768034627904819477474328443584010794114716868703714841211735015875854277337153564107461494703951088770568483483231659374226076811106988735804409002443376588684650912843306659331918843496122988402502995984509827029157738909900427287888593062627471125405264455564839724926221143589949517810088958472797856902020790890486388651278271788814692443553397084237140377933705297747025742621977647380516595879894619884919909107370289783045337034196384001106306346378369761641386773570604767714033147251012006283336800584492801
def test_exponentiation_6(self):
assert exponentiation(baseNumber=867, power=408) == 51498166885938234689564619057152583962163775064611538126770462994948844660019418328669667886659784652133188709259635147690923901005523909013234589575447474624922015566241524625628516057632626576566339038697334713277600311486577374770470410511899423618057504980461542326516669564892084217776435177274106337008768881391040863113653792785500626590669123522215313559300757733913672266860167206270724681190864276461399777407502800218084229454693220717680068499819144848262355893771420055946136248005399726394649606627376350177278528486826398189101583258032376630089959167118915717243403174254132104617787361341925531849857620352184232002843495160004901626213515920702899095973228116111894744800233977972551193733000121933740608456746640836148031329591890969391118214193273244710121763773411034269248890828628820137432167979979235630776412854271734956686494901907900839969109480061083704673029444579105702014918430772833967714784834179393514634481618290865344566469312523682639024860612482684748495086479873594884420371952510942083718588480144793112709289726208837437874413470001363190110377415359278714554697007136384946985288187174662813677091280571483175315299654190030647097580620274676359304238735841
assert exponentiation(baseNumber=438, power=119) == 216480683262259155956140588504959538539447415381425986016095853439336066991602199750342667924637357594247027084227414870888404071964817514889626227462528775888196092275846121518167156466145761815474299775802875121904774612702460298636101625692470136566175794119366560626367577409181890088676955612257848039258980352
def test_exponentiation_7(self):
assert exponentiation(baseNumber=437, power=423) == 8387795595653897157200888415200751971171555915797743095456796509534103642783601494817606816162224957911631629818103590041266854890681937461812621378469906298907409760294300778981930569627316333199685825747590693284434101730170652920705941663280259625778339193167485780053544544705809367208609656775395886201658052245765500595686781831133345506511593276768825662703470891015162272115266667389227161375129332067972228846785264392311315973815005230340890231423300832696959681003538100707414200951026995686775624326348173013126513917104323121305515603741601129780325416689177721470382252269107347182354121493060253823380090857050746188677854180468003975593261055736317404741970002230457519495841765643820737852908805994483789192566745196630975494936107235980139726455240122539961207405366232060247391259955619313636720339075614453929168627353693552904143506657391100658233956803813524846504350138008824666423714464397219839142311201325200972024041415872998036276416682876844907812749733134506104221895536933611653435506636729279730775228521426635547685160582829746914619519265198198921503263105303721882267052311404473853
assert exponentiation(baseNumber=-477, power=323) == -14502284809450400556133302622482445664933900532279790709894998870042370399206204133291945503208506525049863301185551810896225862751846102048545231892566708896091767585832590307139299051512090725372723682473344640825542127004931353894578837241956124155161384348776366433175419245171686820515043086240393026206283095048102403396340596680082689611199847102831354118039880927361268824080682134563397900190845137292039814056287538075753135175874427854579621872043030718694080597820290739895777821703856484166302712534640626705628168489316976494985709846617382547553199284627532944120709902624289567357561080337468902651998959028583311695206815492717159018096630565829557698162707377619467725592400894513870341682666965205471079817310205302064047074273198470538058622995515594340695141400896768398639166931839473741899093130094720684249544546896849345181101312473492396933
def test_exponentiation_8(self):
assert exponentiation(baseNumber=-969, power=188) == 2684541274300599153501824177179503898116756305290561986743763777542026475064668663572017245285667167497223843631751863737282332735802552223405921041879217953559364542515442007298735479322158640638167748433392042503135781318036725254685638313017750361617804092575139893353800205868240802434136405094876708693956686098517213416709093865776967487871204328872144955379917389387462047558886818583024022792630798043714537305753356221259228518478434455899642619416394507998259395080774049166488141415113246761745222828328632100448122547312311877170060302296693302079841
assert exponentiation(baseNumber=-954, power=667) == -22843672625661824782206155383350188852445075735725530665779692932581070477561107391823034557958627231755088562993817941705285057436172652759145751221179416096739793122000754131941820414540767415003728831623491786653261064933534110816630162789350161691297454853255515591774169520162232471831987233334218218327295882998032733970207845784555653053038342681860810103292044542756235832072792687158885842784650961146645859210231351931193484847084742932640700913934086640368972560220350233860142205087046807543147322462241401373383734569318087836804606445362775590100502655603153628624203019377897443920558591031478707962787849500321382627919436756822445679732809488972753512137141164268371622672643792622015540315770513397749787025959949030629968555727343921199531545348921852288194338366477486226465697786805228756932131970482501214848126795466462402381877504610673426470056479115938993578574143328766185346805760362815654333674993683865668933924502178968864543797469695234550007918464031195054193505959917606915525192648251918169954209592264606787822496128493412643289686305432890037238692691546132557166607133071282235280301830348565380492364745268139097321128779673194941942519201753003328065101376894359395461138657557430795524866359614990404707213396718066526762999370395366856857897403785198374086934776131899036258030654986405711178926230279970386843985501912912282906689157741539211955582967028419417367073514862484699076394562924718183570723883442582104042388724143273470270730872427597924062390378770749451964248364153847315549989117497372098399134452219732823195182999876237990858708179226714729830924438277636193045321682432670778766693950156957179718495942065070465252749569127602746044606370387821489450549308405774470813097801972816773613107099291346259482661219800462844734620682665514408787818184668198287447123549363865101839609631578569382357531108436780484994884235660037854428867263547927061006146765920002350358919752671201549467377007831865095269503006567780989045571584
def test_exponentiation_9(self):
assert exponentiation(baseNumber=-533, power=193) == -18128060508616083225386412181072695481915611333163890343818093585289514787549781214834531390380712251088687959524525272917561642808886545111192882273864424526368321085997391613329793293248367169281737491649359115861420978923351971067256413355811250611783348625334278229411246407832069491453030629017945773998719663508686464324279614546027765552071896249023839584671332329300176524941996667072432381986040095747147589884167773365932115445411912581011102769660829824424813305824039231446746429867362677152234765336007035834011413
assert exponentiation(baseNumber=701, power=669) == 61003397019431195514518319859931931662036116008930785994378372102479657104462951695258260982103831262593297855705175006681802068096721957233696765102854441598190751533769145580636153324972723089804522881371518129955827619001079460278764428177769395290486692506843629324471258590949756287555665349120103801618136916127931721229820284982471873465560918816517884726069033561792294625321529354869426660921876903857929318695695219787033409694615070563704852246912598625851519908366653836676769733208309239503760492352565739494422621394757710615276292391660903434207557209343362335110797291094072323827353979253253021975097003828327012992392522682440219369259997525012502546433437629897107752473650899070101580786663065234907166440900708789125678946553556535214639664815653719062101959523473572857202474373211435630425193966270373648407215823975886964561469338402975906855621048817319893442692896734488878467138883515154774681632012317904172755545488893684616279092440127554690361733591529599541198503720687412864979514290694649166404434209438432749958772006660461381875283719333637100534892201228924535901430936408040024681239477678436822836920715559943302557120325354993495491771500000549764060951248553317123179892428167263530051768408177895775875553957776615345602060938654487020054888692780782460955598367591363660706208821645024115814840878547887781661468940800749045195035751916580644235301766072521685476582147528383953415549166397442347895945053250513648754353709340441752199512900276768152388912726439379445280045659580208466612733465602789543014391008208949244168527620288677017221536798582401186401721263614930792438802935697896874680511658683727860468567042023542288610512499089791981515800706247766491887836610899027264173673498326077354666903955704683694604855914906478538424114434119095382055987144751134163298927620927389177176795011230645021881595605656994213047500921991722809117801031008301
def test_exponentiation_10(self):
assert exponentiation(baseNumber=113, power=981) == 11747705674649256439347490279237155097641094433409452311883176739429841680039065821920024868450661668094655777577873741590415303774848850342841439763443486818783294463847042595338907820492979091872920508022022029930001127697180238776931781152554313133067637449203378773380360083787438409401172164082072445045330260542616186591615006060475821718052846828953025871357088976328960892322649873990977181726419683628759192484661459600726326729937666933289661989111313772859189977984508461627811847197937551358403034535043511995209072883329943269058907996767249534671290778013242174735345754322292185244401834705628699702401394732056862158611337721399390723030710347593744996530536524095015079492459041336420823744573796979824218217444393093060122539333897047904966991148624653353166692918452499919637079791376961685626114676605022651199938681243276893564153470750953148144646072759462097898276763350011869308147913955950118660124732213195487956277506364637712971316397113814144161682125010012224233675848199247902294688294570307991238463651363674288555774866902359337387925279798849291292653873119737100327477253695637549104366125311283813377720119094939895158634173013597644143519297433365514191472230014091241282355705095087748481720760026456273595434666495090290142740288067687595010347681544696607804248521459239614976803979076489330894054966397946163380373040330353476253513438322938790891659787081213666156876658888584169525579850989461584023538255407616156294451843690494775286749976325494935728194518751052271124606803076522290114730262285547249666970741788493090985250931952970418007463596852106123903790225190105124507980701683695369866717928439626309186214390411709390646435624776869598665619266527893382953137698770018644514204807784904414687596710243345786757522228750431039584528284500202723789009232707144776687265335985978733597100910605928973275047221418728769476567119825009281043373989192455728371548125907036999701950825245875559137005269268851191902319420722732350720195676686015251078399758646353713
assert exponentiation(baseNumber=-721, power=204) == 10442247985895420593622244548717601945525101578318689757313535824098738879236497223329109630264857833241417404775243641325924225929687253261537769702877338389272637576934157194932817829745227553215911398607414569354022686927156584829837461466621483729124487604491866995688920593692511307439884489935315853184014100117681051828531715554142168264291392039061057171795961600587716348504688837344000275074997483331929221411108965323011865921342093269700124716889711048105298358244970562918264924289139476036709264922193508590651591130490455338197407787029023876404350914691310840095289281
def test_exponentiation_11(self):
assert exponentiation(baseNumber=251, power=425) == 726660627327793951567651776804065705469048628354142972976131513302297242245505988405873727888933068561600250187201859600468854909455222404421639174657326448216529776402099187491319286659465665125112406139243340302066650127206516107556834337273664639589214314962222676312343494697432649166855319549576707967503677382558708234310756649897107021310852746290065159890981427864175590157941975231477266841936980659274057704360613139148293038096358865767343585947817560930231968426204354146282174942069368483072266760018086266889988823153601308390498860742411696262520773072527330881395502118559453926081794308874686693634877642084901955269486091670329139574248162676272309514594389963471480969979918780533003547033131426674138651491771921741368189908741614657983884119267766705896552362168191424823492420704335031314469775184808774375117182257084534891510373611139777114003382437460222821806100854745779108601783800194252499047875334075992481616174988731715480272071809602320397570152463847508773418638737534376995577506356251
assert exponentiation(baseNumber=-159, power=551) == -9328579146448128986789422942087402952479708406809326421801325499344183269746477002396151591230937070160807380475056406529159414174083645437567478925930313465629344410614608012476165507824561468917001633413264572033336324485585942517364114291656832445341757716157042246980188489048827714508468401801769202253820629899919097151102356249842022933950622721788944069927893993671667888325605061124997543172373972031252842126933795930079031187957832758274956459144632516427554086232045133368995211038939972511083707977840729414933779499594561640437439958936277793867246988971312521172078440366009336265460671505209452715002462975217503103487162712904020028795569303961138732470179164807716976693786806949181438968701122503174259604531221140350048602791793840822274720269897761540310542281548256719954536420494463984112554323610182044546958833790582786637436877039199291089241109394873290839349488300578792035188707206452783263442724676758668086957352557827308922488779699710453410296963609147912613966013333240662438072532601823302206015623259214971307645917107351603382350850459132620042231152149611300469532021079368462003939307137042893097810810253299528544371245938939106024439009299886557041818544950345482764248159
def test_exponentiation_12(self):
assert exponentiation(baseNumber=113, power=30) == 39115897957341730208009052194412390955771656152457329084502049
assert exponentiation(baseNumber=-919, power=876) == 7317925338019645096758512227198302086612007577371172597377417386088130346433532452105846301112219204467907610889116595775418746304580420322349507352544898987866445092421643643964040090115214675009779379235342636036299028343231291120172200457494600434837568438264579491709180898249848819814925558605593236103116047686779011178716048966170473097671851131239263918406337919992411179772180955945637544382373592978179402510490263873110542317646875185283907532209995385600751808560789789223210925433444984677759391620863326240114766739005925588593628570704282200251805494659972830611796473327995566511527409243827924792668124147385180837489225891491150979192781471750280310820807198084260853629753150341574743692432920358212512096192716053000744189701869134170649935026231167008250383950969040003319042559282918964582914396391317257224172375082270843274461614347522153228118889854313261278689995647048269834130113463905102180815116998176242683725401745963267267756060072409734756635309141541314409918328696056574562367229334711870462798201379019357954607649171203307724790451460403676576805219702842335498494564021518149767448849581019112831471248629715426552463979160676086646494655491366654408378275078680165380998767318695462657913797794669048608843191859377555546373701921793872995090541195410488900871147386233224963340612861425000683057625119779413995129969766057828270784988983112478530927974843269033380705358377526066066110592338292182229587377129870281644295588031532798341267936335740534486735813477749466391715817802020987557042665459488145678539497015409920867962029781015178750107753985067133111118874777558827011697198819524018257144936293634809664092364627768023068446438146007558520546823844553084753830534836152159983898107368980964265832571599120774734643559625464016091869648804717898207040704270704569123276636258967080594773989983894389917609315618508000266968461619788072540136385171525707234488744246160702521245615729348128610134553119930249969983296204669387014737391253672380715827499607587472462991012777013253967174300779733331335547630283172754835721740949484661987695968148121692034738202559343761592634227220435178428872347019338485198504942372798036169037633186368588001247662718305888748556754027726246535564599702315020977313620492206710484211288000411360946093369879967962508313827611440174664433515000237701778786027039763252795401120383024685514594588244748733154464074759971397442733239195631182136038895063675780835620648705060915228872969815803695001659253624454445387418020904516176460385676229869307553016555029484698123880332021703967106340812199279933994081
def test_exponentiation_13(self):
assert exponentiation(baseNumber=960, power=276) == 12789698860221153466448664705660478151407161376368470375428035753076068510990304484057024335510583503736843522001950356559180056255205471822111908942823759088480850045091342230988049107503089468529619030997288371754451042094131387286811126925777118816128911172691353620436539100554713911996362313771990558529106139434867329974764532098256435844196267484490954050660896758179718162847834881525876677797372848568084167944397412209688633563778088634543495393868447875617372112957569070643154780227721152745374027048977392841359604527643400816449028096000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
assert exponentiation(baseNumber=867, power=541) == 293989442468449025299513046108729334527204143768426769839084158234137065277900172247513459586526406487938228361061388643782002871937169315621794726881760617309589775644697799139494498931211192431156345300521669684371143497361699063183127283328697051336594377257295741244900480126698861379170854914286718453359517609555169535202610041050129529087335512435661563729465814008478846638743438394177356116079494516553995554879452116024117482836714473289765015994754092716602829408273893020146767660295640920664467821177717984191783065567984766262444385447859325905369329295462114401315537345158584389339325812842246872245380589932555475482803390684092147238197824885061507801730232723555422962458919665118525010133837532065184970853127946686492519715990701657582663468489235950137479099161283945329381443173003175267258749658826677035163559691512398379372410417638873100191738927911905988413697061296887839250842044206945447574629460587461723599341055121347450096024631912842742502527154448941556138532314194280276277511595792191964471503561734607203633776748599307379425125290596369146123505630575970824986999451112636008589671512103704432838956453121673924858263506561063389915433078774959363805982772323103987960154860482280001126580336714347084682646894047643477118500792705995274812588111167184142236847247793467805427555972586971321583743389949977818247123190160535529255554796662450836177178988305387947137585533713820532522709343753721422680045610215633267752163921902380757335202220677602954110901797698982251113052880498402952927296637550755366879020200514613129195611549725149497809267
def test_exponentiation_14(self):
assert exponentiation(baseNumber=-184, power=721) == -8583222878169645284695378296047664849787495995101973861259253120528593547713959969131112284344643006029563009530998270848561468352211893657925471491689397163624014355189740901768344852468494589315083542046510553115677200887528538715650091241428047411164570416384292726836792779316641752349083851212381865731653076051212192343222888450534297275217022871213102749049493901457684006952274649030622712444531806129456553519524698353288249771776395271552519386369120934745845916004711242636024824668458373236619312156137237828585178100304647963547453113736213781980442722421442798992244617026018925956189948161661964285282606306256416963162508850654027936751618281023607715629466733812837140854610765961283663037424924947586621175030804365421247639576612631915372826110833990698721437201746749114173573221124493844059384713345821580038538144178862524325032775962404347253872859106018363487986527769319002725253949804829387113609024109849624354498640134937095708158988347462500391562350520417039986913588905473400845754421596386822178014547859556356871467812836289158089470076475854401684298202517123154876699241423543425156973614892860304011505244125065296648829509275699315211246715599263546478865387871858221142666830549387657295332510669680649932045423495815571618205864476565359847604763358619766363938714987480705490952476812169366651643968930713752511843547781051501734735679543005279399066523151259029015531920579905921074741852586259397174729906267785147511056216687374923312635211521316529002076004516950317809583358730864851953937212854985106321658382131612617394095683160241769068687146775661975596917458245633232315644205072384
assert exponentiation(baseNumber=-658, power=123) == -43831356806593543763213193287845578673752171376568142890296619711225500883786600620240616509148126298345155017723307012989649439933483482685662321883857550645126315919078065189826245832214466374923880563560000232702534487008052525884539123720841515045173662521995810797774562220337718075967516818256800007699642094680977608214893667264552356544512
def test_exponentiation_15(self):
assert exponentiation(baseNumber=28, power=984) == 100809820336764426772258716000077144608168163004376987582682551997266240552118592020192268660525916237545844306771463700609698029449524803843294582802614152695857698765365584011015953924718170789838652223636623087735967913395613117524900599523871826436580081905190697141851842709486307650200711511861638891146156725874237816217267727863169465014150939691484249121584343218146492407733359448606937855698213742432893576321362699222167666680858589629363052742327937141316376083718705269880445657849370046541574519249149130740366330353790651236492118712144104815201579515211374718997208751191065141887887965521845857734097491272830752705752592750695296769862326905491979786634620372709281827821308879146920263134259459698576761015748205516895505766184567454186090402037783345110654130329401975545300408551546635780896394497902013623752645074398211218072596262161759562845569953294619508732053271603830950292562999826200965579167742488024624625462428206976394715135565091758187679791292798872956197897985706609813412667319400159685098602930778937673162301166063517085837438444890381483715556553096761804564695112022193209177314211841712680869900303107262796286812892010815290266283587082979953484177065084856696870417021535767001709015429861226083600444103322588668447151909401667725997907231090978746885729964420011490734129376659116397453640307159708144363936377440552101860227747620109251555706579703410363031938639076582752256
assert exponentiation(baseNumber=892, power=401) == 12482644576012426783365323255528975318430995455642484197478763216053091486393105381993158745326574733872271735860450866589216893991571729195652165833117584799013380877715207226519082112842426915320412488050473298009638688318499384914335849414262412478479881998333072191978205276167674055983195337014169608094287409427070125510936756375401158840810066518179304237319324994270543338888876625259417184557251233845976179497569566249104774620721903410777612877098016833505841385123378419356153430098180780344852231309168959275030069090480188601563351544856107278394555799454676675693342952037740033954415856961761376475533754093710944643346566972687786174235881311067909453144896740979241344506806600193770203860490255940680988352614592498731841412505196835448246088859786588467863270583320063118133737553176176301706035076784298039871173201353256786483041016703603312863549823693127643537467836652375937495354190563188599041375180944191226999149988033775363242585686279917224101563873571131683473016162989114766665542306728230843963633983839225877138276732678922484527951694674616163422339761415381680448884030421741710860836585512755230119012084772742229566730857749902254307877576507392
def test_exponentiation_16(self):
assert exponentiation(baseNumber=529, power=525) == 65197030936366345046087881255585854609191703616268169380681162778126805145901197720196738691865094004128517832327895421026833843696897457281505102475577189736935357707082759786175683434367205512233714894995033943950603490434888754166602958067513205739990074558044903794952247840566642588095254936897319317213608170279657752526733672218717764160400012380401326044923441642998556327612931187680110897891973863866570699229756778763978442727451443855679650955330568054323783005215340670383219759113416367083652541229601215144867887716576420999672099280252035008127184576321341879582779368737824414196018086179735403794481945118235974079826458493834337773307578240167405284405057342453841403711369974043678526848966188665063253373232472345578355489884623857508222872764349922755099743061214655177059882605355800191638167972152697973664708961640915374609231990436826092511272747564424614279264275340140793235814378467837164568697724218640577485698284330553313504977732558270742465020980245649648496160873027043186806382338953585313210108060728299839111823402913392141068462238420713194711957528952319559311959337680208037247062422892677647421107754196336069396102425105132436303367197903755219563784792902201366976808820194210063393111827846062976865490909419246764249810226640117272281218125805284806522610629387958692667237161101757574826094219861723176028061053978162022620980921355940302601827262179738624492781715917003583546583249
assert exponentiation(baseNumber=-228, power=21) == -32857293489784097721377835414693810935866670972928
def test_exponentiation_17(self):
assert exponentiation(baseNumber=28, power=714) == 18656680677927423940161170657841407963651112286827310608690917928028100635653956619444584605269666938543368952028106919494220939591828681129999166001425495339303345265144537297031446004526512861135752949796262851026209537654032532224939696907818377467684417165109839520154550418713455895534647398547735704257463730574530918890856232753028775548907981970454590684429215199088258273798852534739673005057939171729887479473725977985337548368852684478007288010157806438679479522806847706532094632706383259450522822205356468970266295381740782721012599349660401409498801982830840419552287616915480221732300252400216395569856636490239409788184798342789387616883250801554363735156240637328822982980278038576357652028971695571875732599907058704480525836683328077300550438455160928474525526924873455070766415236918916093944870434962506782136757782397785214123653667295150556869396449718489605872242341427321312829873581415974470421220337224465849311045873572274833283298608638095294075487688419456637307414355993593746507837661552903156236550144
assert exponentiation(baseNumber=-727, power=370) == 585776598516799230818584525300008169021219285151442650178561476023628214875096983550006079835230169458620648875887172507547112524172417106401825113525206389857651709337042962615636015415629504045783295653109808444489194340995673012257942826735982670990541008401847441656635861807463526155578550936430642881800871170344382561131824821183160216044380280905469013580521110869045450959951609516714948195452456313459786315932051627507291603356379540501764727938733775681911337603882707544554758531382665877175781026458559217513419664561190459488263622495102717501501057638289847305118068973952210927463199673178182831781770302598646406757577842484361408026336713194692340054115482413297029385415374228419075639098155634306030539429870439772618224843946006158638565905257260048781571244493110831685264781088221740858302164513612181257925009313612917637371752581864106411820959377219061444938898673768007267963902800977455545598378448754687549740443663172083890775518934069271358226328476465893442240986252253770360210611371151999293794013962838368495576895462700049
def test_exponentiation_18(self):
assert exponentiation(baseNumber=-396, power=802) == 22466691003474810353507979442773940444969658848022060441041166921933879459392699023731398981314659106617219365135352248613448095488307758312181234901906368660403914617911556640503510846527211157594312824578039510097814353318840204018798408094300341573754408820956170658899319100633724969760008425977209835683291315604698986896081080383898317202414263819736701444610458490997948310405319574041869782947662163129763555398324156227105140681930258256352321899832355183377948886572821154848019718045170555961585438558459521459995625788485570817090530650552151870078244336467464767138229997444717890682841002206955685577927375215606110388020638397839163778191597058466949044887644211083368931688833190084251906581263346603102815054995212078156932642123554619168815976218825845066721444813761781649136642750763496380223398676054547889041253452569084993662964285806862573314649154676268871391484192611434352656366322371923107166881432248956011568868382502225723294836442333603756474817578798905334061047865121748601044409105721006235010791793477725939100301939700869282062708309126975425205142864146005621225265562790507340783993695950281140207390730070402534360073660931040689674750284626565803474314495123024504472436472862400101147586111375015089377030058382813154960177426360075937233952741067601871384864143282293604237473581937419480877114410162519437983848226099083133059245581560645225523183773098712923690087710455812031417737496357820224945771462700890159423943546768648341434774039813277615938661487680902519848528513803099574322516864301405667431269990746865477932850562916237425008335554895135982050951487642616048814203694329879365080657098952502901289993855175009037638043526416892355835002241955413061378010238165503898445400302407544783899844445961454545381000104084972385984916504997094524975107657525297981723026823083716132748542519192691092473212157314229447486488102494465423088673328713234583775125904870980657018977285698712630539535231024921481202524348185886325187874719295180883311132062201890768657338063981843515068055305091066549645268774322793516281317940002816
assert exponentiation(baseNumber=-965, power=580) == 1061308736798839918717206747375787047513875465274438938107250204407259965843663933708644999714260518685899797616500747096493896130464651576092679491584659875629962660012433894706721878540629308535014580244475612375609862023478925694705690503875345506013537942326312002483087169327932242126531003277554329537552603031906471173108585005319974944072163382494094532931240096158466408145741373732286598552392127514601320173451990370119244687919041296569234963390092713965876126875056396231266429082825303764795754042417911608341326791727342273931083738132496151461263353921254387744355083970130788673400884876056524488496263827257091225032320195567394722973203083915671905951819283114582054657977458757219025367909972759496142982776078381429530919596609949503493026955762039238489398519312920268752221570429824833632868201788796705631617033210952802654304185833053155397556070601427210636133037928617449237669159132567002975889129589688329332921376213048580556595242007504110262549813243402651060909216791927855310747461249128936950788404736801178726892795161106061725766284594036219597894124865048053004979216286923950231631584527203277205156967441440270718500243433502569539122361497132821617880565627459494959463046358097894675995535609809557756924973826500483840977114472740632208006919182551005192775293422616477114193428052011460249614779585417325382226698275427013877769779407816703788756935576215808909130018153182807121625759975285005355570628721204938517094411006267384858048575611361886745807661878122156489582339868298956699100053092256470741013677339500413979927723888379576658599717448835173301724288219134268103968308235929681258992931946448204398636996431859424974638096261436910096309649276236086734570562839508056640625
def test_exponentiation_19(self):
assert exponentiation(baseNumber=-841, power=509) == -5262133490595413399841672268379668285928467618193643413666127859358255494696936020792481519425237035966642025596434879763926117577691246620773883373863604187123052389175600305696033237161465073862148802828126327191720275153302812747621118830728457809777952288162970094182108676685232637549646598085204391713595356895984290196161005552747796478175709957398199996219603904112856387088799552698419522689910814047188672639344152035012562132783210969883596421302534776959603793775328438762350118695549388287989176940899581495145110825352716851892280561879600463508706885697402963982164949759788861049840238928435628355605150565245598904047566885538487010795267405784816639995653905530892031776274316491599399518799183334366756715580953834280139672831075102416834771937713263012207682570066381080355498085258967213663132433750137385617077143946839063513306973900741049788991492808054465218276537969437751969512012959902980292113613508615197377266028759661768071423598016833790919046962682316752781478339678619473510199349233388713272362581617449662870378344931965764390389945904573883566096487381263745306955211074177789053907891069641755726526066398348029480198186231125209313529856918666482230263518291177389207694849097473548159686805249022264712803463334643649754035812054187266651936713532881058429870558356368294084107589282469690711097723175120271294721995584120890122070434062656188728272106246146854359144512259747838271212600550198182611891469776784234392998775876414866487558041525161
assert exponentiation(baseNumber=-222, power=281) == -211439352725316814827005239046647240868547388948949514593932923934709168609605829154387424485468489947802263316895725331985435405405950955074678514635652998984032245784068633491773253992538177004141232249498289842504076395714643453345854824924436035484085067443963933813732893612067864567255971927750487106843539644307915803499616464155081265478499871918911492161248609845114695764684285671158505756204359188906126132308863304111880705016645676478357080144308039849514486921667452735925442333171322274595507682679797116018548108716546078115587066349598899575902260290471952008275417270705631680472479643017055235420046628301769060332066068584837948366936604672
def test_exponentiation_20(self):
assert exponentiation(baseNumber=-266, power=688) == 2082408856554626781433142643208375284236780525328055261784097138949527876309549461409373139739328466223914382707361939478039221792769739336280107767924444514917007264222686082182968197913173599802386160788426774018864761685489136342776302973042985305375189246371449708871184705368799180918089877716934824090773171945366536806826453256256710538366485118910597578344323772153840520945070474443453541614439723658262916995664517902188191270358662473175234888754325376865638476803109939589936113359498661969672919365987967723080429543327761306662287606670757041304286286685312884478440968493923016006666013298420427989017159891883445183935198876687705202136486798338506310090166520719268031556374373402874736586196777206439656569427628411893056870880271065629836307567314422771707889829036744483008758724282158338910529231846385354921865143039900119772458746917217947752832945913914517378083269132978009111423117219805646520140503722680913728698403185050227108838794440431201951538088363274830153492950109203489678529126319916493595377639245481367287873544034197643330716443971490783109131686316839146523710784081763714389100309242852213491516804295045184634980360187438761251729380278689452346614400947469338991681442428737406159281781512339964748534323552191947853517670340652125579153325826705379224150835815852034404913251247477372470070613254642561494011533631738953362504951094145775087303683426901315167964100820854723175193138832056998171317015747731183612138313086134598624547240847312972320871153656598732007072497778853247098592875539412434279584821664579036782060573239570902814848557676041439063609557647236164543448822211210780475334127995619128958917065834496
assert exponentiation(baseNumber=10, power=55) == 10000000000000000000000000000000000000000000000000000000
def test_exponentiation_21(self):
assert exponentiation(baseNumber=-550, power=134) == 16165918769624372481443034797044267493440707055249406981344213864174766112834546070808374905979206740996971224843326512242339174596131871795203729264430245359747520134231306636055870438010170862114245338148066366557031869888305664062500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
assert exponentiation(baseNumber=605, power=484) == 234207787693132699708306327280394278922057597157307363999148377055308347860403999839401515640360256702147264916817858942779882530786267395026635744695664779786650365016870742958697002445335161047417556213169172700486241588517367386053272140107799373693415837393073785949542895691637219762794972217378302101966676632238834755118824449850957668507777245482481591443281172368327497541645810841083305016740482807324298297590991863297698767333335515995860313028070166467691877931093489834957277159336243241965831989170996861677699874188254777961087006438649210624025891779593499295130228426486587226559107287438231241823880222785812815987876402603440173822850687634963604816893541109391588025201074709332248491109439595892019042704189566423353452796121449360919407459124954339434709002255796748016165458132215343493470533500889430247821704191072049598028684398982471456015030681972735546171317858642442976833035900451530204391507143119897216625095081068350189258321288108635167907187219040434501496845309326931389640520817825752166550517092215207489381702068114097728490604830386585257242647311643636733915983154449205925936606740181060231585882661240213985106084442883269903244359323478532254989924539350838853703322149052016559089889285305974125497968994607526484284762082788850983526955072065294657403843937328036250988816391327418386936187744140625
def test_exponentiation_22(self):
assert exponentiation(baseNumber=217, power=865) == 109061076211719564127734392163075822380559382455102361301673912294586295385199805863048386887120544676441813063966696567913613416278114803981764339400167849660776404857299783322293187039170788641563174414454255327103144728397402687548539675680533868139812053155063548722971344516542674758973863525198692397819495424229126547076288078219734416586689942554651186240569868691636888583932651319935730869562588474918328619507222395547729610287763846324478407716744720374120802992534025720374847379136881655050595685690465290248525157804672275922428974792114882990693020456489632796365773346857369550717768310508140506583659999002356384483201457031933700187012806504498054831379582305781277859588164496152133824169857213111362602210063422152989143634082799043329867001324779945648308076597409235854978261428362809643840885165345778560637926292457039316293309019568395395241291971897582371874606778391739982513303745465400184997344829437769806880667300744282733668409731591289861778874653158328150694722568355098582510038974340543319666768360120982541217199885325232917817191381900698253651952984939822899112474855302593510139878180440841649212895932262794878291403938142524315909823102341539030216973059268869649584721037735555468407431501073745204337341837398891121824915794400561505486440546980985250375678943564696207745170760040689456818491599873340518417520354794502559948797457210996488055667260742689365599869780347019450247633472299552654970657828681659346476111236715206795693737948567442034266668791351718118499330195240335320437367133368462111765799471676412761033368543659334200301115123926060195926790796109657189141220475542925037507228250027991631624074675526422717606178075753652686174246758911808119693064620049680696596071031009693925743657955302800763822229236734948458330433304171126571736606795658947563134895646625864020928483509615397176305005323962967751318722487807504909633712159799355544033626179287324209006794471461477574698692166308649100610629668508441272407501330012851983928871944642484984874457
assert exponentiation(baseNumber=-878, power=543) == -207740961333983616051710371456319425543990160748507758870919851921992745459166857502959664843422494098740316418868649886717243785521408727844219026505538057768598777334985700298045839388623441187183153902875136027214281014394672685041961216905075964661301550738015480105455747923706240751773521870076940513590239451778543991555459032744412583802943862880119482020420671561466700641944555181562410007540214754944657565072347939574692252078307860320552054938559323718981532848189815859800939318516831457234239097486911527155650978283709798828825792200245843851328722920747292706855580516177830356754219326358547953754510289586340476949110145076946509295133957257796679429174518636841276423754962049405915856991070369733645544767611811878848451325787389916122151570203311922609735414812617263014786436528619524659374163124612994608646218622983903884648699670195113612504107644639546702988912446474346474128251580766090656518503218888026510337367463436432519500338977823828259362959854212103731297738752913277451782545898561865872074253894335356182315801808612906016397848317433907645862994881964661894475999831497254433649793119751956137005517831284719839669422255886163411918206732138059454827086246676835962527477406104671238226597520544231180998849498928150531575193230637080939555827507460370343161371563454786264250849780631048475880000861959067429150809416059188036939015389105103496118668700830928404699918153085478368176267131699880352632089789737024317432629830535398921090385278878809173029609838458064180883476849414618732306491889417333434126823305283056523541541927398955615586353521098752
def test_exponentiation_23(self):
assert exponentiation(baseNumber=924, power=166) == 2002383336724619204239045564455522598538893867369482898765641420291239232241851818557002835565140618482449360208481582452627323455815694611006026331209940557201571291952339863813390342658529624220363365981728270170715985868275825058600059127749654401212824161212460599190158324173935426378589942351390902762574979526290406617098847493280516226750317609715779695674498449979132668989875086024658889655488509865632863371064501805147625080475499632231245174728160444095302374537927545937331224576
assert exponentiation(baseNumber=820, power=580) == 10280976881239586598533983984540447692800800465568456911858052389649078161046679853896692355443026929692270291970074850941740821537265873298335001937304781377001739251728472687503634479215054450394339915207814709590458206673341112491200414661938438023750778825629015087497656258073846392183852725118197596180427744874282448709254775060896798749822845922945890950745600511891955563766596606679567747758327302601381029170582197865344073552376980752682906704892878930242517543997315358994794393026113070851498091721879902300432884763701718596279766416348307898741888899707923643505793026877188701261220881405720012424978412573013817930210903180703242225774300975069939778057968130388977978045624827136719765426371488622924159014391649505302314659180237829951419711684137651869674933307621815147637889915969925037547258872118708772789945494004323311837305541704944073983754578719514328840863777007146509447241161557255742051491155083272610595426679723197677594827386809328103468515565459831583415782438366571781670780242140168847518001664262668793980806829799371418954449289349891952380483923667740325680158353653760000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
def test_exponentiation_24(self):
assert exponentiation(baseNumber=941, power=692) == 529687118789317451646143163690494380528547562453184414193968202161617026725784733745755227952143348261124610719098071146928721836725031279517715419465881340521927611998252581398700176115141682352062339677098325753366734504146025265229676331758606008597278249739741426658375600630927968739062481403514630865805737205952140871994276266493162131169846875532923212241456419581060180080392960152275824003196850802258642357691814866304910114504386853206060511749559757339509487156261081808087713554998365490621722448375257922794301983002671214327779344710059904544170977292531377954200625434378840512044108940799449939079694286310390251697410458761059878156727283628363628413752147521302113257314995494855904592798949365726154627095967273886686390744268898785632297460774240932160462871469791119732647182286294268639781824400735683702565745086527513830568879665783653409537115962001472131892353912323446573839170088001134391307558181684691689959737973895802478134352050873453797765449763185359043515697394006488290103875335986501612002918960198338318092225333124754469212877070989356472149419031626873430301898766883351551629524236866199906553635705067847634212407979839284058114756850821568976006884358907468542513272353624559165563921535050533907517276196517796679745332258100509432194486359948852198426602806972936333012207397273377839921778054430564884343443691621201963966714114265925211201364615565269233635596330417275393846548361009496943228153755558480486878419033629516958689093339636526656993416292868882445263214102466778697835175798552260474981664612226234918596482314137721759283385475708417344273011464533470129574219051340870031320432494567318530575743198084867857945025120012818868962586822015455175353907658896374422119359180816370038515806182182851969967955851553132830870422767615099693973934061211282141724218160447118944363800435637522838151989947214982392261471658241399174525781489897545649511221296373104510828325261036724687370191727130751543644109361446194743338065494055945151315944003816930245112879799233909575852493837049953460560081
assert exponentiation(baseNumber=526, power=227) == 461066876185123021387318353587135383600309438479073920443535824843165576323315665570631260694330229096608188270973431845528489684572215533296910009258879626933916285198719308417160519216517135212879850264142334506717277632191899574405586556716181223095879991892524417575748379660344369106616115574600788692107097136282471200595701575066711635609922275706145212932232459321424065703594793965720330315019106563437703393884098434102713278319488815551012476181370271663642619289875583647559277946710977108940582749222575874470372121666154045474698153545435828396355665255446579557143800702238536907252990821251987512754176
def test_exponentiation_25(self):
assert exponentiation(baseNumber=-701, power=26) == 97424563157341450663397483789110229330105155948322497928678504986959268201
assert exponentiation(baseNumber=-159, power=472) == 11466811656916799154231898606857733347537743175683774997206854578086533175383293516547767722505230061780728021798433486205650839130497695804521934551043339360787822451014848848220445191156583165633034576594740515787875223576138935310866603264525779697305071264377593320245299610223035745403760341564117414096274117882632886411479423465423250333649718356784867375112134688297849058806861740813391956915575599717489086541220278908806738211441103844851617810056493899387654722934540636432772280686643498404638280617621010447910095707503630846263442119244442401937768848227208550670302982430896292311002503567010463820969190495423289072151417888783598267540438203299954478166355185522832564129582833883353050424253060296777877013896680197077223796732451998057642608704362334504657646731700017972021077499381618866964107864529870401606026603763921994711158162749250793878021229409908006945323803197665806106512374531790971495034086753128821127314125664908463545642171440981339221784040444618480275304392736824715575561195989087106901746707278081
def test_exponentiation_26(self):
assert exponentiation(baseNumber=-618, power=469) == -9410112524021782265333432614394992971673913833396124779193642345049005036165784171580565724579296341667202635900958659359436604856934492347637223991165971548842836155619255660411642440325406471703882787533991397962837987342103715414777979159117343798552305455174144059896859061891146719972897865451415745101497442396345686515405361068911640937805872262905138522982954855849212761960019595594661268304448525610871206730603321888109858939255917158061767406012725933822238364905713494175102092668463795326358448627142856729249054950880559611491763342744459107141141249016781559898971561540341355811315292689031403857648799196946337868737793611252006802600904748584403465990756778501021110707693450517981400906276503539983463177477627208220090593317338172235188441827237861614854276677049850970152944658455950870529002720092563747102353609375670775264010602580350942406445285268706491982980009163715367682489883336089310397240268801939839516103780767622581296120254360061455451664611015146706634806610528122925099015940247891474201678351362742546213605653863452705103288785951226215107267910029867463816699385037172623187233673430470504786300578905511776712383118278059307391353742030305229675914131274299403608762806852041638596415708656723312169247007467548632870686774448946756197145317704812321736179757088768
assert exponentiation(baseNumber=674, power=357) == 67855188783880566882295361162364282409178142723760310845526616841193019587268312164585018841343402391009364208025669889335391632636003973154204193074673217596750308943152924014733670041651148156894953666592071279724192699239948659873245770481807595381445207372697939380154953485349645192645252352513862030357383986393546450015318432739725504172391236296564721517569255144739103366954591067226348171178077591915307084231265575841943173775570667796524935210765667927870154895149299612512093459716653294750284587800600973769013087669406572232859920861889195803313119588279283159129552836957508897078930497157227556106337231675277088435611527694314427008431553264301438788203514136245112401247367658656625067486742171808680386815185483251209350041042507675962476270202319838181505854061756158985167417167188955433202175053919703872147649928273979072206168860790763199030270989537684316671337165445922370507548624851941817153549673209550170747314711977442369760061411368765457825216099925991036368302615152740532224
def test_exponentiation_27(self):
assert exponentiation(baseNumber=303, power=973) == 277765007365201643487957222646937846268032333566232231580959379213033333409373751655326504960452489828980809452468306070786009487226491512401735305048740235445785586126941964980018547121239029490964970479535992238796463694341336557078665343661315058821843844687427248846284208452594884578408907654504595099538192788885578994628186879289645633146801875731756098664666627973855011052317988636953902266892691163166714366756902194974978362620614359064082451689770698911433235363248331609130940533091637235775825431104584976242831558312830258158578775716295372413799806275304203054564618113447441300511839106992986450193144096848660869305622847857180989007442359516661419769103794051716223949711980126401017840076479686479709718853220427328551868325809906051922749989325822996722060665993277999631797871770387635235565282045111626541271365451344326531399585040833562206573738793117726194980137256353243376534485275969306769417839860742930479586024755716455703856223053561126305565910600789524967397000181950379765942946563229981950813675740327709598196587855753075139584887765863769658133710011200312080353067020251682483606173857379517844711526451471763355741424809384348842359421425024618693490811465658015918754266486823547875922717527789346366817470623143047189472382209778415795501321115181828031450888242877834836233040593946196780923968103025680439863902461870545656263580793820960262066037659906840511717925807620353938369790609100638653723949120714515138855574227708864123023695827867589975099559701932173732205724524814218595522777840918597262379877338670844495705960631842774272154438612044087625854840926324962827535964624768215124955604995214568887470752629474866713893334158447427052275415579964746259360597217822177894421793465672753225083466008419523656981316207977936020476804460941123776804875213228480276153340464450466032299579252326414876829472701597754770645329632343728502833483806549115486680251436872104147586817377877518802617008038918206969372676199816889596996523983875944059818786082030452562486605355211253026763934238974983219759767126760761110811844056991149155601073430483676234898040417505397846717741532808657088129779975102723438288697489866696048710003674898423801807687045204788134960992232358565396859468865351197026549297516794777961721690033809115339357822862142090927775722233875599452197333254785575409358563889160411802738492732302074322678288484898292951542382899155577619823
assert exponentiation(baseNumber=-213, power=318) == 265897279256649626038931849101770932559845725831425786194784282239164724902652158760885270309345138931180406089252669982717788526604816644247058012164878750558773669819964714876933767788214921829529006319407896526041953925533687428233933672403782249924478472769104729312662893365218168580352242996368111434566697328137392906502770466567599463783260986102093412713296391905263488458800921076119126102322851180920734471166575819671451636868542354256261880975149657793020421511187287480272673165839145894274758071043508075563164348623875412992042860246859508868048053630268697063382810151704868584583106750820744081269284253150982987694998752992633323378805601595173962968721740556535246187958197189407489952532954678370579548324766036229329929
def test_exponentiation_28(self):
assert exponentiation(baseNumber=634, power=768) == 10105319593278281369332628132827027275203378166664832334550471565114175928385553580854652109599993751710838050205264534448332680032860200880650637159567429559447664027190053718975414890518749487023639399544252368636252484289443299991412963745805867409140713112815659488035078549692432031835114306072805279704351116823969381082991433573109569273849796421012648827802079199836396938208371511639603377164980019192904758943489365601772331211890855760383376181236993839106783999006087603681177563659073008892056274632346124248702421129582815435308775222363183085813584656098771712168835935406162329103903302193951841116327956146695069133359366817767659293441183527843072288529852572364146958152004177376460082961762535525283334943283086743037903151314198924725687819012622423321003207036874636505520030549211717079236690367103587376246787737207976905807289931156015159193771565374353817992528477480131758064082177785718167255557710738261262409716622284609785481928647888451801038347749459739601985821089043503591005976700612660569722995776870057922697689201244496350984972277173110861273400829121601598266506304898373461315450619377319758712896521016427021493823763934925301344073921677456582784738720262271060983299373769418375811487648569846629328399877290094535983570618281704516191612594414987984352777307589713629341798743271272989474389894848729121812761761264904110642888728024646527785159259029871284189804719629412899911607907206711740623577050086917902189365707761616691615287589523624283975767778692114387554779909534003418738373884327038738139294484853929312422284889434956979610863345084026112194853526737752730097289252158668248562780526556898563404161713352456850145099434218033778038724749329307351998254575756100628499454549675396273653512596498972074975788640030768717617557881925452424169033600556615772034005736840086502270143840959584541545445363491039870567022272002469358898613534128992357765035906797186787402666538857513058942657129022510024111539403213886810054385675051806802331421248880898283145426338977777189406349875912236773645332766466493714733450615290116790186947425403340312961341688959599592908915311703754358291479658496
assert exponentiation(baseNumber=597, power=531) == 11024777406499400962868506008994403940623606115166730786392164202920048081455768817177547730613117811991344652004961428357760004114553879632867458512519114676171249749415712406219757667119694529219268922596019426979912317172547540096217000526717397706626130372646336983417373679503696083820608605853061660297486336262898233499597020000454540656244913676577731959071600355388435769559258985410443037902730511083946563134569734586500531259994455989974601809484355254611856001100982365930763175937116046421318036446795211245876022985336485428875602336408582979192491354735399158446630392804465836875635874582698722245604342210403520020383935900897953571354434802659255762923372257439753474053565366004072157422571525415221824341382430609507643024650027098547797003290633433048929794366027431906543604041486107151441037656537342143566000566747181471146780589828087305749921451263812780601722204792162032810914115175646213692434606370895795507905672289915400875806424723551861710225387975521836069777932379074753356975834448581541559596916710482604662573115304925293747958813164037768773409081382283327715822136986503750738349973969517345784674169677607315608168349370356393699009544342553820736389674458041759891150644297774122351315023539807889924048203897199871389432913034847136678755106241274410650229240808190398884075631452245303981368098780227234739503843989205166846451230994367172104133869059632838829580480599552108541757776320222364736171682021222044121427160122017453
def test_exponentiation_29(self):
assert exponentiation(baseNumber=989, power=517) == 3284602020811752956304284376661465965351874351103366658915900581382303678380582944403233171832971317783681689871274112811010116610841087997555220535119289398337587410646131529373556617835321558394131691735332716969463242522659146213883587540697108308333834550815714331323771920017829717844446951980959279433699821583982654008355944562221986347889838452465032085133201479877887756164626229308298076808380777465370411161780539650498764304694415186904905857199463412656851661394324319737051685594166560811561823102877461472314233321721501964341931838475312080207029482158289915139044272163362752074032804596583069970285443562080766519404750838229311785534167195664128564121267130001452904393302517365408815772032679505295447985943970403708202863845840419210461447990662233523132827848910287526005322683828128398936859291364359067596728514714538485982613058837761920781964992787836833894691968283792815197976239257559466990269903924623648729051603114076015907692314165527366604565754969193723027990144778403437447388443638821799424580628074548041105649008703866150808333408488142389497222359757981003146338615881495427410382543180390356294755612250262348509635911040589880484018557325318527503457096136515560833736520527283561421904233621626561667890249599382054690895644520834411929350293895307641049161970126884729658587616935950370210694572430515975614308341673312553360715936022877784239101538727498185495582677528873068880176193031082791023059409080845923901500446971671773180319350533923413467613757945286266233483238073292598057443562097332613229
assert exponentiation(baseNumber=-997, power=257) == -462014585424062933823688287933399658757628877854129917563554992080771117961531199190376428446189193203581407668423720506636648211920755835659451877870465529841202850787753148116482263698417717090725914647963179670885015461432241444322900442860978896980586044477445573007311145149686020546124408552723836735205516349474256961491371950853893738511232105390547442916310810642727632686461980440880377934260463468432615003867569110630224176004241596953040052454195656056830549337470067625978482651748494126944311570732972861773867111264953040322926518740922520226947050343259614038085863774081052217745572940400343155536151278104493015132446900949621797186573735987094105662515079744021012380655442374247331154194587410131648872515221961628377284203017329768592199581958590437
def test_exponentiation_30(self):
assert exponentiation(baseNumber=618, power=823) == 96275326049673130615975405812695615939440296042926572428677218858192298570634859258283507933991283670319321201360798048708249553454369136681108750049644582286820062383613380691891597838192288911288497381426443635390237277940534055745559995801281685098468022096605992687262100944922792411843873022806217913532195196145654339329105317907210976987682158825314208676541996364358983869344136097832078482838294428912889955002532204774654285995660174057859934242753350159334272614885238983397357060876382408291899897722915091758627592841708403111981389851750154697368512468166304770835031811595810670632213580231984760653165800885712299124204694763946445670216258299784224404208612459829528631282473930515657283825892991711936751067105652857997941650811017623403101631233520725027684058635173207893031539661560234085588181208755244130703891362014212908667843643138936422290372942924913046596618521623256466297415004964364132937761676466786680508937281085323197072500419155490028195623177802948121705501229543949981812168372791381083316074327513240328471473387387105535618011985886650060207782691448775125816598114540066024284533532349399953757505182435212728580385736736156252033719680437734124521455515846914574684118633665987181187237008862329179649247564709432993004027486680148258092807726508363431888412986987092758363136750246956084064477364411486618882099012609828566363531531898522700891035692329186260571639110051129635615761578186264848751160611498517698944053131241643719919859045557815795785818102211987559967275688808558789730433504830171581837758915857926459457071560222319284053051670993654259877298853349333882301510415675318310506913913205182117606186848680665185154619316470706058175298964738903915513136061440760870760841084165859839844485579144912092359696129899081268553156634303781982494033873797817008899721565851681374926919450897559654704269364519225630602776929293117224152094619763711438752621448002038404702501572156743181816906538612349227184035327691303658395754223583695480460455993575885422145329409369171578144303222429352156081952880740390731760353288721841916606829253251976041663171940779101742216957249142446673242977553508512596669867952138662940722337604749285585396202514998088098801710434947286860211568700093934666395180372227418187129836772311112817284095148032
assert exponentiation(baseNumber=-667, power=228) == 79559149714928638662021287093671533508903620065777433545464204725304577268981365300280556246243659894171260801907355157487467211383715290691398517661292008272325043792041647925891861617796993484500918298539704718345764401495066831865497555373886470438128955573760438551673445553821137387326037222912086550626023513500889026980576364908874950348435071260598773287913249555027353689099856241903147350778267955079078823648726072591987522998824930535666821628190850628608566821765093879216525139348611837409370505562576756032365700574859079969317476138899900262717732399134821557219292276230855304781682766302828607651850506581021535750927602262641
def test_exponentiation_31(self):
assert exponentiation(baseNumber=342, power=336) == 270876690599541496265062802543823126547072455341512639091588697483289886658122576049715594461732738219921442815670684111749871857067613630775426061264522904648408478562069510666817086541746322077595124676222984988749875189998610492954419028851549853477169954616079094983683930311968493947113905864504147178210524933072024220626991953554879915496497429119502382638084151203602627684464220209200395502072528466301022606042229227128697138412032469461547791989274686405190232533242770036536283632659498010380296839027333635612969863594223230827445398873713340201274423776633801412538473283998585746009478808252362881746644733695020368983900834197252681046400182602928712367714707488385067143785754113710074578704895603467223140843406677003865713188285322204696987244910890007644462714626923313217878118862002203239475142688817190270521330588312447857197056
assert exponentiation(baseNumber=287, power=58) == 36070321276276417318488441198611070256923388842318481460527116200315745855282841071835229437140665752021561242522996735438004541031144042779329
def test_exponentiation_32(self):
assert exponentiation(baseNumber=828, power=301) == 212388683164629365875709022092178638211791006739507105933083935714919545657839375720426850280814120128464468971909366747215743407439821246640931325449938377212731136428862162221721257095266415477948685561486204648989855725856557525773601813837763261324093690541096703136228354783454406191423628273955160848713597537560742558808084725909407306527151676687820512647108049065094567013538677392605511541046524206453213035829154184739329071219138454457704539494280183161554494581937659232229344548338259588362857459259420834703990995805033062373197632997236894275004832612507401209897098781860531024196641893260143714865852572337456149206210803818720295362197808499545275467358104396186252765700211642366690010717695372223297176378429564320153837317965503160122928244145743382496225658102041168695698787780584240889642299844377518128795490454663433220865631473742100647801974924771328
assert exponentiation(baseNumber=-632, power=877) == -169386055089629722921317435718876968634973068564109451279669756183001687234504877496816147961871156192686864246698308414191090435413429378832060317819408495218047410673624623168484216070507907570935540018958632522342094590990298137639211165978176415096959927250486122085265949224588569152211902444441252925541516538029789838934578829719585754247670150581672824321640254784089141475628815566767682116859265412077880622429672161528124042505895627405153702317892496589711589068359244590249523464294669859835441815520473481362688921661183463713177009760831907567588034890595989594249325425449728938670529894465906393053433772679763898630038290488550168489028001400309767630193158673025225654567056973967755196086622991646928384969728318971182829630896207317456951823836428659376117723259246650606709764255539915260943699359970958873132445433750776394297255806828462857880870451896040175766398152253396489606983917454197337792406315631261193458231727693808129660962371653551906938271370973310468379553708198279694830422344057335150067990139838651872810898900828159683296841521099180170079877261652024411741988188784850869467733055831252847040760772540821318980805210226394194192048056351421471488091120195682569735424585646124253926761939648121603611876225393714048535400417528745677812039232585186474902164310224775580287845162107118468831588289687871343976263053892126704654754977388922714515164590126272581511607822411911002697446331816603026309539304536414961468076695551996399474068385029607102429078515941361202811126969717081201442508247962684477831636634435332367539419055067787326813291450908024273128477767523847648317663171543955881854869273548392755765822860638415801438707547474650324490744965564925557078008412063433860510667463336240991590061479543893548763436161632131137286873815216693616999909436626232068802704166494714048769569774743091253102372023792565046075218144840176383164389374789129448226824229979048587365193234968696254515719089018202237610867278105575528352542843437873263157116165211796204961997838167331115508841085025708738761330887915263955882366317775854166500979073137115793142615625813142679620629155627198606186159158811856208576160717345296544557155669931467458183576794475598602945945301827374546997937164288525070539093428862064961432040923699803641893895550739423477389515138198382652341036265422538303941931361143868408230945370419127979281541129932526527603334806204100812395182669119335127066467331680662874155384832
def test_exponentiation_33(self):
assert exponentiation(baseNumber=962, power=11) == 653018962236218791680661006911488
assert exponentiation(baseNumber=-952, power=630) == 34775828243081607223314047752725951164335775231912970035185599074273670242694597490786015690810704840301108078536544356911756889054134258476063270373496238880246637171410178131529177010969343830151354888189214857738372949781993480420626594614987255600474798724442746757944561580167921479268050678987078473161170422056503659281478000890184183077932089783256739640010712329555637098342390689561440591111520976444231744255616400299071268442477846450156097102466702274145982522963000383722979686005194607983931908142077501782675206649675192219731816930770557673120411686951923228970756789565170280518729222368632041136733019438583267901863902064307416091964576755271348744271582907071201130471428147976032819240938947074948359400987551581779186245875059815511666249229061141691839171142620098628432475127755018485101375542404383846148549667520702075181327020425877260940770655391520803781881784070545725855947766862906599680274516950853526007750917202542256518368571176639551766075017187336667776020350529177350573786358114952614614946594792742502446802391782110340792545431407087355174616176633001706232442330672718082399408917488215440200550904052115976879595313868187204738346193174171579035945037472079501731846469552197371657995135445390697783102411414057649575560895682208816893822086863355399589870785012813333522428877248424019156244909787346564192817546937297065356842858170394070930417489347651159641125341347723613217553240770867998837555616963488565509067136738725466574259812271134885790392681710391996104199297534064602788994994726991832314136557688241396151404958451270722099698665169184411308118071189485792234830185767339960666141515572995440771916757934295676271145589390011503103656896868989102679855390022660025575030790060616465492646043047531955230046920766545057895214673936836185534287076530244971608999870655254424713994850533092359744214507289477931597824
def test_exponentiation_34(self):
assert exponentiation(baseNumber=335, power=521) == 35346341264307600780287983159630197326291192959837960173014846712653586506991085693304655938701087021252219292060216214490139298512633507843250647620999585480424838738488264828567844938086890595935957891630113443910789817143045970511634997188728249618856054645932582832740235896267380586175095867812957547668015192097532761996215684221119009201947804352949530668137422104514226219153246699571215999296173576295194618692351273467470190077894476348282965868172126725267783302729594774728430049789680328091664477315451353271035644153364549584099810431885114848518429851784428615252599044051289262271491926610455333535378021804733889048843042401175281940033162952509267053404592029212550728549277544697537722208497230873820754088454587057507998108545643933816513235488701390500547284552471784930543874513086087043384278508400440180220767893494364689169056054782789107243257592520900156534028153030448904182832845936638630552681755613611095619366265520453747077561582782383692160906996646550405445194718097582483518526555413507550075673161600505113411088270431006822564989226532924583045478325024982670288726857549883239884352223594893218262765531331447568794889406542837318494324348963402559614724539321871772648395073360480947518934603191897030531487304790596119225133436682144937035499054900355986319482326507568359375
assert exponentiation(baseNumber=377, power=333) == 834967590461088746983613320697571099936695366081270054766894895561090776908701871808222929630945277292812639655393697988086010912959831805175350641330493578622101131233786511599353806015836558489210423417570837211810328957165230107240260590920594170463105672325815682295855850604256454586272039334773405917070705067960519746347545931594393981738832824643108016788312999497945737998085526002292051127830006403118456351997538764733517932389087579277592942090011104297182218260059001336501858811879013252542085080550873658525634679673033024886101753336967629098092555536705518677506347733028122203338726693730431266959299270547043745272345227179054180906720194291367115696357300907273849582554218343752328028226055914447222439216624649618282599196234296455931386615599225174019870216388726822601285711308366913316679635350081299136987472922638791548903005784217
def test_exponentiation_35(self):
assert exponentiation(baseNumber=-33, power=506) == 2333745955003589564225720481697610099619543262699696784440051168682155142024262521385305344305318704160407504683032016874220725921732542329638407762547797392665460454715331222838235278365407058153661793172938075650803064669501190705483919115923311382382600203552651032276806158129386945478058829957525248383445920523441156872417088803694068911133225885754317062742511814702029819741688344655978485973904639614591506682004975859716214401904469515917849701573947948334942406114179335516355944762857464491826132254311912798605405372539639444346994824735055631559407765202522353642181660038454368843188979665915266767444662901620218607848083039617091543208684457471856314767833092689277352176401814422157578262541659557894826131600104388349003528337709412190829174846427969
assert exponentiation(baseNumber=380, power=400) == 819291872708683428321257283833789514742343391927810628720452219863656092884236954130126825166129540192599829401855447559739643046667341950124607794474853466218024040146647242651676376463367737483173232054022670795173244212050005310204961585937192392554906526630293032858389570974927534180469556068260604210005589681746177995906782498390756207280708228992555505587579962960591548157720631370302530178380987617683724996041524934580775381605999912052665219730659974790040399271516406223083508425355894227623898499447278315094646914614518531385580853229556371553166858297886261460301080821144264649663903029078587986969973830515960053760000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
def test_exponentiation_36(self):
assert exponentiation(baseNumber=-837, power=904) == 139256035141907119593711116759881627176378762347780311164090409567589493997222732236943306236887508580443790540553993411176751718332356203225491662245415275239901742210978666793527155060434428452118960916943079030666745926580003027838413262252282536567625811503670948406958202425092825423242564118876497464762884477058857881949703773816261574456156760484839766757710762436393677298680561725781268566957683250395724531766890221194945555612841735310848836957820920064759445941914272433795973014398128513768991669008806843942215888411792186858749443531440769650515796331635435126894533243340310202707882453100836859878746276511990900982275224778200115752392594121186596132111759668792621283681854632748558429833129822538993073536230918221021063351175628062539007972557711755438506063754129851159432066733487200891532517123086327181964191329700277599161187923840921722305440215027417262435949414648244759789046712219514019578726097478927728692548588562143743107483544697029924095677119537296957478163447480655046850677383220062018447051362699890330385921802467897614645011687287016924820685909927944617160047399656784952115855920204468191942843319570215122983036473181767106400527465037168793619563142257857921821275966858444011929609559333286373279503768239298458199800222820551054717683897153089197294961549686945364822182630563732065709753875184504631770528130076716494565468207200713198837672369995731326692484323658591292675183625925739702650624770630773455629357322671183028698788436437141328459049957847305484321142007646117641207644118821268790903391111122633278250069334694203590012988611945975247118181460407241872340516976739971769946240114845472071101832591275617759499549535232417772917424359062293501167564703382307129868043757876904455264317508604661323844799673736638925510672726334061364090986998174415808029850009897802787008424837158963623242746976722112599423463417419987565595291418638442866441682562370215720437660665153856808947704819333665884331638371587516454257023184024420791686649278196811733732412721464884106068308915060977917492133810783953522543711623509431867181033426061989184020843622109112267367305160631755608110938907159145663505720191562828133323182686893224662335335777092670589338977780679957939539375431730218286541705601773686504990838655808370720595204420510642785602579941917516758142635905019665177389168023162767915675678880268338757560192430244536620572714339319149207862717272029163709759233508071413714787123386784395416475812184850896537270174525353028648624723628419660524045807160874415569717159719011052582426077423689736447055043527372881909648364860489720067783011347763727419685327751649761
assert exponentiation(baseNumber=706, power=41) == 632401284131495255118418768069134686543560661205425335153005247170269128322783983682121853609828675530881358056390656
def test_exponentiation_37(self):
assert exponentiation(baseNumber=-362, power=701) == -451552180464752677968687500520327742632167224871193280492641246071825579769173902095841109810697183437469213389784008194397732951131725562862303369832873581486514330942394744960051787619481858839966895146790383792802824188643636458601006866454450468869692236510732074342122508961863145060953675249519411475797554359460459294072653014378529993370534699772268607277264512977790871919950579855608315602168834013195442890807091557356939557564072369228218768962135592950025852034744407531327157618772607094715517016764374039154327712576653075168888012102845859670630811653949276993279222010878818690202140758360473671562594218344010935388164071786283831281532112584699154143562627944487102060260033848047856067204285751613944616826785283686970274006586998965306934182295179509433531250076831304411581769150814521715458940171289362610369353914934241155382793910839037248243191196673849893636939638508734164847282394074257740924015039078642297422596545799245429169299009431394674373004369935039153925163878234385793943775808453782842876422337810101246216955404511975958706952844761413362874589554064979714862438441541982038031804370272390962085083062547176710692342855918578127762786701971638574737812611303073502105204931364155211884359544212839263334676646102236807614997203407713614109724457732736622724247384620052739025291042002074875652887311223894636431742840650811087028302431401281009676658737216773986556958414615856424907297506036426983845686314006023117875381653399604968763034404862027109697272997398602994373976740154712714310861915025418365524795074128765091659920995237037334592114760672720259362569452735715928080594164820381990683923163721976950183517073564053569723821461635392656101382817189885784155800434088125379800722204152225625445184119678685881186585571403057276628198490112
assert exponentiation(baseNumber=-882, power=786) == 137501651247919606539879386690550566492443880688698203080264838041913069252705549678660563338027754768619276066989859894299661448092403356389393501247986446476701840016697640269055379020957863937111114069129192017218776673743738668721935910551698244766292243334901819252323661610163950729118832292609317191240806582739652596507717059308513640277336180421562009414172713271793505381633651567193053256891337669712507103126494702894276371820266786879716805720835266607596167291394204004104743470454442589117401398913250460146799601932189690457831266060272572046858554814034766352334705443355026185634344635169240359664195718690763709565897760027997069222973247214518438348004113918680688109054806105498825458419399162962234498399419911952304216171308170752765283811976196369005764824425277035503493829996432902583437290608949654879993639404096525656105554148307308835069245197648887626649113573773540761912809926812027404779411075245367461540654617470446147498099902157855815837777570001987190419718263958860190149763746732376233296244354543257618197753324412698031334008383485371856165139456356759912266765091127112651820326854365580527120277592961330625934129146968029194521144532201664769130753600564126797374288525532125733075843904826894702684781841258446771740307095583565265855980742474200792442314482855066733795424543147501536635399096550931142778672650589154988995955362238811536049093354304708369270553544327186265100176938036932375338518498573347207613417925353952788441893734670998360861302766723003844368822456644707347051434200098398904207272183153055688348706780284584780602093359460848211137724823809662023472814190234808230441530743249284811216012381690093317098680668606714268872003683413467035215933434374951454087120920714046086108076541080593697754914812781903648198605120968508147925724354803891039777224562993083924225691338863480215568939677861397213812059842720414207224549833825679198175872842805329553424873887828722447085558616846168197832113993080357166893186361694078007741255452996805808282671700406392512368492033723623429744634884041810740452416492017469339465350013290712958098720726936753840370119503138045966552409601479882261338819273533005316739268561269826408876206523262043157761223606232462094040962501158630207022673497939344490259289852308143866718409189737307780768044417024
def test_exponentiation_38(self):
assert exponentiation(baseNumber=-464, power=26) == 2135342256428732733885825701653054953014271211521019277833092292673536
assert exponentiation(baseNumber=-799, power=43) == -64492841276585426650666953695622875437920431667967901408119440650215516022645070487072902754853843098632440788994222014114399
def test_exponentiation_39(self):
assert exponentiation(baseNumber=1, power=653) == 1
assert exponentiation(baseNumber=-28, power=153) == -260123024721362537786721509237238163107797773745152215162383907875782771467000529963837577286848770295376050999263776659260938335287644157509770113669735646569713191179551895215718720381684024289545597112147880821861122048
def test_exponentiation_40(self):
assert exponentiation(baseNumber=-964, power=611) == -186667071701123736289610191157076835968499819648281998557586452706780665161786223062588575417302632560412492877804413020643627584809721000121455648580206212582747070941502191956578143757679730046190780506192539561033475870618318921238824611737107104039106263578478733344406264183857396082696041674552593213966628619535822067662257684114875331677821557438596953916906206696849096139195726484849348807628311189812431407970367439091414388747010577897011817937490534619873899278827131205417756267127480544728152062336948929235191681148579650791258002503301906192261768899819921102758705581761159972270382650107158496249985732842423021478108398617748639222783958419660363673942193405814783571804467573968829650556857470645917731452937405063775084437956557267376497396521829596576064321858851660080888840032684736294881686983693297074358983203659963461317249348002251098959699128108407572511089881040850482406055954256923885886884371435048610856793898047012497769937606126823648277770763744116539351562676854826992604772512179063398593167627030921057463130933402595208653107820847339903280621568445778140064048802126292204154589677534104019309503355039314349549905059346143956567837887354627948218933397344110623724433478119898935126271439646280874060662129323218051021114557243569423079304855199438738583750721458002011216846321509720833072522110108274834879252879538594935289381234103818725882199706363669861592548497730078913301537752728356386455051771218042316057083817838781464293003784658288576436672642006640757351900385584953222078031197000518181991145301334944190665207815809931755387669351492703075529511996506062833891946479295560544526194928894724069486793209667985975841109744621720183691059413476664714007214684648572983979685231297896210236786030537519495995283963713481828925221183972394260898168232133351507492864
assert exponentiation(baseNumber=-494, power=467) == -9342974152005568492085191565051798868585013124573891423157105775484907940101926453381157838535313699510746992814257970887626015977599844308807504412641992136133965446005279545819482206885064882744487635193479351518759240289639701499548198682690824099432108703349118880300867170412916080456791805805138279347744627028356288462265580297203769935396004265944617726773788777464128679550705189541667627916009690190243922079285303764394226200264108731652973620095978423739754169768904755505581808399154017156168871698862524142367218469076532457900863556734408245785068082306781593631893905184335152570743733566052742165692517604202875749072043912699622828569843521976493501363610414642558885116662149411808974740513119486555549828516719473939352305735102210278913604723936688359093393226204479600501005042410166522334454050253653222301554401283290879221996858255296773951056430878922044926229046355884287695512309541033461985510975836016342159137569783394799870709541142390753807708334258183389833130447178545119249749802003115289485660296030120246766469289259050343418359174979809893785149934556302398849425761458018164547692239203419136507838428573203135468169278384476615269338559056157500911822146238218154478340470151240712669506638674061168471380303768715264
def test_exponentiation_41(self):
assert exponentiation(baseNumber=814, power=868) == 2642308025340895971987229481582710199035966515440348646248138361712879291624851181460641377825626291028802802496933573525305945509989869939281986244014332325192758820277992470642771013147111254995334925941011568701840424198974671972295304747285503821528754887783409658699720485226455411768500562821528345826529983404582611503375151874432649724889815358028565451364040289135853814449951391142636320944093664365017523988472693876746691155703402157418660359508693804000336220901914100066000533221758258226187270388212043476649814230299182184157378124754798530981384980090017725656738704606853592217469905870091954980423731226663231402627240194549150123953238066554134683265565175144091204341781444649579846797275693611176067468783355086714623139316037343989171839798025876560165436118350320644938302153690894050749288662246645157450770162228824339292372696602273821424398682507392190127798001538411963336979511331642237478974082560473659538527167263828007001807817235606738700769984205805561625414001830412680422642617681678308173855120140733438571743449759316101076659425985941022612634712726893137026505163266345679098212055307593162457962076304532496996121389506029972335284958783873552863985572034387547025799316296996482194150147286034674377185881041988448080448497738566003281317089370270800363291987500934924236956930024859050905910841432069859776960877730034368473221203062587153201751805319484699374335558970300813953768510288954858734533346924420266657646975739245842509915012740765827803449416418714019657319589333183384803588626657620820021944890169973574956649650174632152655298909351134871890457550309499081769177432199871002713777536358595419247477937594316600342513710457634540596165941201837832932113614759070104675485619415949970582107955265718719874763369912924294353875931998140878625456068303373455267165536184506834416714586772712600368277725462351373073790007308439271168221524041731521318007191760195593119528934477572013071279100414539739977342219359466037766555328713840862685547233148914368571252425651573133663657114144838017903597006512906667007063365149934970462244573563107932601127942441778347744060461268298043800581297026981618493690691019700154701847980963310191942849803063272084598784445289340316298802906236328831094931747590628100751884990150809262220008000193673491102433293565015453168883475383631577403809149406670231131299179131756891414168517169736325165016941230531425233919977391674781925065932085132829279514640899690697838742030701190963220961059921658159736217477054389824841056256
assert exponentiation(baseNumber=-359, power=119) == -11382545128088511029243506274223343400353027263094376954107770857715982020783960268506165755557060343726087290054925675184969816377793819421000167685880301205649267694992676147667329215059495551158833369822135812322786689186120498949230359245360739453769585828761495900460440528018001949115505967526025239
def test_exponentiation_42(self):
assert exponentiation(baseNumber=-933, power=902) == 681149840628499416230590956402050615031512186944202005775973013877421053636685868596491058845026267597436739199457458322742812754604432414569127571462226102461132526060699964596515513089283896621655502981309671138563740828835416559913620490151772160979523705167144640677931170765409419310453172052817581196675889416403388810041862472865697628731524776047423094348479525717949401611061638770158535524575704151895481259087656722968861175315078305865528705382866200900194823950431300644424695790164448890087592821516111743983099294456856871230031088342221123290788752052984197797958829797967778586913325624377358996346359463135472555328671053281988205833052159393860055534768341727163283598440129836584280372563779293944093414657967443044813300086739847514930013309738990457112639091491486831164307687452082507581576428315536608213051363235495725107800731735912078817487294285922699935801720366311749538628195920181926902522328504997922394959333894069654725426839706076513630853614738623469990714999749265506230251827786026794310965352074689499207134187114079789181805132244240132713946080665766753514583059403617858393079635078380319891455420709178324212365545686390001466514807461589551534499701036018414279567141956717113930888655608676763833332776704213513900257129846837733153935271827801179285246240599672901138172506448728956916475060761463921037574459808727978099299398484885922124105243949773230553928349821166231272426058298760672158314099652225782218637102274656067160386057420039158899248140553777302433971043329787350830233269435819206376088685108985118555270574360811136787062299973415430529720029466093378813082325676078399869552224368998355252023802195145840643217177848671766909805437702354954994038801941171501993633956663269106327530136628285730479421752760907470898149095010596064887692846681448818941946997095735551700128612433640374665645578998953083246997020720570508725234219412418849002496548546523970112002045764691804219080201150944221414223966938379725368059704074926422218659631986764269883844079665662475609303177065074838056668748524461641548568196136360851034468760868434360500701877242183505541769010689193707928577601496057380574961032277651731357474802770054151455071264059115356994906391921854625061249165244096292014201952465288434836066565789557998514226566077509122212484096636641143300566410615206130426477342479079256006416779734650740064356366951666916900579809451898094858923537149965470624973239511994555295733178215290687976445910245172716856116046305248690518136522536603487650174148053772268228516552938271830834086257372581214882325846419851021173888764526239137464459252008952706658808146211349328627975495292949437431897540972268489
assert exponentiation(baseNumber=-765, power=497) == -151263195685785548946812710013471343774917915492243816490818814997428634727581228017139701955280960928140962762399682465449629244952204470562609428785565678888315322659569928188271406832082718440162801175588649053571670137685538704119723492467177931536115181779416612270299012649225408258942424521086145990446196580224032289764443613840862281231820863993244634584913705333084954463296612397956159135804059958404390220681521742389303850257008518078243040671991415019985575091755031694315082807361484187799511156009975120121469440399391409844848620625580617472673021754041260155064930533685507536415922382686652369579999254086267389400187836033836977421844813582734333883251919057587775809766643847340362927319112745221928140858653805123916610909035035510582107918502309356827362663032660089706615476376111564302227666954993756072936210198607525626927965001410051703889265978086783009902238060987073749821832106462525149321198431930178173103324212195506217536773676751297271299527348135008261909365687100113457888317233864009932631583806304134021896460793471322944589820323093870486194959120992013181089138603064512455684108191236440336678085455873510094663261485237897599973778455917826208824800145307048865630684134914757013036719472557351135263363161107800496717681531454696938210554454132271173108565673033948826086085462448081943035527905541817677408691004196374478535249857529777603689963468014401115624423255212604999542236328125
def test_exponentiation_43(self):
assert exponentiation(baseNumber=-417, power=768) == 183861254851003036551949093129363356150566754103895716592245933612814147833284713182546116351032333405138180553550422912631563841275379443597177843439621167677657879498695025247978485541728092834247045092208293508045385342056191429413008811439823803633038998826631438597312824136341804030969071869536533897915156581337708022303444129519015164099587375767618423240657867556647129845804366724904450255830595792532627030305618830995639182136021160974079404544630088996066207117601647654252105925832406044317553601917751334897419420762280012790493924697449066932560807992025553975998228871714764455418855217295518068897652619232269719955970547688196758089227168567770855709448049944448248553190361220116843696234510296335397789011840169928069688026436179974833025474367648376707723486538311728227065687409620695233730839185992813110475723468832571034507542848473841589834015521922786481233456956970823576473493008468444543904299818164818005446403373239134044042943265796604268694605525455319448790502119919096134228769457630112221772371995310496981922423402151538405223056260065269369541985217819321442336982702440457421549747971026742204554973428892926774728425101479896297506141667985733010459684451291598892045452936247962832228276132223801589269194002188904748207234283531892601113735557570759820457980687567021441891601298377430648928136429936247557280178190329555418854187347870825855481075333387133690471950959612748169541307124711763320099041169519863855519683768960403908924889897193592764848843456319704011274732772075966492588386265788517363971569556515466836262237214560970763782693640753068552768191776560245574319273564520482641836196070309103817759574842280377258578646729100404609078777207246529648283156886119417756077505572791246620948477427162203643808774003145365296966600539784326264762764146864090579823197142418435608510929612162322144446357767453423003847630850392412969438783555832746744405648422585513017025501953689614721549539709105642595431069886673055711341068693055853847110001196195841
assert exponentiation(baseNumber=813, power=712) == 96486924366034146456403994870130160341296448340167405847424571568410167755918363201881803590090355380247774871361365019929804560408437970571908034664652990904900373484577217044393209042698086241415064470040814128417263968339746226561936003276849387577881951579002495746577711440446933991236822087677500670332063762928240674932824562081533455175317046311955931336180018270038625948068484231556914378990811383418778017622046982173139622407645528272913046700595229125917918820081119653813893453882444164074124488882698638930077647170172546543318551517873828462917106419530643176611710378873302353586379257023874972632072716538427488189688175649567328979025388014784024538903615316673946415637652891917313309988811370858450463669946922495126487304504250287073371988507213372238515893288820394695951494294190614338710624476618135769046321180556723310280054520221041189952246248147072813076901546620546386051550025112103794106659949940088970620560246066252032402692663431413899315692132470439851960775385020872435658125885851302512840957816400929138658850745604679289623863280525429575344336472848999031843911605813351555818763192342707081051247225697269132645921127712519435367160530462689713493654414657342075808094283594057517017934819607724642232515385670366762809435150139196606755486469543274215351065601062886534821367932948668722502181162719130235201583506515718780979828645271608259288347650353191924507165428223233270850444006100306554637002009470286949288367984681497051222082317499887463659157947681702623378929462663347580189259536176974531645913075513077593700398370922856368893370086354414506649520146760304801133168303823201313376246542356694981674125510044428662028449682189197693565064481092229264018149770092350038402579490135606212093418461230151466470919833523100428316433929893342005214727930955562845314446155597298686330703295060499121930778538973908293879872213146627570014034729251998642105093173123581661658224481044705252398194243042867985031478092028133793818537592328805414871541158992395123488546546068927684301123292850819545452250821983628955681
def test_exponentiation_44(self):
assert exponentiation(baseNumber=312, power=668) == 12452851360747587086564848008088414122185659214405580141210553813941261318445995240085320066657939083313270862545030230769047445385262805901950194432418884350084924670990842123105663554128251183500199874133369338003681670402547890978352442421906135884638183230872529896899673375053924490128729803647110742808798334797994942853615051126971442417691876822173963309339602828734750792561082103639984332372731891045479306481075382882587162956286114039456414092854999561523600534131855670564553723695143464712721051446759273522342100301524015561775096954461895596941524295811852009527683048700023850860765766070322865391868281608366939873315020522807064016560061486122115652941077275518813610793877104687440186320615211196867470396879941397472296643593336920754988961270781543914219270461161402817865142851469670811017994511626214666515429996255528322978203237607389520392477776242599807457262519020358777675006103380951750393225070874077845734851634974185957078161673931380143734598154760349610882681013528783597129447855747637675869338345335352526868750346272517852826398806872342170075011845735316115103477039484914007029291459115201038081772241647161683217555698016292073035348442076642423719811823899894151071130700109716481609354246899010217402802654129243390002639884801217014609839519502853100700745144962221485925900183907986723358745895849846562182051751383158195932047022469929505899151945611817927710432928628170336593033981866441752219818931654773127383195485180837780233440318294075182980683945977230030738549134096081187096243993797186628349117193362845096524803715247728790297487867628257260189558449740716261682027950936139158495474109956708529248241975296
assert exponentiation(baseNumber=-889, power=919) == -10982932933639272551094665312667721278272461626807352881210332048435119873837196409884543172585945673154665498043797118764343994715219175490597105471717950299112119344085384998083209271206642660890813230190070452257904967714370624909769365660002880679544432810188887111275593813445312409266714530410852208877274985300434326543594207495993510721590045684886727372958909907876527107175201939776128571890440351422524083871811464073913786612541274296431808822383235467359529926986374561822025737490888950805023137995527623981441787421400821789896847964852510713840680718352856469781367751135024457338840246608750748515244817285725106568180015389294487777668874102403539051054742270679509043485751927366115010934210416242313602077448403596355558373405938485580215692702095808065832797840910832583511923920781594814493932173458286687965753378208109892368118099434987747520207176661873587686391877861800475479342461615410341934528345055262238944648758081836149022039324924243273170691221614433330214372145201091487066397780654876351596936913418219106793989051964407240189535309415274885972592725171457002602646564694125779326854949645351587495482238207842205091856950540008881108183547595791413792708631664199012163694978716097055656813259040755149783588382182503964353364905792163841581228554622828371744905225099500683717017340487212860752381173095179488113679774246145948305169543009260543491064696901184929951516184801762841885613531475210256650230934532557781053946004217465993720740313566244824333245096853564827089198912369756737252704854230984675488375709131729086485555177038149648915490203959580161218884042125243017169199544947569784081123901762150155522814707615639774656035069738537211976212120176234370719726510974345690540451559745068271426967269550154134606089572810982826806716038266079250515506033071407881077741807636421790036191035014584548113043711031228649518899152749518642280725888227288504100352682837289869902471381051171821335292255737412095402990283100587226295348120404922200842380569867555051043304491102220901408034161465302944578657228533729857659321408549953515004118747694852538075617748553783538314856216898805461474277445478213163433550450360423649963136117707051046692251565524165659478684346141109740535045870725008787643673753846539384870205049705705881057273303612351501728541127896304000534624035563100216365498482426534561265894154633626072424020619153500973674035734893067706840972777820644524993503364963576459764895545515494269928627865851564611446161660357374810725020248618792409725726989678554543262287701707656052706824495841169410181247564096337833269352459027610873198246792086334561913327797008110948007220899356971026469251290149724662638772453292421745168321004809
def test_exponentiation_45(self):
assert exponentiation(baseNumber=524, power=444) == 24159693524057271911227345036126303186271957190970235812210617952089850280214803205755428629229633071667512437345569929357913477669844637191254204461155144803052570201391476569546764872084662008837436889681856446387666494730175705165137317474895217272246401779960198025227906694342791117689360464693873065545054076302821018324399232916998624888827865357531769215644743335507726317664988634862500133522160397287829715319857303455059130721609844633310671110568899324200625657953617585964061474752157837882709864432244630356005536826384253332919136189659909890215803892551964405543699554274003396241165265674490308095313342299300793993517044052473076756989634510759463605302128300299768249553205787507447698987938156987710456246241053491815625807836963378340442250904956689444973640020544744254197081989790143662741441479569142014958660343957019998754444849734774559009448960145944780237627172727593930762282973019815433942837913536935457617383594425501914730105402416040277722464816128402433278285320844753395263427549348612176639225181251479691668890195126257357060364529892015504970960567898573445185861200617719381464955212709472194585079535583220676562897851355820453717946255861281282167250512243144523776
assert exponentiation(baseNumber=-955, power=423) == -3478773714696514916608700715026859549640624056543492158378205650761011220480914132360789975139057248181009695141650998357118556827421764966414433434471723983489022834955040630246943140941517531935492921975193607071616910888705256064525219574095119335286466683365415765091543403394054443171267512071127977559158025911904251390348325153398049757976112879217435285957042772628836600799278645541847804984661527291082568308801989081662368113844178229962587657974787333653136132065390194056268069245891157078334707201619667298774384837333360972238320066608756687911793317667424691400186310271421356433849558357610946628177491022266041016135078231295064380731478805375867473827748402889364413135219342096780583667671617389779106140538279971758788729661676002819483371372790097012487014679405248546900356334106723776923564194930028106133801758993793724463107986121271399940850465126081723526041441193097661179900841843371737021661071300398605765314453268979708139179997281913622579186464585654941726929540609614460451864047126546009686498732051672682749012730389259797219398278784954253641463226361243313487735172225747813372502284065844635144421925677076573222481918134663305840462952104608626992119842590711814688005728914729601519706392309672082774341106414794921875
def test_exponentiation_46(self):
assert exponentiation(baseNumber=948, power=763) == 2017257732855055624794055042856839700014012848089915415874883497128100791697407757144457475953506942650040775622850492308471438568154202340182140368781265236210358512538014182599226779225732944038883587981662090302355757138485738864949949948586146646225455043087637311393122186778994149677698437483509803987030836564328563303631300924585757214185002426044839310152516437620432237841328203391859851753254804470057866647646486431536992539092854782552779163335105848755395611537712736264961511876642936509188482560418449115486250655252384211076174195313859249096819379355964562670410233353241888281043829382962906921607625805889757522316614792390487310353774680343906531512833984682651906392864894806957409094509000469087339790997236241578670780678839393308736427516830440888367937287400061390517240886232463274275621030661702209818001585047666685014750754136374203584059641186268612628357914905438869042122198444405517722040210786938108394970703154224145560260144363988150768873885061046192282229223145485295956798919891103459331804394142269753213612172751094323397325666324932998760182137920927465211224252632738802016454784862927479835454740283253612950129246790358365952035349318659537561123604663967204897410958916974040159295885097715608828711686569009046765278609647330720516912704676415286997069549808872490964922497175768971605381601536818435119637933162714471316747195328096365837028333982158803551295588409035656839110846146655273308065803512900452023989019189086313426256871377280016194777175239320900625069036826425379123244824540304852241648146116903045338254665008372069793518071853083793622892416919889190305491251294170238249812967977529860378505492091943780254484480963062921040789750334238664536577556715516959369763595083663311698216121503455606525772777082051860834667890122997815238807300794813004406975223846157589914951472846583162207828425817186141976677119499273925395626969945532203548505803024751582016460809940931641884542112077969086747865988218179161000605606382195036439125041086192574148653497608497417478928721156580425770657284431170389422587470272734558269413193055469756362113626337405509221552142902447130574323329567055331227793059123456273752441276040722555573215786751681657544711318310064345591257785458326505104250162123580314222592
assert exponentiation(baseNumber=-532, power=165) == -596237556887436320230976727655192124114013405137885015594650933142563209831694612505876947365498326225601732488001822411286698296297731746361432001535207986733129761380359103657270545903552241268121385599064200546622753027968374457468717040224223427423021096503819780557983097672510269883629035923325444260671836277970157155507389202314417847822347865415925225204215989494230651698237464150077102467988902572994268595061629027062170468103063896850432
def test_exponentiation_47(self):
assert exponentiation(baseNumber=821, power=302) == 13540460982333446548218013753408918359564147026104905940467373251780391059018759218313588253785659484566665351635888844005708321303811530335552473257864052573916116064852957399278971323530978820990789123089505281222636046546749144262099230742335212630394998933102443499340910324195315803604803006745091978398527881498637159078441333765935087018824508488422843469672016532476501913383428542474326438780505671848705159830366629910074988518099246774780466923484322433792638086871669622155894896275524910186614822299158744887235979715521379584824538881098061257156587875509337734964321505761815656682697498059695558564192414150343524035347965486320625584148888394686981756684372241453291947004923139398069629766114216972374218259411973635650599856084838018508086510058292724171683978622707111807407479251124890445192858003548697605156000703987333537003321060388910604569674571726300041
assert exponentiation(baseNumber=-277, power=5) == -1630793025157
def test_exponentiation_48(self):
assert exponentiation(baseNumber=-694, power=741) == -280135151057570358590521388259112393638652685736722642899317738350318187324051916789886657147819653687157843464255881511944093749969904746575853025699293532687215308348320477506041376086515869421915557216630307678594938077057233958941857499898096496928491272621266758632957579550360896421304611503572633206159894395127725966371151165027852204926271233001375218939397259987844289767069897390836414111941340967179876438701807802306801551511219780319378900668285141363471792853900114699036576589823727821777465730298846957027956834235418290338438216131222948285017186369908205334223348877502359680618053511938066357741376472707015490848435364741063973155973683934360119429966308906562131808693173271487357778689362656193416397582464385037415136116885066793236671188780006018269456647097547062723523435741484708432561697298970716467073809037754320754313568068078298699769541206775802696271344964858324215354205544804057938369173938630047424306323946793369199066894929392175752900879593444492778970244333110360674519173429757342430574363341754250231305079612448242605050921850823035793036110081734876715846431423237112537675641510840171489851202199912878462947356984338400606286641557127256168796517817619901869510979051034943963956226548342951596598025859970322995955330724922798471393669626275060625789726534868593291931630925410561884415418993471141203110691282724475314583218107657686010050462516331527678077367657599606684695030454317791422710815771672531970236330378915127887865229332418196546932323672351878423552620469917394106154683483906272700540789009755851590377906794594958423503314229481820005573748721860301581354860625545895883583027883323300055980623118510766387899356059308872046259354661952505598528849478186255311041923008457698428254389888402718070983476215685070832130944776878504851798496152113004849349065644778753286823709141747423680543794043043961298815272262724711153619501098436931996359784658616081751573674992665596122392723158385966700949211011962941036607501562794241975303986244175041649827611355214156586881621430724026450156704734918725342951018011112981972846535508957855744
assert exponentiation(baseNumber=464, power=363) == 88313468390533718539470553912808996028148909751612978289053116902044707982219898812234661018411658076584284364476738627861283179262907178188078156705069819267398872358033706385546745816925429742278604926538212626398923724850378089453910811645196188785745803421020428204541898387470093729669087968192467840756506960175510935250627807735241750240547294745006151742009117378145198885462374460092970163991716073419261428696309602931168281685527003480637015991600920633096270434191476232457832027961813646993126166018392864200493559127218652351899616369429435268662264440875868938529266557844036477774680872128653420250436760892535698893276563543841590749152912005110800803919135074307751033297674060245453144496333935814281522045032854051661251908169464683724202640566194159792970387959444900431663781841998051738552844752212237182588886623822605446327354968007145339256929104095832797799960109554345637578197827198149533480357991438990697571386776410143233540677900959744
def test_exponentiation_49(self):
assert exponentiation(baseNumber=810, power=419) == 4520879278238875391657098297694243162481839731147251490330121865279770373096769270558617547787637885027623607731880643416635997258496850469237528988576202814837471909254846555265440513259015972011257912385560311599556906842291568137887935759971228309086688740388386648456861793406213633456149812150495695028642818606517739078702983068321193251580477412912244817234382584562639712114124475800764956663686739796131708422193236885699885029682532772838766317848155930683851469781178742814503673574022951992020809648319085598817371814324222797227608287190538761643295211396572406445360066366409810090070653178359988314135144949401372764136326739048840275456806495497637231468473894799340399098546057043365366440288385469562852652322972979673420393945765305079372071730805039584071059668816941072319677592100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
assert exponentiation(baseNumber=-211, power=270) == 3599672003856062878157593704170184206516586862472399925913984719668921957679112756362262182568762844663752075515465707957030584545457793941909730895713235586129527418333261696090619608114461105553001404011937023649278081479961153951871718272826994120592864207847395317870156422289630330465578410750389228289986985390825476917297701055860007775865818014857411488538446048905660777441053143294574124321590052500158355218004460760925939300111762682617843791792225993389148109358227838763894211658985155343579096920440198879038576817298289562449591890412539255883011993292715839190415981857439251854768799752202682841919246031938201
def test_exponentiation_50(self):
assert exponentiation(baseNumber=-939, power=743) == -4903826020212778511367843113641431326993980583132130973914857502777594117070798803100228837469340395249306984080072191634567226835704288391959188506735066895677403302102234707931337785189385433657116264813969689351445475513414170529086730001894136529869900483536620318541578957744137738638054981386106171021180939767193027145514173690614242895816347211867373464780337707392096133093527681380116077766676200650278125348104934950496773122021749836216170627495871088590998192755622166095771272949368372088168982453183782528251065840187021059049744314086193075842720599540595204745875468143997432980107609714038246922120554796695724396800952449163250911803081033158023819892997967263897484247153083316567516657563723357183952851340095887737562445500391899881807959703244353161742263402601989248327443208190357257180891589876768110367543807428549908897767420609937390904532255144261674348234225382243698290224865160760154577658344924306013183149463531164767602702636253089977073216716872229663657018830622872755363315017425132857920039952893503624021305440058260056981386274095344402291168171546927282140697630139354555192150794035851546850538185453199139538176219959884248993410707580057462797323174770390145294297007620518339718206317950954690708753295261599197853985136384265655166696193719940315799675992193028280672368314401687155524555953563072783758249360506759290617451484667734613761424674594656636061831801943870048561060013811551542432712995904456810008711731414849358204368263839539990832300402383382284012623567892083714517024172597081382704710602347647851651576227181572983402404552397743404631358493566776341318620404565938238030320462085771546378930928947757060233425906665292749254025700317765968431599409534277228646770964822953006559522181281078980804468765786433945801916694493353399964195953260547730084141600886180193002325975785883206050736423611772264684293641610026441068785023969755087400117621351780893616439445641684183691355567553205154174794541926227734168329291391893661653418760570498171923279993737768578273079316723171126573555360776488359572253237901076890169346962972606482832275972628889690751830124792598968840004625939008423248261297130779185134191998862766429396648323251619
assert exponentiation(baseNumber=-782, power=73) == -15999004972034647077304138276481728207018677733745239892573283246627600558660495277854506283141360779446158938394707380719403404738803312703795403573668098819880849559170837452891137876185896242740998901157855232
def test_exponentiation_51(self):
assert exponentiation(baseNumber=631, power=590) == 104069137210264908969250804246350986071410973370749946629128944280802049432403457441932743780223462813711308689034168203726812763381805171323159424298856381767104821215963591445053887417223834742681551819040582519317916548261322911731670850697240875557827693021485039445348469923151056967756902644303385248031620663458488195794865143383396252560336713512551831448546146233874707767308767601559522397994041791155869449978530653579346989260461481020531919115932947226630376296223161856111611890251287097039673855136315842595603139551808011675340939421080326643349104776451856016870822112957510599542904781012741863644902941692823472310516396687191088424823460201450779156402159957264029792153842280876658491210635262682510014777106557709736115355658866762080034949868219856816813360169118967389300560450322278324888341696369036052069519985321030202402748007661657653823177463704372746802255954115557396432461969091508196502263204669378469917567893063219357312619453992441811831509930884687552822331937377922487205557339310761685567370927918571964450003200614220256079360989864303262934399456586629636438202140861230201226896191983306442802640482498935949115586091079539778166366835137921172791081350293436502773085403645758759538121823705073460298354301268389360731777277475989844063950616613997246390791386736237109546226401376087562462333297193153488781397340168136750060725645011283136443492451553725830598440338193554547224486672758143198465620953021855943581658551754304845959834211122922183983616833284772581452594631199338086852943864211195497907039472320920633818585781872080148492043958796814160403359134807824630510390449818512571848954521841201
assert exponentiation(baseNumber=-667, power=643) == -8182974698267676254882675135425123067768509496126625363125912745044846085065224414877267969453772382399043821264750122970955828136322604259488769366808890375779463805512014306832690624831833708027756360858862700015294854599371483523846215002284007636466947371523358013845882140392165877571802749414504499850213205644327567530126435781848690218464821608792651269067498906941146810710491454289109345344821236132505930991315759664533258817998334930986870465492014843386550851595756723618643060027176341548824534070245134538457650005311434626135643028645805000506086285678607073252839313396347362756553412490682184461101904468504543995747623779263529502180140096722225176812042498922642607443557670223080235359660900314863683838402694811418202854845874370251253253852863412544375759392366115704355126669083911872178738636235787180290103788837489449071138648365719314726969016219747964581950428737973916769720702392525542936059584966624699387386208377297859745178227209589848416714757275772833544235232426568243716107061867143278127502877341779037406956725176516962267906584937448013759317957894110579382492155556740016159400965402053666216148767197994337630473789516412093046464071278498351926599724224091408311095836274643265683623602956133085177466544309291837130511397215978499925197997588790921367814483046510099508390166918993048601410995995084614354128882096884006067145076841748101195733820383701049643088341033612236737329709256023713344651389671798807694876705765299770668987118310889829061087781728247407340620947861811954159153340329854117587623384806872148834339247471886996139569652995727968153163381970087885818814254763608985317493166170177107151593438233447622140347465780662807928360689303488517504248136502591866611472482945260821298957122999688844503234209154746098540993491453670873581351421668350563
def test_exponentiation_52(self):
assert exponentiation(baseNumber=-263, power=263) == -2807772090559842916100080824613004627087784708214719019773643834217869068968820050188772028593997690455594031541298815346162403496941670040284247953190748206705914067119251589974128449472547096378208203772055002586945693137827940898493300529080345688037903935976867284367870671474239638448293361840290058697326472543376981284274773150439982830932018164916884041554872815899409885438605706944840276198738860811317174950393394272638808355660992655924347749471115572820980476312296567937698168697581271843341237074638245980578709478851758438152975940593696919347182969139800919758170808851468320868482634001140641174364908359164125600608247
assert exponentiation(baseNumber=826, power=657) == 285687401891268676775266138666449246412827350713138180653168641115219343060382630163786009494845150756987565776218862650027560728959228508901680483511669548913306447614500189294292170444206419339142190634387586836153082557895445776109614989134918407795643336060857233773265733087758783031184158187671138658816184242692427776734949805345477207041412127613253552627339521615212483610725406512640102509923345571844569930502670661315782281175030167045678184475505056544409583933318384144688612677302837164038617478523293599391952976976196857597089741958514223974818609870072135181948433998625591272539170476643648085679851328931520746160726146672887273337897698148674238752301313400059713582796274673175440536563797431565855074284228273906766570060806025423514799559447295248045592376728720613135251963691241882917672381346043466011770316921029959809498536595981747005861805407254988522545313897359559094905430477338189708087673969983899905242354077708955874735681241448129154806213441900414849973529485974944758875137126489263265481708130003228961484639923067385927258100235202836059050979004936402388980503330604301531314352542868831055723739398550730885215093128114969442054885398934402975491130725187005999719999234259775686595295604128791161008798727928816022499567783803826405239079644969842342558791451830612235362373715949586458637477791460049797458824986683073913184614302671643658332097418245055503576794806027432784067516808669850399616671490801202143982031239699332689559356880836608766599868875846870191421728524518728322533062827455118314098847243494483188074286416058395196464902374280056248455778817660411652023441904503568859799898011452660844433383162399020677853825713441167348953911522916687279088325185584629895533227773018337388056914294104817855519474994643083755841877951226801132588413654671964906008449173721630634299160467132733056467467153939041770681494985864495979668853140832584515270475776
def test_exponentiation_53(self):
assert exponentiation(baseNumber=-744, power=882) == 5337392628239694783872516716328586206462624198810356896203277919809179390330156069769132144109974573571649800817755193054498320119875652307185160972341909262437340338229915227154304237278551059832730260345849892886058470142118941729636264639336372266309762297040510662394653255660462421500180478427710268174501726285454216897239242368740373783835639608519621742316020572117886903514882148572935409523358527828732216075704026174657853767317865668423759623308463747249940680015464081664550994717233443750542426785808970946343306477291410165127958183880375075369407454201622569665434678103830302671386666461917630264924844911966509285355766783986436522627961756092403235013859782551155274267303912267028478749190939454568803210874188801365056576524479943243509552420087195428220812506097554298794384518963850275428684995594920588940421130355222428937936997092992360069366688694475740264252490832218390595130667735825501818655938282950741407965330540195429074312635172163796298299823082744162763774155011134326635522214237746942790220631822662780011419185822767091978718038122771477720541060191331518724412633096956285206590299181313039119984334521264056226128047535292249833692065576295127550429271758687685778822284714654706859873728742672929393098594893413855283852847587877814391753697892530296510214848853272909819192952531754650702071322900559264819655230554128420728611557683454718241699361835212973714123562311425260743953550344194408170671012916914457051402208370723777569057890249846774195516757280877096695743776753454744310474444229960567071261229447899194209703029490974867414453091427093146853159602306085236256847377793822940690090278525443759274278279450322556296797328876596072697295412325320931218499642106373038099007748169758587411352297957667874292894635874249412948231469858118460013094523308004383300278115203089345870325016873445601710800043957267598465449860316717861953004065388167878183231428884206061150140904370395324870422677985079867206918279199678932705181374773751528789876433876034278136330101633097404099016500853010248747523081141589594064075694144208071013348453322863526256691915689315580197336464062971090586448436477668543479031175083565572699754190715701747515752079321699843333137712297742286006633688423286199209682179943625300007176433388070151771470896284363937653834704742904595479928224404765366369653550452173174632590289346284967793575959387637992688627160689844271638912560778755852420845102397077298885404266401373842928407901007479577163632450630418080222421820486797793720223385255936
assert exponentiation(baseNumber=-532, power=281) == -9575659065052009013888921435408233725816237080635903025478496815130416722509513342906174715391630315002360779139339486865700060588422845015370746825342797554976097596182642093150070414751570984214317356138087048170360811518947126693861377145486878686004232470622580991792478957058628254450289300932679108568935382885332947862413224220491000002176304771157707373290838327731345603403177869197209260696546162631653168375604655737499981477070892099717080448378825225795652325871873025934611298969719273057815458439086991501346833393071625093043223789067362092783313703555333720471758811711119322124662828426123077879377757978659306540865082582729580505511147669375028467083918057374248033019946372702167612672170104691013411039967078141987010332618516245794323569836032
def test_exponentiation_54(self):
assert exponentiation(baseNumber=-64, power=936) == 38411003103764009424506042390374159121235539152106637918628053059793340871603435467037440081116226141832251959002771474584573127968745088301418605161472608133674571057682045127438604831961211480097293108672785354704592489616778164771460766428725261822797795972360970248893125563953483578384339985298739942934105740885368644243862197700388524539971269628208075873712836612684781014027343194125519384672453160477443710354577249735999281332347777923404607517938854662321957137385760853201687612026631807828758261559644374684903958507289040488061719990313460862864625435236921262641300208798687277179400378005818058450953265333696732743154477798888039197047968140552780660824911987593648960309522661654518737531882388165881573194954700467066185131295748505079697066156846735147773264325019540235111425811454317564784560412183226505285859146692241669225576343949573449515840293952177561773427967339430092839588675759547110827394854430649099210762989604539184784077047673179987210463826614584841839417762607451886987070755270507653217841057091409925290082518228338608190368408951517541240677300593565395842305973392221112082087108532075958696303712894673088250893586767201920026275908292621519710772380226135737733153188276353813381604329716268736623944374438259748771545113099812345913614203369836994327235830204893926095906298345087481672661659075164611057834627297138716222785359183904543464958099807174769716907870131735462418777251292080826045638513821083038408326598361423599469637379763003286388874979518837160869096968543584665120428211611926516932509280252726378418936330999093780602183462007424341298042883982544795507643814875257016697061852416723482978586753551290694258506366017601536
assert exponentiation(baseNumber=-855, power=716) == 193971598760925704896131009284863961326616910109366982386781358134900929400206868172500499237918515011393415688946533028526070891769022091448152250589505156770314057592876573096485992747492147607184856275600132362310418878670230942585841301885856793253199373300993357314694470311565911482839588103101163306994956652723306468444611056335033358151191602612796911750197172759187529115155288860984902173958893802232673712733943663355059262206344763165386840941430206704900760266304859196173031941565127446820162447289642415698169014788423426113330043024855350740536173952295423393107145310377155999954670996703851020050299552043995108442270026741799781950283424911206592706799329137101948001745863184141798449097627330696566895662470234860963832291921617178738506507591346852334286668588251264674010489499849400500846219857202320501155489580335942758667358053379260028196356253384456970202942840477453043135693402973040936791876216454245915975700867882895844260441832987003409271824985669928065805875314404261685594455934007324508797342852378553336946458888796107761837796086145482005684889049166798017280647283188929044046428083063774283947779806360052254115231867519421402574529981053700762288000884325636443847541688837832759352221577115246151100391395922598524698451042625104445252190917965636190433696866434624073681460591604110601909921057831694251934986333850508021870561991368521363858399511040433012605224919546063946851559256909758206713984851542642111619489012125061971473455056082587252951190136084908166822870183176478340218263555761780162531900879695208442893002495795331658369647955488717885179415955806878388292060364674631833010979456080363529264447246917525089180101514195360673819508144488384776990247485989147213453539312322395317382619380253213935774593279308553755913273297494835379632538366205415538250649366485721040701521876400389838411963410601797476260656329298042321614457625605081919475603744953060271846348345055487191466519541082462700670491174295557354872571493469399549477913203788043481406717810133017295380076133376332637084219802370288476822679513134062290191650390625
def test_exponentiation_55(self):
assert exponentiation(baseNumber=369, power=215) == 814083072108135433053554341064647164231526750407359315573776083937264238201646084842485217100856040286842409860259101684612927675019348901247444409849311099084115805848682381548728984781499927378270003388850621862843854694144944992301554602275721232110941230830093002255236652711777685752795207219282122476995102107973948617929725669259221227317666402705427914187630848042261242876479969560039157960535769010744803566778380207765607378791803356564480080702135176992311044533085438845026918137407242489428868170017837982827028865268385829712730644460049
assert exponentiation(baseNumber=-775, power=442) == 117856219979427528686690599884896860027612644324694900269399189078458452129697124010444825403827465037983414337338966867964996779486770057871181798804947225262272650891342019563470084547078392891922723597209706145987113421545278622267804288069530157531430109842996496911013113330009565356194236885747350105780707177885734294901684574141264561981829800942755755030852462596620294889723648686800661982622110727773068737917457361492980850332055655882224680085350539748963182904065179489276050015160318011425534127983398473081324148122697318496063259934359053029887205354809944828012312852963919076220100869298747898900213247363799735414399441925054585430738418829379335679383555800444222498125448557092536194777980134623814510241492830397852796831967647904832317569720385753226202663431083588901129175473000641755233393073105755453025640338457127529631437668412249570689862853305542944823392361193152730244220618546369757796031490600699093743532851230100552708907713204784359722914137611328844302486552759174429966523395580510585066768031985141491015848004880006100498391046913823877207539159512288949227246095038582021563823464703757233503313683216535021856168483696383971073450536565337328838104493088535710808958392217744286156744576627743159580319343149312771856784820556640625
def test_exponentiation_56(self):
assert exponentiation(baseNumber=920, power=117) == 57966329267052507163620194160690785055804875895519360779749084034151579733616666141966139303571742389404684494343025656744361427221565928328870348846518494255167978794762379567256431191613530669006158746120793532567797951419645952000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
assert exponentiation(baseNumber=624, power=393) == 3217686624385031805096213962380017135496000890793915831263858584452043786732782084355536678123928266526550050361008041793908000999768273265690243305628355537064354703765156229989926672858433512675053629476234251759821213785053172698518996214773258238004152899163992047977783006286557192273386136509753130764857996088725105019691218736742583539419478301051171312345520915189098501091343386832880759812796389242315384953673902286411201424801328291638128950641547454720980151910702887435186634696945248785225160856711894062750018569506307476856465820094768525464969909184106519533549124094654873345095140576912753021867158001567810080681656189348490065040245798252205806587104344166796870323540740130074376969708182042844328109040592268107683348189492182740044494804529026505369377402163750966850771913324199276175812953163361984726087171654506565514705066115694750699201944106476760302229141679489089572715443976387927744995531076423705535388601792603704539152055536405506393542800460492983610732791128769691478691262090182563809595781571883710991300422888952630140222613347483011007348099168153370624
def test_exponentiation_57(self):
assert exponentiation(baseNumber=-239, power=638) == 261734399268164040590589197813654510952800562389278335412619475447465644227046202368940819505216017319402488093474531502291757083287673717198622404155737468945923125981465504199071335051840191822242675140983599564046487407475762379232569833181940891819660643380840352404637224548372465489814734908657302300148453894326160044188007153435799199940937622028696800547975678400976238663674219803856476306654808973245283596429833634027274359602000293308593954231321466505110440875097360338379088634644276596510395168103819845444609027742258355785350240383923639502110677067605296011004580944288788174084692949680605388240486516658805966595131945154885360437091120420694069036391859925164967727599469325399502216897337755821816879603857044073228571401632050918422416439195082236558034086131875045851845022799812979861542243912892975822877409883847459169984867510938550680579275748849934869792822092103856313663850977400340591222153884785797682813414903091147008121878547885278043849059887518534656876119478925214196974623155678748715104495897428587471988297822440047951793904007698995317630671299001514324434597770583154738394847795448199259650679495579115320155517560387155007271216508915288164871044601719548657823355824844572714507344526379040278988922182213741947001697119625423279986442316100187887325578607386716629128306624379815391454780077674380170596466365458463962058239643371835239912721425442771563820962432945474775004080966653880593627752087691432400978451277442489781460488949599400484027846817605697376275681
assert exponentiation(baseNumber=-632, power=543) == -615706172340360503298628436199043773152318925794332207199340550290720744860132116730520813411482744589716965390624381050069574767918051330506382202883339273032276764664559794598310330933465235045917898561746833996535242635824820240013827397548254992838462644810691291715555619891812405819804271399071541412426082645602456311570522412173223482721524020663880320459866514476596155283702317178153950649760014898192841786587035626252486742104710683440916618445559372515867184418728247363548037576008683034803507550506588773802269523109652409071629960979642215440255679924553713170230386687830331139503210108477963600172981377923113206945082523436717030289349449551950410955322146365209137153097604916387321418374251020209817191412240268752960557506441061868109603639942166601481141880061463499394860365106268311629517763392172148241838694146634520311609211106215659110591678205993194516958622888191208974981674901523575263923020185047014541291232068467422374575691314473130621652444329854862480024172138280627817737189441872289979936291765642670567477289230106278104653040682341371813459709145967005722197895618447635690619205434934584749367665978729900543545573210740665281899574140127516427017898446461616796616850364700294462433075233104284709873749474333242700875429960577098357769049338214781557172656833852012902953559609316156111419772290792792173489599271739274952238271014932248815438432422557102334151659025438331102306690868367292391996861527879016344744625924768751489561276535009507197470299842306492326077267968
def test_exponentiation_58(self):
assert exponentiation(baseNumber=111, power=236) == 496847368138639906402185336643791646267826624720819783072400331950078592256582233927413961625096954756830689046314420049236336015811623072562126357107635845197024183608129277234163910022385933323361281239206533010022653252052186820188471672078787537378891741521466230981649882387257594283483788119122105686984287368628116691876590092734576075989112325813905414172495743190930619285457193154283919118091253730424946735719991999047171693327292256374362016952419896783929776378788448961
assert exponentiation(baseNumber=219, power=203) == 12887103383353510061631987313781142115868002105522197399439675581084682669039928586047564678404070345567561065357840456090909720769573194420754362236503009478987252647047645928979737430742803586666723489484227928342852994564829725986327872579480204105832230014691975732277136338751179822477369411986819225738499249101670860224628898908292003501425443357634411942601336376642712365791748471384887262437241972697744829453856003936778673407231692785648520245130607828015735947459
def test_exponentiation_59(self):
assert exponentiation(baseNumber=-883, power=594) == 7955324971383381629427528907165193993947822016184782602266320906469422231057349137989879968520051339592263431732013884554285941641788623178649604713359906350230053256665214018153487080492122848366139453151055162489873134531582808764000892819534617559884638902618014082596514696713438495793945011930339317225168295636380290659106769795004071924172754999836156842221675818270955048906554403892170392548709195168398015958674218122941591524951250717942657355843286702644342157678105819169436840819412751668519587645535434108910422791565193458020733131911003667241613860345020761993820252581191847298783941602740665652813407198061369179464742096981674192394440299065499164460258125904472737072980359529975520324709198178124235108727698219608428049467227060325134926150578491652271060458820971906109017872613090545072463341746479948833941518744372813478184600715139683340132481321715548549869390266136255661030375106658057003887776366169633283230058854064244895916702658121825452830815537785794731801816615088570886052213016911910107159883397157650406918328847604266237211685635935045773521984358977311633389000685386876929694183792396260385922886491731481435502861792872842924030540385597601369521528811945513490843215417922964476352755677353199079163161157709341505779765727066755452514177385811415465553790739268610468590340714268986290161061464466274674063470150198393626019791495357753429822331511937145397283808766251215635193824599257325845702879638166654422734065417937997993125820086719779332968808326894687666352231619019597679676861834945567514824392320891356287367398963355228723741369253895083856491414376930371480086987155754959200355371035227491880490967320921676496037396700952238835214564327972683556087014892249639805972086157085690756329
assert exponentiation(baseNumber=283, power=481) == 2038334649987857650034097007068017350156634391237182527051693838810978054809785190904072201928883515819391335988524453220638523119724975813427135615909974356843136171882630009939064145634319022627389210401606915774354670292991824066010482087925726978202808209488914839942132951491803349759788801318451002654912231324323659902847753969983859800096722709139210597289415024433224987206275970209492644794825743075950118896439810848927088395907481938019636333708809599157915360796901543186571725424623333758080821700476655081061703314942373345188575113917564800659195250434059263201726397499118047409778230432787710267990103509314992742009301236656306474255178944366725437097388661340031787308361965646367048167139568884386802005970838379666966368472426956961294322723761762320644483097491384867797974227591274567725883301568681002452702531038517627084680801319718383394504378426456995802600270035767284782987386840735109910802589225664666984535420146750539638162899781328384571953838251536183447006792959158122400761729761337981148830632642202868209111444855970325832259119681479135311655735300294567594802075363334398031913853433673733727055653676198366719690662659449659950861091483
def test_exponentiation_60(self):
assert exponentiation(baseNumber=-999, power=895) == -408424665709298873379002545603632079569850007029536257276418718320387642931058461558478895440336520613460418024423178633536323747415783038222686464210456303499293570978900773513995387573687684014949681961179589088479034423901096365084920875637448935996004367784473110799383178137776872518302189904309551864947479770855087811269691617228185103959826585885129406517798488539024147194934490200315791967236840587852805718899390035206092712789838425268618910926260606191201818839742627319439526444899211920996466663668606856664390713716010462682803874422600110775450759750277337118060855180303430951458424972582334898074379477495191787931393329138164568863695086824880339966911387614792685705651658738566793738276170109102046478106091421149339198871001597538022781588416665750957815110772390956786733663727013810124532386760100945157289600365836128650798772025067494872048445751741428293037681576157078602740381627481828242256276654001446060560338502675489853673831930300498168639967221149095177631568892520944132384006039806344487585016191928007755943073267689550051194930772295272788874187132211720907880240517779489867358151446245542478667017960999912636209554834519828445729337176962402623288018414142112562133505428612815544391480829996029850145506636665523644067578077299522702578982935957657676340876209524217385011768273925020787841797892287808516085255453740506165191148601770059117459407824537843842489091624366821815673045490797400574715583057788823385105412657193369630057664652304317406355331086894673800273552351494377195656735274443808719089076462952813385552939966716104219037090228486232203920752572612467209748672430294049098537323153458749312897123313652109340861470901705571402673971223888742946674773471925573293522625289015560858013438735931976615598298413537907450206668965880947096251001016191925944877751624929215144400177257241023886568696270421394748468789465144938712473267072395304763105843218667485340788006784094827881358418768117352787075394286967653798391493951934675859153146900407924654253258191656858303305815283483907318809749508208590505852858943743170293884019564412407378342982603952501955481011941772241964145097170310064354421729240136016903458765054767187164465350462222731724938776939203120524433445278511616953503115284076229085338901917142778597215086242350796263183187936597406488343903421644759563637882302251273201713318070398475760123076015534753032979223412149675400070516162821066880404748978926731521776930581449219948712903079155881617518135457481412003013221131203279882434942435692269990603824536398480105077169347814439386094313680499718315552041166137380261842924714283247205731204936515257866080534420998378687574616740614935894999
assert exponentiation(baseNumber=335, power=387) == 155718540032792629487465966459811364932391880607092226838673622292721848445847583930441472295366576606095755288790258398229401994997105571320852285080469472334509107930033881860464098707141858180035311321772415731064267036248694566313631398894239175779469532986671041606560210787080285415846596940141362886739135554935185556545749837072586118597166451715310281065078749255420460375242654008960372394939064805419038029390812558919450833764608098906663345171405634877002523761192959605016955227768707529658568136838180407698198690987842895800240480739734943460339040951829154651515397002948310655747732586979610656801833133122060534878395739541362172072348856878038996188160417548906617269636367380570455139587569347798956123528459786208874061924594500019731269257756676297333948280901816514882415777719727150255269798175611135149059206020031325000035056276793516108186087266198571484185614913900565889703863511560562371851185171249811411108010528181466725072823464870452880859375
def test_exponentiation_61(self):
assert exponentiation(baseNumber=-412, power=768) == 17420552047889060806698422329139545144215308561088508819280654764114821960374465704999392190624942820207212637939639221440677539118916515006678345803617845489822027490007042173683431252372512414619918612819103874611059499936738318818845434633943166424106334731599697264919995738801230081966212082917248563274729855120667242677760149381756673137328431672881821682296701094505422572976173939053628955346912722973999075762582051456861257428675755631520686492949745088260757626951055025982135533939035100772711706263442162524630229697324465582992479216397875022223055388844622232788757965330254054013887067013547005717470233558764962367628392883405824703383423746290432278451606102220091567575417881623004215152606272295201858690774191522197164157300499971037314738866512632668434324885458580340509579072735060674436372424650980623761889044480415165521980952708557404583719585557440004978679162724011198636185066237609622555539810372789949877365256213373240646216553384402118211054299913910242240411783312413722116618572196386839291798770035538087418093111266126721629887816933909320077011850269129826472171444696519540410478025182666561317446226564471578845458656803075858020037613262631724311159293865829493870588761531413746526284324381041582179218236617758663875124602310229773734675980584376686058915179274323718284083586602027409861152408899984226420506026730564621436517783456202546848437572637984673863167246922710176633105741881455364205234692581763932052044731704450435002461862960803295428798309159228480267314321959309330640763515187825611272602573725167601897023502659847525894798118551433202665391324234487979415325325401239576469965375038791002293629876169136854065858041068087251761959769364936402038389747570130546993487764637854415735471595177577139957370301707429215920501980213860662536725544005965495132935361665255333377335932248055371687605559201955064663457227173562784009033539979487073640882074067224173080102604703048155217989315431428409160932141380175082263357134531768792509837213696
assert exponentiation(baseNumber=-501, power=832) == 184072080725118364185409567555689926927194397984288483877344843537424129005379854592546869693005563275605640838355495773391312998074856162872558395231375802302235379843638855574032098493671563413039106195218462389956332532121688975279382754057563822618989750015056976652213010814302793733721770094469676077987804083954562708113637178807503978677933854507182210880567053156494872025328469839883725662090572519434228133142966215452640925810808610377651234448602521336667421623501852826498789341748594398555182373898065801935027003667733950219104944193654632900318639640462787479148135227260608172784590086499398434999452293472330720035260810523290611021516501695460726229309200320665099042813066266640036731323744214606221439283725557237249087997432526667277767761705427677621382718075769565444009211828394515563690722777582685555970245324200103156845502992556277061297432143121672048009372124149463404931065837376670011259971156957710150141508880457047559002707954099649215877517630616469541451536424761289614940824963821026288983638093226157082307303519952697932830933606927703320746216257019590398414873747600960719930878519940983695671547125153076326266887207482690666480441970348002301152248294583661803234758235326264898423109395736909281158178362825555095967522867382521360949062611448232382796351457979687648005852414401146580268916689079693992285349977930739724649351463271054236656821667162938681427821735736174927182396858630525081465932929430387862791231656829859626519274961303069628608140364056193619099755550776789910870811421407792104895561285301603736480661504186715848644468628450752457767703923704468494600298915375474807178161941287237872419678595060717305623405614591994517138846447557682738202670424546502904414698782627895759003786075375397162403918096295429350675221233868006365040126218770993249803261897162294611679328248635804643245533395593909743424406176340832820048266885110320572013075402449485743790594536456965615533700741923645897290493254161477700488360246956161950773287307077969375347849463865634269749390501364233905563104158684250537672221236129567609779920881817838206813315753841539098847747154269042588576036961373892554011355093544555601795076542026261828342726767386760802547801500263648279990406424416001
def test_exponentiation_62(self):
assert exponentiation(baseNumber=117, power=951) == 69944653104289564916996039067151019374113013164795033545389533015607448839287031477368259447174545954371242607987907648170709251227368909626372934067615392501759587509095113541087512611413692296683894324990227055016430557181589340636164091888940996057689013137687353510926237916599789173999478003681635873810771769910991727117091997413013229615796891880382295849341205727976566286668726724160977979534228335982019508951277961728407010871841679881470683638242814909778128521439191388279043102483239942421430597573411626314086080891883214280998041896678059937142360716415390541778274881659796427949033760133267029288357251793992785917738927560977689960093741781387892710693315944582142814719581573113477411930098989852460548887501896196565327898288389704931833054273858693645660989361099930209183629134364060431882475497009446440799385544098907982164665038529548349420480768427763433178879869521799790163279431594328398258095666850055023429212742710329652445533626796987219394972632576218362786360399174336851822555977625633956487373565357088686205825598133603470335123464465184735822995723537773083744456176331893090967944775004313975729584176094363128381505329151850204068428497859678581664069785415626444258827232796015408799777052909653354126730726962661769199342726522262691975678761256232486701816638545364318646310836429712597471087169020195465756356049767009972994334308502879327794728900753603170335950154291284603190097246388540269222553009082358760417118278345176436722399867030480047971474009518880599208216925938956228332332400601425944481248472896366183450058390372533091856892896320847144206066253528199674407183481031262361853973373147262187003219616129646625814220615745095600045474529467251744152701591813833759671753969296088915821059116867048781626500077039111832398555746648937798827845746388494509303044296393222256150705234005890180427415298933189194782372911566105862364697447180124410894664016450987228153641653020414223771086160600119369019133
assert exponentiation(baseNumber=315, power=680) == 7098663291650874813925368114236367387142758341019962019622413947150830872075478804845890414966745363509961924145533483142793297952696414715598599158295424258565974521295875858914994383154466952349670898092236123332583683068017971883082048701603981201400118430973260885359108460952460935301076844233582705488889793957274699911232041866409704014922395644242872493534631861300366590628358888064088630585120586034813754952523787609756608859651401172408322732277885199642150856484548933128276476226845926182319802226202439306683524182521742088313290895227382983206233184830291839650918347172994435328275014493053842609964258998835377639701662927085460446149542575801091634922213554272930201076107736646177004164670695277149742228907936852236137790940803743984028974933512629979327273304046638739518728587368399654805705636327795526929293188123747746953710120578569492444801133594210859706385560296715833880455680236878159382494724623979112245779004911742511925712016834739450177980177008615612111279650750616695689780287144120179659440376010397611616238432743913276308811457793422261675864546253708363367512066584292567858332957196227313261582942050715896623197972628688973455140839608282778811701916074379910537852718894044486765635141362224412043802174149296674056712078256072118944957889820863783589065145237932841876095623630113797502014613168562642312590986622361090308375783032678827725448090786441600571795217393171140121256831266057775695622953598088384363109382562862578998505680342255325342333052623788754638506033134755383523117370601966769332173691955602227988706098042845107624972498434908540814396289791458217306827231235322970448795515554288090690794599257884556209319271147251129150390625
def test_exponentiation_63(self):
assert exponentiation(baseNumber=132, power=440) == 1128573193817528051654912194382865306888080528351161146117499669160562662744001051559360269938270997664325327514729593223438007838393299550699381266981126922573816646655629102900084870600942516810727078741021920497662282628003709442754259301560982082152955404497726383347257199358143522898507001042449419878793179728843946310298162062145521467071244344131970833606337654057381268356299304793832210647781191476119806886311137654930453451726008428440993415104784018476356315601671456711142664819806996397689515561335343740616658917936116695823991866078006757582450198344345974798687177448340537092830196821326298559610712811413058887073350433288921035895260959468690958111597062370386435328367139321139456350421221733552702642190336859266489475471067390521592876431556336652566274213865995764713824728843259503320502520106507845429002441975709889345425270459493103021224717084277790799037578079279219237532228772781420517705608515813376
assert exponentiation(baseNumber=667, power=310) == 301306509326954430914572072686231351898473562862374270809361366818074167513655767546026986009566896145795920180764177932491196116392491749710094901967974968875178495431893781328912851534116599812719037169061616887400952288435309449871502781516341788900550166856471145541106972790934421015847864910180171524341358049080955520560354078610339471406024571988386129391734746675368869267219164742867786539038092970072095532447327232996744065780012557471815094055066353089207587502421674800642294239184328318167189310088196174679201564614159656319290028602800969274697582699988740368551869641258488163817739509836153778734065843462440018405579807569301013994221397338179961113413007243974573814614017978647567257422798832279900138134453909227942936743434355742876314294218411600945994172055650145279868088556857753414009656974326466188039978322370794937045799736937338565209460909449
def test_exponentiation_64(self):
assert exponentiation(baseNumber=138, power=466) == 15263504637538721211219046898002624944999824439083311082698593134819078385770629237337710440061264132889215920794746644325498917335379397267817156724617808719660579367367933491228696105392654892448850667251963639289162340657514172287736021516901007783041286428288410531442391422064916039063811249721712119801001136931709977139059228687416186854753376567997770498562751521398014819348566810751266068475261704967457002852033609239038266640617008669562556502567402187263767989271803911788957321129522306577531424556769189258427045029013407520124450163741309359169624835258889354719831834740304736546452693050765414133024107700178252876989150018992988953928004677502317210617737436821101512319937424423668168719123715154113406449324280032890387145587178637730067949845933411386821582529669532559772175828994157743658248524472103758826785959739485924102106585792735479084663245340894420114577738107272983024630428811887900233259803040740566528776621826748826279590209736444945461405575521570501148278784
assert exponentiation(baseNumber=-139, power=461) == -8507910588092590767505578598318322986230259217254632192707505136985232460927180601744055330266852317150951320806468871728811794915686061239602403060667011310286008707711177618163874029014695674980551032657592193849031288679171321536673779521595938936643574595640142123812706645395115331843940832861537419938596390670619600558422740876907319135593195933268512225209000928696356755177785823211141765762264978697244214666797619778791664645430232033818429855639040223465390808414917179225144690062368529443875170373054980681967279793266795732254701442870035926918976984844185663857577759618440314548892024915894903264232718176742364807743954414620531312918277263844561377923434869584702115850304503311840094002385853286126028821326401667326196384434289543860637526117877826192982065540365828069898908464959717540006537561082028047025553825571191296374077777851938888390021083613280714153782990338794083526733577695284468163992101665096886143743517922964125109619959256452631127973292232836539
def test_exponentiation_65(self):
assert exponentiation(baseNumber=821, power=492) == 719172881606602588299230065405000593772695764566291906911593828525114177943646540606622284622812233290430023226989071542705610871697366847958906493323760488768003040905523315325253234370565625176034534939285230382630266499161606394046838544112830809727098071094327510992338231500942941041052364668663816072730338714112292985062704196784211222879520349833568974438670322775232411014096568039959298838049986948597964034414642830053332734418359910245957950281420690841239077787015834742857650903941052101367223825948922551768105712250057851878259308851266375723392954222210991149031532156523803931947065227615944561676697268823049133265719103705620096521904873977944595183104075023774891315293510742612923727296974967474537741924706294849610907785625776870192217505927024979054153799849735568496520565038282730232875951885945084905405363631641039390308206446861393925908681391713598118079632924625912320310425502145745065439219689395148287011671427294187777264629697424419206018705882819271362147879126501206313867735416784016325486880712498800802463462649541057832231188588349425831637391114613850959869415742074741866948174411652658956293497603547269994355929811712637584778162780603507557870134807174449243467070445913255826697680259510921572291938423392626896840569958664067023796190045674870297524571638621234588764568210888621620549151306739438504396705017858400332497669503839120367106211324543553360101449726696271625373011149841
assert exponentiation(baseNumber=561, power=154) == 2189175773847623949875737768121449502366992231170559347171982728078246231346658187593470143280905721477943542491538330913028755459157690977305529673383840236597294079496371202584251099218306687823265874322770435836408299386127752893692268349182041833122776869677107016135631239050984386293487736927675393125437863473920108254583081827318681251581192984906141798216951705773995927869265851358766298538290971452618491580431841
def test_exponentiation_66(self):
assert exponentiation(baseNumber=-830, power=576) == 24489572762204574747368358798486802707964581381165302482668091494774807636290062471647582900888037337715944972864302010464226478826606903259152299164985420303081206792820071183271467966884007199450366905427691967432717771563969023538569043430958807780281822980602183789537320736536368433997195652679071450617352546178445277126832272930847907516548703376826802352573695629698441478893521925431076179930703603356409163516984446475193835151083873779586369481189778269131279752507084504859473411900580362104204230152265401908749496956496862940520384979462891093758056006063724320269220674437906540437316345673950007932709144884829996158816955339955634667698820529456428057561180563092480239478087591883756158090679604096180135429746200058190000360502898464124575482008848834614204396063923423370708979864140929346578450903989883237685156158050026728032563357326187959673782280592260598521219277081665222167687433358725810329016523989763911320915000750352839628138193972367621216966671817007575721100484845857634828255704381111118628995124894901478478197715483461285163865927972136707865491989553727628697780481000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
assert exponentiation(baseNumber=-262, power=731) == -6001280894634927558604214678741694557180555548729684627643582198963232581741798985644184773356904754157086936889478157184348636299657731061454633724923838681182497550839072212921411293361019287231053045823979491020339403337673062532392972943781214642837712489179897465893339441440274938476325919411522745993569810664566709861968897125274775932031276868747866879902372224581867672279478586059907888450111768732785343912014795550060265816348349272720327177644211788781333878686609376220627461024926832206116965937064075884214446284605030544692507033828325920047165329070301000861020111526358360474460802829099469739066171610178267723694137723818367291842585530664398959125837591671135451442147127197749911693491285513797982664276179777716432238755262304308208817966645431644742727850835650071035579930591666640400370845518421913979199893104359312706108096695752621173710691015379085817901568929662692223075585262150545529679087087640778477058199051349397512291423128805955518178061598849733838752220954372612304856038589185337985371596316304582317482949360633870573485214044485911448792516094499290147960826618666135845972516523375224336836039910480367629538491050754081390808084622506043331128361761258416975094590685569006219461996764292326559797551784178409812953098896456656254731653920180056747331685621604698535100467345545349872693724410139430419402146208619553175710216956150159923931140092458916150834499456259828027164423761688201244731111185863681013696455853281357792643644038668841389258295169032881222802158869199582476900746632088951601548866399621697778735327924366586479579662507295852010340650105821640934111365116786428990789111201895015386654572769742138327564410990749702242025381275059298187251577795408670855080488909266144524746978050973355737088
def test_exponentiation_67(self):
assert exponentiation(baseNumber=943, power=585) == 1228401254625278071255782613231129591355671615225080508495046059279751930093083543514953852072935369906796555993789064480282879931572500689310961924000709768369473854079067227015577299410583292968980950001805045947259805855961804428425192598053645693904826752376694083344650248674977179910470755993489819598035670813605736651565986803031106004500828217842819659482891405593836201044758616528245826327898381783602274022394584472586849849520602391364149146296997398821831323086199333555405583396866253132432615458962137951506256581243657781890043103943193261471856312550758288237412009797204496146037987704868462984053868595764347236802206281402759091551351636523641648953790796288673857166698713106921698895687972575486596127317799045087799256512783524015936830948673833910365925618681561847802142358599204761475611569046681294336848414607648363850869376790133008341768914650819019097331731272588609878421764699676012471169194438072135799044351295224396001229965454453359186773763416415161919700773997487536224511839164186996955986751691987958923157319102502924851755412874229065956607751102983599666667629420087439109667864169551482846865389585048720300582056593790869075766752885210463958687218162560932019283768769456856427997211152805080852096852081984361515769068661685164552569573902713903314924463604901665002628764972754287942386209917881410881339762359461750056047349691116513306244387034449031027249918297088471666834090457360858838135930121351557241602824604959819268141870079587079783547854375730535734546299020041947348252657643592353313214631694856384319997631517620275850127280528501390007799312115966254343876090758599258084813527757624819087584745780463600191630216797395445168239192913676319997993470670003935935191933552943
assert exponentiation(baseNumber=414, power=598) == 92513261133166175207470232776125396422351749678997580741691788686951894639398353285801700693881573870468304654256429699066138930139481910661473452147969988998229777745841895192334814732307120266364129704389436677528919743101401738272053937783621785820740561224531170841255636188693524816917299683390380701298739420225074515502344738644895134456364692605919499496338727079751173769451429823979950431438498465703165067246535069908788200893112331669051030162821422024973581532640471858131707743088644963779999552680127685876256861955329625244392071443233910446626660601894520370929861223767780802146952203317193179330596280165804776123044076411602755842562511629637148132922431893214624570708724893402032759724379092925391578248616555709104135273749655252106330373488283624776690180118392954118011634811456235193236726952424013054349092121537645665430811809415572568624192692056651619733478681639318962500804535251599839233241834139085739613954424188075542480965475507927071508432927074298604329229057977362630808819379966615340812526488683206141887847538180862601530833645335380990318422564202399875209237817889808281237157888840138044511523254013586232870029625864057928089420481102628579971119135982908463913174539496558232903175066682601384565133895850454145113948461003103644446574895472710480561162290408973622082291182201361171845494402547062606014100757355862154846405550551776208190364916868095906408035438904005684988782280884263290184625054448142275901685498775016176530051967845067908013570229595658756441881530436395235561809150874999224073138757231968256
def test_exponentiation_68(self):
assert exponentiation(baseNumber=589, power=576) == 385842264130599140032111575015174634305966447270359521469714930933605909941013054702374651416781632537919163834215947681014432083226631155073362636272522169452943059237626237778059344523233001122940253457681337831372938908286986704701832172057183379836272249898101753986271252406357142208737599635864481007852119680175890096730511498580796116994824573649563353489848438380013412028210028718337529374103954939859751847973504824092845895769159724057380775042306345531722321896620989026723826427919376274582959127446654446235332078336692556629888520895816579285082796140827735751108808638724703472224198153029271275204187597888112976884790939639216653520716225570519583197078264477798279593384036667605088860149850328105985056512809025705862008823957474954698317427827633275086127559297865752139596776490817640415794985321753061210378219935629748503158833185431837191884192720353337336046012221621193906026239497257452826505202192406467811453864328710879412291984618327322410471371444889636469916736755282903734696782467908555184766537799464535009076486320605890285373639227785995999187940619623411217857639669533884709890326220063037114100127520573814031457970669790995792732625753880714838070401634681415970042950558845225763223960184364028291225469682870459974770323486126374176182549530408009103932420677481686932129095405085625500775470889569157413754071050053965178715813403994302510952881791598162308257768644869728396056525639993349498834250558447150892633132404689056830765840885522610118107059537262120713563434486520019307287830392375812307461174180799492296017537017044697463434925820161
assert exponentiation(baseNumber=668, power=29) == 8289291491421172112314437114710960258570903414997531890462845960612862698578771968
def test_exponentiation_69(self):
assert exponentiation(baseNumber=-669, power=236) == 6317769737405224779790088686027446843211091791091477749280420184793330371866808482335410114964092595074035278441755227508104095778274719635928958808361626577262168062356779571428951784216385591675047106798689424022896802620176286035664174935490089009286714233694593657106697558437526512452111030560340862734505024066164145032048085310708184062892140868722885144285174066160027013103264715561759870638496829199544140472100843967138894664536117738293495366847931520072660829794335457919621476652413957059100244554327890464112667369974312523173271781337731222678891768440045136541770768083201175787673111754334551489116710509553021877903367710200729886128423291918768881
assert exponentiation(baseNumber=343, power=399) == 3822556357095429459070273228318371440503984988952291646638377825889783784376748132964142123225653468334620699769940528317061420214155249764360829407965140605710662049234446463143086344360612245079141639650835287556139388958371677303213987039725703281168535329679637111458278710498742920124801575593220571937696604304933155938021602558538783092909976588120052309592589637798240369507175589110558235783943840671638810901924373872213799542182070560294996978531650889223845117586120067286637332372525566405332075353047804112060791941753230758833716710443855440150994636738264746609230701453808816356796572149229351278755379892805007425614424994222086129854511014548720588700898285406525232953114788702581548818780736368843202108507668226646798450098033407340811126094023728537384449747299373496346261847096112852064726364130405339961571261470974929300732763318453143222991069696635374849167946261582751878115788757415081724424309260945340088842429849387586563558270956121049291529332318265180870779438751165133343207
def test_exponentiation_70(self):
assert exponentiation(baseNumber=-14, power=980) == 16049997336633687259510995954409088741926859388641694848973005814403981338039283542236437639873686535698000650583525930989819673446362556658559749610334741981192129125197173538250023094023263265486659767749470969080681605739823393525540349312531491087655604830577159811934288532411951525928670336444540475951765735014891189960397142575355924866359942359909899970184603520886402764236417348559640928424757114009562731847623282128833881149257506577911948267596703996000203033908672471000412131408111786072655978368912269416678524837567370326910183724495991319753163736635858486664662179258821112413652825712321907384058960976084890725176525585008256057429410667899121896767842882852519212638440419371002747620645159529220486054671158759892867063736364488078300688502999206512022392651628922630098137508547283784526490730608278892549185356454930674427974305255058987591012311354049755758112140311331712364308196459414696702493561220933729997793105061213334184636558676142353791270453426348755839607875641845509927737761260075670633875246601087263699633820037030287595589873077190581704317622546200664295987251431325721140658176
assert exponentiation(baseNumber=-85, power=101) == -743552258559232021944926717909798145321919711344312716953403081986203388074302079356321004847770849617670503709319511193717556367675405331220356900705161125320064030574940261431038379669189453125
def test_exponentiation_71(self):
assert exponentiation(baseNumber=388, power=302) == 67170894145731805023020204102969953456998231775057322220792075766697540987182842001527512852218230351327875267854934576011886444746728551820537763664725440921970559958985235121785454113415438532752626678788141479855187900644205208777908196964794653153581969595086170409723182527142142284243653605909608490306883924805580618426851381784466491165725853886536851927144728978777717441261823148333499428565425406982160920417896485206236177065290343044208470387667356506009898995083910051663729231503266826044963072201542356493892194661611801443548266560723375111084573785060591710051186195915581265631063058505384367907386045717795628416577587585924407251023665023547557581800708949801736698038940074710577979160412386671615323220063293439061144812536162969989832945916619085152249708544
assert exponentiation(baseNumber=193, power=310) == 3332466500743490733497328972108508002286854497919213607702462036762830747382138631726265644953310781911634260858570110992799999409044013145486363585295374992157518206629345715124351220882333112328701302087888339750029951494904747512512793202204469076991584953725412334894968817788176720042275937446881440649895119549750057874090779487068188813221779951972490550162541097911091531889637520027609707521595843679470350305471048289645982874351017078773513341112256871934736919506870430871225217545264267405746874677160647284908537800043206698902709830969150229047509022467204523399712458513788826288055479200715817710888703777023668025720030326428099950974902067542771530606289372338318727840118827550698275461249
def test_exponentiation_72(self):
assert exponentiation(baseNumber=945, power=443) == 13070468946076620404747544137650000994057301489668623178556498651478397412541794034790934515703170579201540752252909983896525569370929220963971946574488725354249901254258903189337126152877315390794848818528987631200633653430926239382213772387147461591128199324173782934673716975943608877602596027653637901314185880313989162438835429405365133908445427678463047585457202795379392743034144389397230532452188745082887946464592113515193604075719933631340447634551602943374862638762897004758673006906980340783290537536327120720625152764541512540499205848006069073291841383128848579797218471519381419800373371412367069678160161038012329769813607472233301592512641084175444884671705675580545118302034528884104841345477678587789730769894439010743624829035984424492740216261758172011053311226917497792810624901308943286977945130568744791507760326240758815750864320022695570104845416688477451234616619916316482986281797235140854103803714953487143467190645260042089292899020206115788506195214149372007419208056550485438799591949043964447076571639860338085891822608377857303358607689710472515879012958298225892794196312693130051690102545870402240085239134047460715837134848250235324121681082216139600890160067240200765612115770924055913472562709933007736392417234797900033865230081623560521621174590478631216683425009250640869140625
assert exponentiation(baseNumber=-971, power=829) == -25394612703607086378396355743513262454589765643952304404956636839276019133717454118741231303802338304852076795244975997664600331717988884627638224763140721912286871917281934560980927627647469141176606508816674172818534633674416509124491181143892084742468246978989740589128338635112038779685919941486192852143124222200015897068830067615087839705508437524931794403423291651123710934816196620383601806827770948171672505533427861443304508865283669232003865823535060481472038449461332791756432939720000709545652924799199758997921140477468452636145810425207917610872584529383776113161185237936397582349145515140573307068100166181381798261943832282682227479232678979056305440599289889209906300662229353949515106609978675096543191726888177201612218491646468716207378200400143358973616779989861475477924400838852407286801188750468064076503813913147615349316405391045010536947490166109076897307594470210623809284705653891970491440971091416328402835854300937371527869424134833863361091312988387691098228023665791507478167629693378589510868879228567396844355032859538785528758140648597900172887233949662015731019096461642957565550261727854541050657804440828221901895638454849022763113138858541492057280574391681544210498435673934247319254679752132740483605381815116043258989606519586017135379521083045519252735040353925670405252677090557841806498678995325683232984725058677636352901264765524436502397188954646241947545850448602110130526905018997660027633991305819983930611520743535986250712201801126843462572874083670072409769629053104263087867154607069261327771510661400161366794264307210220913784796559424415114257245459964436924727151166495848382786460366984065981446194384422891105972383809750124283337676977087133702181833696424375078015799715124004581351806555622094586716493186683396213256086021764446830235155835799446429953194620887778924953816044633989180585383609596199627922224414592345686303821399136269273116841165708725944463122964435664500364405382983419455411711425520095480133345385621709041091133463865974488557900566411362377353117709050908966002105941320602618698774375805364366420513718849328178245690856365387764501525895538714112458232346487738338306109109924860098063979536031285938991388818390310235690575334882725215410841890780881066244043853288442065123052384971389215709283946495743346808243758466125226489641524350385426381307146111737469694414645797843870412672779490518968254713451734120029681688020980128401525925751383055495695749944973312676587142681531
def test_exponentiation_73(self):
assert exponentiation(baseNumber=-493, power=715) == -242966995462385773895616085092553178095380181419842767460530522862856269616204379645195565127815981478279263431021990387163388288112238401715270295833475568282647611413885014833318722709394057610242934411635702125260314792858449443219223681308237336526447367923592543915428421867717808647000705568611853607976654147206525872936004995455417717724310374298870770843981842327571798044540867669786228999047914674670954157255310409963797774413788919121520865844125147536612883218514801271798314811970569838556424882441439037486990369686341707357084513260710881098362938304760733387948427336663837418031931360586429442041477802833327262307684483220275989662850921635415511538471325184978264412662756010613375044051481337144183929875328683436909005249777260157303560420019997625880095876411618501002995492977137580863831078746758429353301860474415188871287262476778859178206762318081753383255409205936109023272000543664033217927009822301457709146362478479912980799830752624895492308583416895198422215216653113115245917873911099929363143366704784949589984860392487467815246848021054782718157052954262810894606796893134455572504126565054890577325121904454104692945349031326354137361931563558774818797324189552116078023695129441472671321548405744553621956162637260551839209473390185055487125859774291818242713681978956165830660071909859115718200827942360222478322095375184212716532595752657821145480712388705987715888596048391960464900346576701467940063041082136072829185002806461872222007029824417045553990403878081100696192272205652557701076669927062876562651554306067987438727425537801129508144683328928117992602731347808700597811674372066984517826877683871799849596792687314714477520859218599310122105721952434845017609042600084798703731755192832577940403517884214742593547044019760307371126457120138278652680130499182550241783328663738781749324665590572151452985192121186412100094754474783964218724378370179662359363653568556697557
assert exponentiation(baseNumber=512, power=242) == 43987629270976192804720956764739207515480105439817004655235147967295953568162886779827098162454047482691660747870697989382781530581720447296335201422282145634202992949289982226562383591803617067913023681201976824253305774576152308243471438715414292541854758304065748758072747197735554301604120843502707380978626335644536313575505687510559646628190172281581859951368681851197375070101572860766439096292761143226936069561083241030790818984022045538361433128972674821990114701459308805992311954855629210784283116085139654341603026891007574573225990517514572825293242232756992287326871233439822121795945927546997264701425697502911494388693865110911441430380544
def test_exponentiation_74(self):
assert exponentiation(baseNumber=181, power=823) == 11734568306965583907431794293403616336133594412182884027845141594146380071422957679596865109452766855128936244880624476481338410835452565277362523758208254185632055587368213684741796562058080732862947650918604678599066053976703160892577516217835202994667948044985272575074371547547459309643142039070159204861600877618618994148354639879515311976718371043430959502363083052568031461831184698097821157969066585780550767771177414995514567213706080872066640011779765351929315581299203196611965549539633055536925663572231101571593865473574835186184063301614374036012012177015846263331078515504115874465522783631369559272662201982793312414301153017667139052532858603878843995778225299644362219903454213364979222383387709728675422973349021415737235536908500441522436326600508918887073275279636935103963826347404091007337270563196358795844427070598978918837318607988588051055973395968657786908408240248206271539202255636065314926671647088938843934735839051352115310764218389287407773157209695224537552528359013674485247673940256823372487589276158885120997493327895687147017081799318820477508832107243658801000530290352355322983098425228440066173194790447617214995978268114765947506479380169440493015101699273935689209327500094367578326245480267572822709168339121900663915647654832405622181824037914540855783818400215739738474761568512406546027987390437506866603069696434606691521258102038354032180283095699598344555178098285764528383248207100384113865763364826955309159181266160512389199460470836425605340053151426050419567647575027918396607906494643806713581826317110756116360152684490742061637583115477137374252980967305193485031184655797209472520553313536208903642890292580232446929042357836202570314411406193119021670542652794015018218874934515650880908887911015292656621121103811654417185061064904167866374757301192876872677593804507683845697170174629659901617341
assert exponentiation(baseNumber=620, power=521) == 685599083869393607340519790994861228026276197437250423016498934752428285796203277924369723048898717019098041380668015016782986779999969510716649625516448120831581397620122229974568436961031866569871613203717371175606361002396849100199561626817837076020302201156066167207702534880240100929712869346263988020879804780788389636165671968642632024306352875308457700270159500123537535927469027909309710049494720208434640089674021023680832285110608617104248348105937920407044250537761613009490820733665687207566178656246699024555567023504637603563323079792724680669594821311467662782835858073049376458079568544866061458192431911619776564652478926028753543717680129215962320386363125036294990576434256720151004515324243183362705320100089843960067454339571981526395854405352565418519870856877581388374824152007984459171613169553946100362757436634913692548947210915971322453180468243291480684509248768824096736826156645150830599852190126519091200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
def test_exponentiation_75(self):
assert exponentiation(baseNumber=674, power=148) == 43819224495272752374142372006422075190954830534349707787800393951063347220387378692450605364784140806031958963702344387428198207768639559576925149795651326110463793397889265517085023153795149446480941389945858671781478098318512581419191685283765545597011839646555715504595122758280637144118388755409215598571125562183333859219095941646416095107876994832841559257387807583825845849786072740237624135074074462831536766976
assert exponentiation(baseNumber=-667, power=731) == -2728880971487508425610351132284894687506962757271897610469508797630067941448807421842714709751421437286205081337656100029752870829166277140880147402579394998577142793128743201663332125231357406873077449714161918932082214200691178519564542873186715302923312699222066756228546233539633440765757282384009081908482720401358998557158765057181897323757486847894360487640939965158227228255372048826228802935910860500741887815317675434796468586465740110444644976155707982116854312811577393697217698647035259779860736979996674769431958156927820618800288890781565331766196041688105506599025526686898056777061074957944177636064883021129800432638522449954693248052905261051276634761387098396210654892559507694638887857965479113597270359181646796729225993843615990280879070159552127577247810835192193403060582842890601623007037524694104769194633696402283686181619027105999940492240818976028025194620547169679064619650742309205374232705708421927119925069900916821000084703952649966967080294547775461109251230707159163954362674397873174187323262298779223885901703976163210893835131991703622249584628138684945555543302708915938469498588793278710925332730434771665238303175029011245998169744834349868499689018884191339425929918604973950376550454530520762583785445810827877344851879585858442316430245984211745456635386047658351411151084156920297397265675878650064240989179652831945914684362656510357820461583286528811344603060132263603292822136438569318476720215264343832642319014426687975000508909249139103278449344787857470346866828104914466565721067282189592834161915454915888900523142028208497597388771274918103210466081188934081858885497801274519483010374691260937239139610273267291833743262969418639728565471857502962581858920757753556525192370538912445366762062485376495933087021916577047133904472744792237898079460946388353186603514732772610555365013155606838184273043364095434705285685000003745954518910485398479470532444132451785250816512339535093304008528677037212706892237329042558959950742291611690112942978882469646946527461551696805736021983176065447391529678358633283
def test_exponentiation_76(self):
assert exponentiation(baseNumber=647, power=529) == 92974633215038746981283383065993250635943911782000370451957799836424697563350634173506732645627535897605009690854240007121444798607863181180381449091154560541589472189418823641066541577172652492578077812775532175310009404377856888493018537807951715940441691847399912843982498014842438657766270406573821838773561780182245309493530767655954617055357368433107489284384401191667177932831028645142132436722291814933667439874911026876205496924183477946872138521027225049872328551569133545250841933801929423310289706670599407077934983106789343676015019146608088454104947882853828723378531487301220816278408058534460917646181446438520515411765745730716407914576580517473216162400306499206286067499524410527560609050011982481640017859986873153681200842093226506389572657695572860191975765921653109553939288599549803230243873060281768373906444385726601060855269884957582581565295390756921800881771012831379143487067369334018703576395711490020506671490502170955283411497734810381655708886029696203229103984106012105082098036671200133736447831146596354343841107478784601603758694514997456063334736267642525358193609915873671301847610517867011073605376462176855179669810607035988499874246474986838288475666655457193322999938691747086883657769533229297894554385196299752791462637473526908913956133598820038209481695333524438484405326479182156181490188793692122648818106971628946881987580993490412335823459650262221301373888687156765853533627394681823813011412144543225011349782472758143821674004424967
assert exponentiation(baseNumber=464, power=765) == 769582395495704755449785058069084037525126599162379272994478602054996391977145653499232563885803774784930792321446106536621300273351852562354642418407846232490825130041950067308875043558363404563624785195028876807370725355564489825655492317092313732563656428161715062402678177643677047772954347739673326874444866666866013552680014321253980561740408397324767172762254570336558922107003401523327397319790213573492151914537685437250512646486302931017438659302701755499796606158763888005538517703675022436768144593098474236398485501575185317453322484557680090836628463827216205333121078594086951434790128488487709577596893391106057639248680655433095676453439104482502150369555410422408631927830738441736312780180428930360430394107984960191687813966891006375754199502569087896863659648015491105769702681834429808356487454955636155167960447725992840473598421760342674852643191739843403358225325497599950483422911393137091000466804715998656351498775952763599690523515367034533655461780383348591912295749347005142038214938183383328048140898112498419932835586629343536674427529803686120887066522732074590955013454080492537574529686113217318735509786307658769674628118454565514351377982776182177422020835232529479560948820476258120179220885257579605061557305564789815948606730239772834990066763229657092735639664585742303636704217599866603152429014576521999484583471059208034775949028064727802328074245723538192634341828697046370287632350665517152078419085153419034478360027383234078799126687191863061085096655828896212023671814992909552383959580345088517134739666396078738972588455487982701600830866123720126276220820168217723242144351152206344130748167220777920263825475408163693440303594122835610441568497314313823261407943152026264046500675791510726349447471824479004792681588577274889224472412918492672653103598503935019068952710870592668234021795366827697639999877123407903919432955104535524001709637974037935156109726772205180663084025459512489764808896663183995519403790017804737533138585906841383569539139663252243667038368726292029163700224
def test_exponentiation_77(self):
assert exponentiation(baseNumber=-549, power=630) == 8522696115596809358408393747052001931614742707749128172028593667860502752945780576918481196569872328530151770561063957547341414506347446536191380110541130698235331136462799378454581974853434007362988364515713389996314660233124138937434317724924953435017244727810327144139657553018188141481478820197613396233673593404600753954705720692839651129847899782590186886910829736105052120898974340456966993463495315409611826679017698159824832559522932221056823662514983833934407835198709957140177432792020501147190299583058939799064356354095610801177474560177027396162689167044570435618559003975185563914387711227748703895439983516541549126593323609360224178186136885457176906874634655707427702762795718300383120288875129432314848289034111941038842242665966884275929381688162985194403461648090464947203285752851297730312810325221947879797607461756008739956656613090243639450618830906678251862693889639328642767636449178147617432396875086629171439632411518538774075925317415138742382198648047591813415834438088726642080025125879291247919891546593835922048984542229462361677190142102138220371122205181491564925294568825065090433304964584024277096990871514810173077589799663647934702000956700718834828086021671929167945240547425679278941644148034772241299457946764702069492641360928070373963246954150060091444618371998628223374149603140724149817182138484500643810828883891403304131526782828816073254776269395678894744332837573879631001404464959292456406941023780471041547541463230933708426331012723254673571120557292984559435396910822215648977076369540678124442040658753406540994519412304345032228662027616268534883197374735035084881781274215547425149688664918913263689852595471161773404058799966494292644706964394111307842915498146741001
assert exponentiation(baseNumber=-228, power=165) == -114617189513482501831307797108327834853983979142214669840709897942609567975614029732090075550419784532108347969307017944765315336135197241834110675329256622501296253057089864200383401104964910670824086580921695984767755278176437375544880471358288338904275686233565123269170549317665798617111109563719630740970989581617820949760917569406324188591511471143708664397740960996494251361952595968
def test_exponentiation_78(self):
assert exponentiation(baseNumber=-505, power=979) == -3328581370416834442073943427799101120648945170713128606526063351200267564758376482453206676633979621131835405225583523913773407633668025956668325878119517120317403200700320574263303370938716085781815719052854499743801334546231038648138819089777950678896275929505457795960972894456434551132034246402537467169129314689262324644307794552306112821182576142486334371169242174367189467758073423074181134009558675299299976919959583121590554871854450327335513563384769387427700621290248199347480946786535526042214303103010092267348967972977080875290219476177519793032932167874440294554865228875067617425509744849271238546947660603318212125538246205784758449405071053548230818028553933416278410184297034972486838695982011879449531990449272741782404033750956329032942043497048849831831193097864004106579607507093651920319625433075470186170527278572787574804891051777269210255876601959359643406904397911928737386521159002206124776976946272876926961760614185228808442241421289137737627711269130517398660990912362787748219104649984586506594423346348562901431571034500221588803290666950824769385828164726754936976505718331716022941190692330934949600481628939003969750888471398174798348628977572691874950312668487444530367901105927050710586397069764685252561113690216049861529152703085574180042767888133167838278667570634847943375853337755257155172940802870207813002445347014823669903440794891301327087313352364297511865162943169009370248178857027445108177036935522280772644144226859018094202703138643981075594656127480986758480800871040719797381980383566482577713398499757070113113304035104064532335207566337333430693520976782149677851867278119692494590066140007624972128106155586718349397892374746308666098144797401795060805077520483790289961306604514417314074989219121119410883344228669852927363457315273423445074063894715972393801855559126427138314383458377099371660499726932523013877274231763726324738862588356793917257908552497877175988198199103510263137163889305081775828251228790429676421150550297889888255705414745314442099964072050881540906151167472269973946860573482782754245715507438695803663125372070457299416629864080406332079064167973996014244419164639172862067587900705975826423711847839461132758366637524050412836008974636707586373880283137854850412759883267488914113975729247669173963661702785151236075186911093734490989506293959028939073813841526180962610399307404051615719191742317530556321606163209128965999975367916270469333290060019843016400708194256364004790178676557771072444578733557803881404910435183239328353920988912920123166613561979271566590561802698970272390258602982838503366268807665017716301836259162882925011217594146728515625
assert exponentiation(baseNumber=-340, power=263) == -601111701359150293039287200248650729119366388267718032869923625237419542028703760330307116584980809264160197647552343899087163168822021657082265578430866553324797360530757723851697684692200297136915963155838285510510191597282264496115744402313406867492092856395811580495096993365431461418792120592414893273965554685756611509057618674005198927798501688103100063461307790440839809974525685024790843647590400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
def test_exponentiation_79(self):
assert exponentiation(baseNumber=344, power=780) == 32778207923994068573053588856020536265057140593703776250178312662276326088188721888420400705232246378332427930540461790272673798315952759217287982859675524143192647087435170745261896181331539991048658121934304779809396726361788838567567696941764856356608139029832131778947418007501909907665955628343572804849442987799338086947544336631388682825619849349833117489854453029050557362498897585138782609089557490732837608096182808838319624567558524857987856454601296556171247690750998421031320178411195356859930527759947018181643506611140725693000321690905682222322756280797475890075905077397370638922039474922885444476274362750510741153346459809115230054988822822199149845442013616194156131556821547973579765566103376727690316932582902162257508359682946065555296188077246036046865300365290914573766509853194701105980339139242866461579857120618135313429343836950097777454460350425543071869271174994985906176228883180662369645961884811074016049255155418599409444488340733130989798210076378726099704055713168697902359596104200780688779577465418124244778115923455486129027238546646013228227894453763490399915253823045769989047006178020516498354892588531926549860660992549949133161934786403636483635790055921499892618345590177258873378211748800460373433814261562061317724270063684166531143579543651112068361071849505643821662376870710676458231144995018878108403915078155329930905455446055215345311695864587293796007399878564592549513561708882676494593821773576289603960622565613739291116431398569351369125455490584558534669124887706298276223079004806662788242528030070838665543038689620113266239543905395175510866167538435739699193466131099175417747444161872437384927603955755517196435196168343364237367751359153658876888718836217034739860389223812827474790308403857668207725130381379239949991484291696774038863434476912443945107428819288500522900290870245072826252245498361639875066818128009986150226381333983524772876626185214904537775745723043215645183092530421027542230301223237451776
assert exponentiation(baseNumber=-889, power=209) == -20915489964163985191957969278323409103528088187075171158939032424182948080933157750181650351367484338439682370027000567821607950890416735649143863029654447846696149520912881015939651938860598978078424278340027175041380075010759249701611026703323880157743028979214630356711798533701856037890323433726344577392713461016559727775942762383000359595631383687624178547286852244572407473008495708116142860990081563137127198730842895582774007206957479499761152289438396184772084392361270383569423059392306706019739123449864769443909346476274695094642854914700222018693154245933832048381253128826707421987399033487531883036409
def test_exponentiation_80(self):
assert exponentiation(baseNumber=219, power=769) == 633175806258853506103444041431400762218061196396725946609072485204002132284984656691803477433984976331538465155666698184765386046908427895334899415699222879584518746431017463352397895108005388664559114576769135865744699378054839147297199293501775065412290189152661937747354292441201713998025491338057521066312396229887327958868620606161164162029310697756190553247661718358327656047893669061019589808890257682185409009014698380462566513682052822608938297676746353492867572111850061834975437868747983014904805971928007461996712094835948182232337316276014968406933304993477983266852004097725392401822993314810957451070612628145787721731641369044333890654756957622023995520083613975705415647063801129148599552155365544381489390907099167428936226841307733672109652905695533784983285401696357141496990577411412005697431366022042558684582102953124756785635321866045067361556521461920388805584957114533000632917960882796889598721358901553645967481807181908117994474893889119376237696661696721414433525997731878921766304207304425684214950065203404860277376137701028582356314534245288251474593773406031092014756750072779166256736787757413272454423626147373602236175327710385784095321721646520567866443621448912115197847468630037615256250016153757570770651902249744288482228660917481233603204914214030516659874767070857705188504275124941550275808393024095588095904138302221836568148653609082581516291944473410349178068647640337281161695668312026121073293050315948756345904625618160739812263875063055031705171000886592161759301438081302325706577968613607737775066412903257166785566523697463233917972171457169389735744670399044636893330512776100964981200150787083827701140967075768411403086108854959093396905983295406905328151008651272789233660412103480407709013447801972008295197809979467443619401878603945794779
assert exponentiation(baseNumber=-623, power=62) == 181242019576065543112896560801818294857629330278104288646492994127003056413451733902280488791183657993261761372541479551887776574295872241139256597773327618765416066787138529
def test_exponentiation_81(self):
assert exponentiation(baseNumber=-295, power=151) == -8772520922898586547443081868477611861340564035201186460366122769665687521820495767587381541106861088145618530035860627759997426383549332861073116369166805428404123538570966835357053904533223425642449842175005378140946613188586749835869162897827275032471309340197781879899643486640419077265641187126087389366991169785826160914857219617901673558435504673980176448822021484375
assert exponentiation(baseNumber=712, power=557) == 67819792350568441134597116016535567923448806935762080158602125785572908764421725501297941680823206294876359326052665384255991581016811831404047042459904014607684081055550686421365093989332921390868638506891527165989274665467600848514834561846538957017342107987341048944818020660451217732278229180239640466763482376124516310144785936509438730338988469243924493642290420255883763753556858052522171324088669600890640801271943949375365406145800765387874175177373418756394747426919814187712437386015769153982245091236376698363119202389579603236022364526731974024508077445873021462753504507770210936845039821826244233512368219043499077845629980465036262651754381125030625821675899355712110191300543872630974629172355263813180601890327485442964247561626860315532938460880323819425569343964741678006838078310502471026151778888961132185490422055647442457849916254540311214506937758796478083635986886728437985780690329794899086106979236517859626929012801123258059903656293573902598630436303368079150521730354436936823909815609266683500320249946557013498032899215126766491271098282179544358278814968867377225257496055513720084810213339375500285788610522133367549476565950514811092301660674725511888882852230765215502690788480227213160189791466710286932297856815207381628867652791879249185579826557848330857621696227622900991999799256077537646599159559602698837189052104128877085700948603630679078786286406248217633764795560812552543579315787568454881407461511441803440749479455259787030014327959282007039959173314906618378987672685854888068027863140729728893767527688651580442158912072874075558510592
def test_exponentiation_82(self):
assert exponentiation(baseNumber=627, power=236) == 1429353455913712368958983665913608534731081629366053605254760955098235233810551419692469909688735864723330549543235487179690619919223798512216061894334894591070883732882416495275972594231492525364677917403120614351577448011366357476059925063074519153080778026977075028094660589964766290440302069218236535700769519612352319227599017148576228287911541285655944566871445692019335926800039350679374992981292640367483148941360780715355429094419450128325262373896437919716833749825893816863248515468091588488067916115448764740665212149433512721583712478690837437952520307167037225444761605574420826548922089494028609208261931695645001615716717609124175315272681709361
assert exponentiation(baseNumber=687, power=263) == 131710939213783671080843269624861811048516337094671852687549993880064764991235747475659885888191796303103337175662948796352619637895958771104333216752758928331911839358293217781376814927321101927659237460878309197218921299187524484436324272174886013547808706472456083968294160406586615202076093033624265846635752044793583156841417605457579860253895394190131139651854522092313479095825310572097904987383014715880808055555833196344312428799554274141509643240464667099998688476320508980109846244337194441700182988173401534884575855225005124705401095050858804200159811300916656361920542629877496015010941756463883463208037474255646285153571394799427755740958017162795579930500471132592538386274230252847883631227966457474845085254699484272330942653903
def test_exponentiation_83(self):
assert exponentiation(baseNumber=418, power=931) == 20659429882340932487378149877528878181394462049815220129373480989507089883591075838924273950810664745686482005573790726283480779096139496400885050992359001162807066839374732689739532859301186267914752512416004061403509057356898593318087722436958624839565808254257711378909555016725021506838844024575422890394786816080562380521132942839728950764832248258823306636462256993708662959338792070716654530771845955801133178356214883617242896260346417895764730470726845311643437471846464827822472194827471497720667682405146851311997496804441949042435738911742469188363939542029733558857233878690980387210589619448375985982451591643500883517375127719023916702276279018008163488976074573500176359997220123184904569881629737005230483631407412288513177268290380611663088096978401570499948655305775961294551395137751491291512340591975795826973388715611456539037039907192568207502310157801092118858930357273745937736852780365227175111240241716071819063897321684364406944256263652517069731612240906450649754941578937891836920118833060859156577225000814771223968164742992902412501041660950242146247292325149447702752605085663894095017994858013703306848092187335604273437522655727408482043167760438051698809959241729125073274171133365042251850787959513936888550641077948836052152185200014988306115600368676190032367466769513703116716123118855766087315167556280404625794010384323238957210469620656140755688110000532046704297196941990296918690493193782859851466528097307655687917295454398293374736457309404224630506696174096086111576160416050962901519636966562183830620104802542917461853443098786674406337544396803052729983728671998048059660078259762450317166417074829859750167074834250907058653881204981502567748243881887858852202978297889645124991807147821639775861264122054225031735552088730122961524900047379306796873593995116107161786664825353370867018138018122749402448706474673084659205359976852577274613339853201978922465020441714755306541348072471437577552539385766749362436126881389832274780152669590809495292914939444349748037756074313902210898013443991657126672784021726078067430904424491253653063149513300652732793728230034582125868543265942579730318623721052096675038022666517487477361400681106613994599615088531473662723099599776211242386967349394421459037711653580628161655346605034238988125597311601392609528775912489261439331909031280095592461440974080713588098086219594227474621044514815460775965699798689411715375339182029692001518545272832
assert exponentiation(baseNumber=-328, power=5) == -3796375994368
def test_exponentiation_84(self):
assert exponentiation(baseNumber=-35, power=206) == 1196787752579486192421696443053790317486496566872835852748242774111904866457741098344804334111271262746394339686347720720706936894432888199959985719189935002969708103506221919675983001994885575800027603535943063791804586971665266735912451982053828767517522666762502513043798049209576195295312572852708399295806884765625
assert exponentiation(baseNumber=982, power=927) == 48679844077037293532021260477278304651521204461084163393121531933414746717551790415723275926912444202374629426099329956056560093854615929805935274281893646584381100845593845500150514017545272216896840601128610388186477351460869514526744197940573889867792007582190516646012638585319820096886988256945213667063900868676563095816357642791024031383839984614213481421529391169485013813886556043277928198401508480456815918395357113598826902569370584499475775098839811800005402407139922703641751300379183730843734745859505317645801467122092124984060372006201173699579684091096728325639994185835242644964863550837579181858238040224176905335873611823438573435563330721261290125074658282830258649427718042434002111825809233276189703686117270064442848767518909514583855165953976493319124636660170185052237445701429173257083272341122602645165759855563801802808488962138331901841887474978492384736723820990053188470656324056238405983649201730297250917816171406346060736690096146275252875981673392202548945172156757464232751481923096840855580907628472895998304481389059282800439510399972376768030358429004283672406109559476933458656921588225622294956738759800874904089648424648389351369604655905367590590885656209604951915647118109275731313473196121549098712382594909296070218322369501181515371423965379219422353372827197787070628846960826177958864112577737537691180186165671536354575953050271146747454043983114633852845417006529481155732261984186638972012449917875192448575703030571835495849707822822803350733294475119333756594378354637777565000321432680996616957023094512256072625822217001280653134781453892867178705007210350885921142899360859876838106222824736597096559846501343762989286301174473577922728693260682443112606040097909391649099237094298558131437779453442281466541741735766063363587322976479582419267744013338516151142470378713763481769093272954246881769022003359356299972172826940074859761161337786357342217535135438882969884493951722964948600390887131568946459518748010340922863711261746273769861123018060646610052088080188100062760580355005167371096794695205250858521569219872122324995063589051571189448192987526727678823858097528729707263596300697683592343206248022860648878480068088794817300159065137431301315284052513131084364747872956386567821140314328351527070625692453675541006125164152867966512919766612069250742777405853729635293783239125331866902739766069458215837543523169315779012811393578312107395065518613990174102197533128665124134217866382642627392243902179915920892696180049120139625714632636192690924109115208178516620026673464525756962351697236750687779032233641905915421690951616469636582074642606247877128820080449678142695445368872626931889871430692182198079240708939213950208837799954041998769259983458948893291825194446478804682576649557238611968
def test_exponentiation_85(self):
assert exponentiation(baseNumber=750, power=685) == 26119533934649595221749539544207659737188817917947076867704748397746943403646283090905156297479480513686635928450421176428844768925681681047410959153275690232810127802693181724574489935439141697870380933069030968812316413966171258760077041748632049953244436525098061174458246293874617996613943077842971867507964994364846958241991263306404252329432679034307596095988033246003672287217084903981533990230993991087593341110960322181698976691137895161735843812184428201839725909262929258664387962157141350718707302963523161936666099798806876301470861121677118747986241624871073641304498038593708158864496520243722696033830498728574160727822550927998408855181876198047964463295880618638192582846206919342284214948947331009772190866689477873994249641972132789685189316852850048139299078996234576689267205559392372959029361765377050394239984257942462616423574122435294126675180495721399317088779342780983441277178449777302104021053793544732817099898804672698836936431906232637740664993078242594134786027347285371581725372802215104513987159643657685624336366044312827735721350885846119838282486701216349162227263057287555485920886772099143656470560065285028717684662958926088537040548157179530923177747823741690417935597039782108040338465647430134215041183654015810589044122025370597839355468750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
assert exponentiation(baseNumber=-802, power=494) == 4593438777630275803684817569240566401729885415707187627939132302444503631348477031856828227788263343814145074552447786347910824698615666343977997329662945506550836157930696147556881811029928819070176008096867578292284116475973189197262703725166756141601519934380821706750118842360104497316643139014959316164854450944525038245240843727314300803727732951694225297386693385126292224286997433681322730348825821980325424312000966308234257682396858100681973402372679622043931870009745758151724527630283395990573268769664284203593454880151199823820084247401927534091898406172868811512839073908314103806778021210216876948012142962801610335667696768958871598534276398877711586413324616926006386779710677650404692272447879014202332964269524153102071768841935960241124311417546347455712802313103993460532969348643409534021984475461621898219341754348545594463069216854167897128188101074253043771326297616180574922097396293205252871364661749195443497409933246029489862373585903612714369612072128163140667532712976391660234452034462006751282368625194649979038011719239278918280783974426482631006177829407956678829295591482153318742611104365807736393542316090322143166045870883034618294424322524413178542128866416044328077149352306908784322140838213927573011326986825459601317261773224919242278783050833434118368639607327975405602050641991285973503530762470751585542718483922622217869857784609299828422351966507182612485399223454243774767635296681984
def test_exponentiation_86(self):
assert exponentiation(baseNumber=-845, power=385) == -69156490453878622227707836921366155631068864085583987818189259017500707091795639776115375182903954788791963834681683249946234653312282830467126735640254763393457102061033380598509552819660030371556211942845821169652871143220983379986719530323728015275492224497299142171193367496072373793057491019481320142057258991849193515663261089399001979500003876052909712605715582862724417024184460602349059358949354900142088727851079712980428283365767261461473417575938007448369738834099558081411283017603659667356727409855394201676190712054931482339949811915047177984484909673666988374527544280734682192019951219783731263745121132345652681079986628625913418247248825936410684135062708594708146359593479288317256668579032291075738761087605461781600344461175161066906416780687026332818157801101901911946932885672467269956441196165199885424041205060599502000399696319862519634899352080361759926831006604228541734816171011320424464253949695551797194810248243102111032821229821411962478213135738525215533837880138999416498932321542898629158173227249652873507352026241458393267312654292939987054941839046684481928650711779482662677764892578125
assert exponentiation(baseNumber=440, power=633) == 202089717015539299228629374806290623874726290850110994176623004503488829203495331764111286810028396312461677491873724660983569265222216392532476591643911543678403687773151747369414985106333914755070255796402807736835145874952314407573381196383551956724941463158383245080608517229278360758642328759587412397735788441324120940010655280630298341342082286197341315464671069503653636733963850910429432060720212367969849687086656571684735506550217567446908189417806859029762921200620553477921877882954981110002620923515659361208828659407572864616260130000972653984178896030692020874932240968072705493550360591053917709465737802835864912411572618740450558990399942796158323191648140409204158755836197815411193837243928413153958983032519885350377465159567296484806948300261740147270623882253829327578156371500106139866798195600688125187257281691797560809906305298838583781858930989935071863011819254682454967236492725190644279472358562142808057857901311075460673641987891907490133077804451893054846650170982787885551460003861998635874131327827574784000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
def test_exponentiation_87(self):
assert exponentiation(baseNumber=647, power=507) == 1344219833666445858401873259405120732398135909756817927495626283071846722395823312780654952832715246972124603361970581879403804004841297080063283406165784307733225797373666461517223336740280254075240088299009625507118294740791556799558249669268569440462147321356245286585276827702159489033326378686928343339819029203404549351045908024221582308151893899623660560505222903120650585137384358269141314868353620394598276470206063094234071445746875462094488645080895873816704692935450125801227786340235171828490499133003001859476586799465949897678656852391954622874491227910301959710721450939754275902213203186836068664459078465429316824766154984072869406938264621960549843762725788116889525888252092437669279397505660155327041098673112039451978822749414459326878695423187198541262135120092135304052291595049531476662376819477682810685359630849146444152312768902912183715998860682172159177708295843834242804919265769968117212556994841734024878051136804186273537175396088006661475765679747737268330370012562676715576796356050848816379742965324618871112121393501246218299614770409833257840790566609204756532740702393241933866762874581826701044598592016647842455698072872794811096011162614914092186915471710895991578680475460867881787359570210346927114205315919923833565115837772734803376973035479616024811177931814486869393786325857523949683170388350879771330797734635766352734110611932914312678889765595023190413888594032869489402263
assert exponentiation(baseNumber=-784, power=41) == -46447096445677204636932178862077156290196347896695829450534699822902104607661940469642972702901289150901881219196125184
def test_exponentiation_88(self):
assert exponentiation(baseNumber=-837, power=688) == 6840929257231333646116429532689351595139632947289625274000631818509897737524421828937772966051358066764804428050416188533106183729097815675745355461515185460756114522994488862405942055199976435694055807010205192785890723137880715813268296273425130319922207340946096186956401243639145087408444160077814599625291844661135945438302124296224395219237539539943876435889484270037845716842391649833447915627284537302590812377345668032381616954262280835706250427244065701071001085700430685015420740367305443715988433958392826173416671483944670252832671757307460571426181165664721081267965550377977610359448525459612856372068160257818163892180923214893866140181846644442090893976098871537926746445328717364515189627143045087588990877076792339411202818539996935130811594801638857769074977134080592519836627936633654228187025955464626855229000810724838617833370900279548671279007802046670681437998543031211175978617479741939536680984773653270816459239141685556470791767864508679096764971880293764934706196716553884968189208861249716015282085934481489957095779749544652352581553522891918293194022480461897640660100807603214879786140295927023398688344138395501118633265489282833373721368570978740086551004242866409021103824401080960310988128465402974125672256928128867029740737236276863013611383664222444678889437787293599689233528602046521092286392850437378615711962286781104431067729329486458562078573154334063901802578706664810052342854199122313008997108220498939167882035426317681276928096643244335135424704701816282871854803837604528505237192282272785471402226324993936140245291848107700935842267649441017250165484889998195843372269599702296036948433674670277766044324665809307369507785005308607485787064026919288712393660114763566087649257144981026325550503306699238927321562746232641739872477205602682735154125644961054653575344640107411094914422210436471532898847941939471746475139782952240210627194514967646695251026406591279769523901324610238157526955939189424936451351221600761866576649273713540068329042921472321
assert exponentiation(baseNumber=-13, power=992) == 10759831948236152858622999010840476465702987922773005230792202784317837858108523156040153138973075579138837801680397477122491190681221551885274371896605800217066096807059353616610715815623849587853055475277221798693277469249239470670771039672840584806923090075424986604092363124151631794023834930290204117750026551424443117484182536193013624189367615898698877404146524908681624585326838119632767011526645255724979924345352097883785708657519654152355419959245781931273310544127444367438948131873680713628686974163090686651047256143627960221918467694291869680876613885888857103306706354970303255093432449489328555270867217500748713665332981591946426919413745980413256642384732569828131963759361345963821636122873538750939546692384622885293634222770103428233368410753414519714205070880477906828644506157827312606339195686054986263620967456737521168544517310938610662180416228682676132232963179718393134000224938685273303107231158594982634044148683880475830642500805213808639442035345064533445205660413335876711463752591153930070942595657686349929312775363843617006503061650957453689570648946957235386261239681
def test_exponentiation_89(self):
assert exponentiation(baseNumber=-786, power=757) == -68370278951782866999044644685853346454161027971947713825072172133281303847537227741966369091334240455769770316897148909187856066076789153674526044883280418939718712127264363884255107326084160780300266080553732826299965243721805802989358262477312623695888930663902518290870449913007063346253263694558236504601442967092311406615062831124136722274241756175669673720398599258370980709152232673899670081156936276489269455006705416117956338630898714901229097893507788368190988413083522658896313236484353096331173620132029641549622687249296466766351302688167353742407643245646590253805979252804001968150964577028079767800368960381243045088532415360884415097305988239619457699777895037387448005961320688890202573549639560437043694880601483159822711473464501122726101991296437603647494886392946440576990336507845248776189489757633040834298189987215622950444790253098173184111341622728076083250209690740793744871071992364889745212320163480893773037335045651841627663396536745980114958959825064831935323898955668176969933606932549050016486851539941103385594056315313556086818092722670814335358141425424678838485584452554972324571504033324980036945597861683514451022854316670664343429678976863015854786832409151703638839474216752869805529056932474148184729650201143790271607202725862366110070619704836216637947657178025199437163574223254249302110186296372987217280861123040054743728875296872675384664302690515912072043679667121767936600716960765274031176143111260442042763990975668692102101915218246901403724645264995633020448782439088850230044074314258025522620241321019734316833184486852662034776129019690512748662709631221279932136485729923932688117683081369379730258361407710320609888575903315576408625601522915829747973377534291490257733589514727630835208815974414290122103910725049830007815650012787946140825895454030085407889841811206814301540694501129205176280875386224988098749758893177752313233681403737266114282693320003826941184424099029323332733312641669858292890262969971104411589832067739593047917632557544555301049033076385358891005810963823342509022031842952227416853175033277977413130631036575922488618196367201635209814483706405927286754229204650475744137036943668850606451222009348096
assert exponentiation(baseNumber=442, power=832) == 98023024478949477550260710183271788163183980987434146522395132673857931851781712136760005478273024785495697058580712787877898745920505579075662899142917564632822665592035749920084710081668223160200748128885396088235428318618897589379949920382675284005501842339164384762298982114839240075484169890931707368800967662371047654711293583614298427332458431006711813911764114100672886136833624038242684804805178585227315156101597017060837027639177672968405294293668680061120759184236151916678235096663731409505400799856433905268942281990887687005517539503580704036010844713155542779832953901816105711624703209205315744139008714849126671972610700555623438903481263849074478225117782370877953774601542263466444200997038389620726497273673327301011361127298976997929892861414250308387040016038855808990804172370869820216751291730311424354723113526189839695844946123740938021676534099354242381676449660473934340219233806243803635917001856000563886653897332703601544260012140498031577197743348918891576841374077163313929279838669175443185320409512327288247159413636599666656349110524234666320226822304071570320231931028352329916836004521251442203382856498850458792049092962438316658407159712388916660598939110002217621241942569359847790013930260267179278416475625821947519930860114536303310800268967952969977345255689554349336800928040712669496706796116959906205721423632787653739994774114728215015823409444468961120728995437817059291292438737221362291540357954561358056027088762497683143992436921725952350362898507034677588137853153373884008568932068200630500273041866804560374754406700988319535121292305046561824238020329588377342782680657312782736118447526873576956033832585059241053703081252875587926163577422748985393956650775845277631090759452565942869501536058476026157527770726434585373458991344476684876754084467772844002005015300175104645528382613889877591119610802434067791237695891572176861980028355456568351360804635367013751339066076528806760202664495617540586005316407777138767508409330083406005042925453305896213327962631044856357624696633040987178599723878476197490889851522395923817714206532051117547368123136033812796398777777801788056126189036539463880135638346094631860952970964738043633729536
def test_exponentiation_90(self):
assert exponentiation(baseNumber=-487, power=651) == -3813763436365702810585613878426633600545002128602525036108500613947522506696606321300451961562062518603894644597296137356889783951520276274809970482531013224301223506551985816503693282280650233195827826394699539403358047857011520885086087014725139804092884917049515353166531164300403157261529258092357148024885740886892959041658252493426633277460228535450467526794854979723520051888499756175109902372465740315303469236278216217353952466351444028616341182946933469010471119594445582738917319514488729956324257633167001863540123673579871229907456037320954143361897509404015758787407763511520791978693371221586224097374440717356312231535631532266957309615531569951942034638063421775469299645725818352077261594233370526646186803104586072312107478702484828511143387480025702076568481570449869829462432765066177491550561165801138393269068976672139075889346556235933330962838117394551741325664889615870615577319330509433973213125518339624340629624535438754660038073217000956321883878775167554453576658322157503397968733064116477552149517520582768180240849818610981892439772036711074228591202839256939257147067430715723845697713665253232159404376294725732053579340995912840260268602919673123598079260804706338806992675133874246617771736544788916892966947099270321256938661363403322571913166297237863031893245258162341238800600297002155428437108506889186105314323785537628850479153834626476491194629195305731317851363485520976611241502384181149259113166984567621806407799040178347710917244591708899433117724054775750093780758658763681378555963155116561076052541514391477985181883669738563499682871359373058809818801912112206102841769764250914302200573545283330227866019527411345752724989147741169991136435988604862471277177955732802595096743993555907121086263
assert exponentiation(baseNumber=986, power=846) == 6604957694658716186652079073543192791347626608693373249324438540124350903514915881791866926490268856366302977510383270961201658689779307543191205871011653013680899400609718026901085085263233519964753857090149394279817426096463892531297019757013973040767551811157855220106951785427646315061560118493041132768846940720383644994990177581554566435430018007831619499851535172701099277279478253788417955185104672265315164205169865968780813452558199771253539229049674387757853060153614368055987867455646637359768919306985078967545541217888156326554189405489103312942062534266576655632788245727214744132957665875430104855532239155374948795724176097452265816758238862545940616256938740584707802403079385506201438844025486865901177929857710600603115856278405095257430500922140825395017043972809460907121751693755063010743017565006552555975687803889147384505884366885056287853519254274847018337022172573786007024058899736214436031352081233673806056017780605114512792942050558802255626671311025636879224230815263058815658069023593893011343085958633536574264163782456775252034873181862727411464273667616308496107717824801699593041624265681180038202161042397309105860368468719374392856633572547920792359840068110964824952996199301212940425228723937221458062405207470359326516471751574868885511299252587839210649024582133288913360793227945718559271676679633630421538845425197665432687309635193017001168141094343782598775136451011173553955742473350626890616622545031445116712930181172843724116551129869807375837551989639841074801198100570207195576907723979986746254378915461704506647685962369629935428314542438929410196553653548059187299606163938257027625039220296822745674369406028492641505012872637220755635194838669202515218408846549722413740334133076218705535204179552684452132297071114704656088705064340800069089228036598804002551992400752206183299715255809573489301635233266621781139966440061097540005014814156623883045201789470745780305933930214232435637157484048269396079208847560558845097546791050252566977757769484580873336066650494539531186430867492931973531153000814181412468911279677438337121585681927196927372694610324366501329480738478719902991840378653198357712822365365844619575467677076374107532629297068643881831781434053282418229076971139251601113367806575070128470195004202275765264648043059105066271268265063474742108991335112063089339736370346246914538835684710932525346003114517444946960930340771200405267018226689988886606013462348192625374693584581212652543499847742577608844953443420163880290532264319783778560223463079936
def test_exponentiation_91(self):
assert exponentiation(baseNumber=927, power=653) == 318468436944114550546265352251907896423135317836980405086476886518541299006312842373209650421510842360995466461497985441829520844882836606425334117088957763227527694885584726155995091337818517863221711986185244973890640408570433259349005027695084109667663100270285978116569229637685841319864772924319501807165515155088666039714647412218902247552388891186860468015320191353714648746707283617516244835204599429072248693762675666096608358962555889102707728325406377060232962813091442026041122047253349973776072429315510759344363676349979782961266018298428988422889146912360586032850640576210340965810590973584349293911038362160340215970320544198671968743812278627637083255705161446760475044042130245852582594289254457220707690643424508171758915396399182745702127989011539885468111520005672756043371407321888925678256937139469380948847785087249644650748188444222123538707085272477473155125509424640594486360547745010428422728934493799428695972357169159856512918133590629072836338485232532217696115305533324415106707778433366918057306309203570847599439767663468354830367172278497155830983904446753683973638460286940258147140024624270908578867373652207808608945307924433702628802169522483031918432219336560804783806900699259456806920693575553024745144707621790049917154424394025109316538925915923260947744625799296661774591695743522254321667532302131142585375161258310924989962428911033143509001243951000883089628047539724018018772830642690138340037878347979210283848373322789770577052639501321018213303437153049944068611693361132856850111534258575386656949432495618916188407384166920786982936538015719016104876198052795272720414068037936973759481852420218520936504209845775704022704740221088942395174627322365002068105534195001193107622842385110068444396241679093359770325155817269928314783779459365766941234972902219633478790971310535522837874475771189658068514688874091589098382666986248102734815960317406430286135848169952652027872916948767
assert exponentiation(baseNumber=-742, power=531) == -1529233147471673196309507114675390321056153861297056354297792695127927496051162319411897032122203172971067134112167770501812867301871315118518582932448538702211581251082890887562367699732671568190161267893613316134597466734737320769540916599240058307777168010384596591980677848362375899432699841604334812615609427955665441121405000256821161258759716679505491971986083360329840522275719832688219349405849946219715613900864415105783176774256191480888033588594370903215221899502997676501500234923020228194685663711064969373831854454906791820556737762599142195187441034059130597933773984779926544991162783866451602719710911115733328127376833166507331769869194390083171181876733035924235914936203058307046551430580585211355852393250822818862714949991069825822627027422908330763021902863717183704109882664858705893120754914314084749460959471026056371751717176237012115840271431059774295561923659735623205946764950390318265315293600906852878650153801541413657126395248636333804353175611333824140922818508881753674013321261016844104847499370547196980159518783755546814294812422087718286587541789803736754423943198760598814119005387772567077158165303365308202672623703605934931150008610472317971646234570380481610032560607163772699792071745153345663541378307920328294601804162403992079996294159691063613885621338009382379539333139592912673820529831084910699175095455187721743492399467637771913823334755372758331655930287387767218934190670408170213031661992420827814511781825379946423182830480083635429276762218270924368777000368734208
def test_exponentiation_92(self):
assert exponentiation(baseNumber=-221, power=562) == 3535556737299271530285004974300394191699712260171647155485091129510910052921288896741130619036925767520732645037625818197243420201484737187868015767395486690422976261988701386858556240428661539264020960773434771159404571770050239298630502418339903411288805042536835828639502671238878594614191150344902893176266263523500049807205442957850915147079674272346781102273108173280425922740303555069757513860196413710435798181470599278093241817428764874488566007630414392450144639916255654908514397591703285336853926055860853541640477359157645398787789179032983956765597518759890199085866207038841845754911057118731482261673692885580398458317912141908281348338809596174255634603982973079237022278097183542396035458746432925695850746582614660906591152070050820904907468308106582253235335604089523827604809138710681274818425764239038839520347534524413969567665602351827928795210022230511006894112128114592221105659411845003896179147581951673583500190845310450693169855564694896818098583370875217069650998827645672025538984328395162859516043316623596065241344606175586058057853308248880544053192913039757678528808184551565084826696061177273890365578487523903944727174235261700614759295406079548191449198019562845855241576054652460651890699816003501291664230044859677853044958596310827175494051912338746886032924365866199510908041
assert exponentiation(baseNumber=173, power=849) == 12622388886775437844585061265431522352844726358675634935595593517934235587500536948173511068778470390504583889891888830914489357584114203023475294027656920975508871721256137675336378552682209940040700219960965441008561283619317745025717677223151796434469862524345134588727518002457989672190181167616947113297301285288913872909019185253718685844615814015738807272913457327783526942261777681157008995812716567927015664809984535657307316873521202411220711762950718642916165302302273995133164382698565090496715157881885788400758336436516047243971797356446193370097420307876939001388903839437895795080140175716842360328402445938442736400017278887602857209201489121439099405962777306785512986109677314645208938672381411186400397165245116324779732051323284747714931557375147470492112019753500745767053732879322394680667043002562029006451117346346065025371188040399098868208329271646554560800761129348476928745626471272273043505299672717584735918684075299712858043755453711738830412267229575021696487602052997117929666068016329421162964921402724247245755867175805990561178234310181673387667779258922820758508267664562167058966171562904756047632060044074719390191644947364194664577762543965612543135211186848245324609274693600111882397399965308151344017809750700689575814812397442944720108126979471869797251156792719099974715549176532045071267952262826640381860064630291328379900047539134959598514210395356741211114791099489227115076533361609798540865279700769002119373356263512579688904106138176622886242537071450414460530299884690340352101478779085802272712675291049829813302791877532816311023082720902768305934571741551303179829504629498597517195303827337595394686747284319711459066889917096161658750903869479781660843884232396844616590685831814388501889092678337511082129928266452111713842194623642679374234886657519541564893326936557471493494084931031570100022168617154177606709662682193999012229719436013
def test_exponentiation_93(self):
assert exponentiation(baseNumber=-502, power=720) == 3211266467904646014589533530714735914977189325291352069031662593270405489245801201284460644116952434404163799663395330702884857823183612799312545886367404705836370179203996510427479917322489699305067776304130938088435533363548209449621990257420359216189932616338565027143378080577192573465833479614066827481176645230392374205041918604879827320784314314351468473957959231960364173722366104620603010980449076135455558829665564482178624545940108268040634219105556411522660368069070486675028390385567476553536646593656970672966021526439772321735514415627068734143021032906374076366395988226556847797678256743219982768337118857108698823553057122709436032607558782268994015837869779068799026316106450149585206045940274421496128387951471288647718528315357344346351503057093078437174444341620721253101354347018710853429373724415333444453222912368668359324265139453679591035736510846558394535856256057021406670250744163757862560551980663142111374439512066921740624071287177156801915394241909785208212303147900639693940730616750432079775834151031772183463477882619529752829334426712294899931183157739266459504255897044100941246420780822774872468616121646702665068317374180586752862258155977342315222040826122302727952445385586716530308462816837205091086880582515433127135797216258505301751922664959455084353468490006618874146349636735122400016636308928225587846890206566228345609179772874834227711574022778475827827518929538876762581178716731869361026837732813825358977278189464083413471318572957853916755051562249748756141558175893330341373948894584643520663937219856473809412516517694248960041573510087796214528634034033310905638345835548816596253730920958948957015474847125872521896672085940911287888556197761989603473329641443178356325597470649809434311878363838718858634516017431184030630032633501278657018968563048074740416306937585494999159213385885854429874673469355049430929664040780730108860513253913329103520984588709181434477425588658635800576
assert exponentiation(baseNumber=-97, power=399) == -5271351448749200976938805072521460043215790795445180043116540396103312175334730346122985461181832425779537968624418961952428925042294690037225760964686371632437681735374596257241843469294586633529668223701979370503616638459333959748306037510773200270218332321861857387233556566467181053150761268611322085338283684217543960106772375067126146271475172718966822073040026774842848650519092386500854733817843728470928035016174521478481770962260789822925463135145223900953402024799915433069467434740772834241649609620525944983644052828542261253372714918128729025963597329130195658544609672455981362575176096485540467105762233519518008249648415769064880011372619399396801536740183022213913316268668787751717307877174812839421101901786735304435590350948805154543533382726825153998477651948356699478433
def test_exponentiation_94(self):
assert exponentiation(baseNumber=-129, power=596) == 8155814480260877221782116180820716971983297353725742044951170909752454715340434563487333199933801445257064833496682922525220778687825104002350845626232871896524163893834311871486053472712458222545555530176568465535531291823461603392539161667183003238259520801432432588480147383843679164252930307584766819352309414872181642673499283958345886582066044724090906806848789023703108449256796275216245148743117800280729569818405565985291535457667072179282047526274833113587278491603438827397162541400188492711780839210462883690014011019383783964087517010186307585162330652956523271396052364883426543834098079736807025264837788683370878425336737914875108909041330496790882190570170925718554206805824337551310288959245826375464350518768867441020247075030805400736983942400797098304440193830967012233652495414415069312796210844942170985179667032092287329420627153494801129326768883881719112630343828659224301476290257631470057415302991432907501053373291548065204904990775530486989855921111081022404236702805950854814952015896353771156749449326853953356226467666148052824339556607925282139522487821729475064894175121175621555330499276872388067075492697509901248946625195934461812089903872944377042695056422549441211764178308271928512474852271138596503675575425630251521
assert exponentiation(baseNumber=872, power=366) == 169446844366849340944648538810751875488115451951551930815300738697992145522401321736704469996676327842939279085470557400590934214834500802145376201149479927634467514864097970760550927650309308165524472135833458940180089540413558031930925278945675841130184875721000108618075164185457232878153563859878951589022146534170137390599493262817288934993665304278786760909324286023466005246099431170764011218647147166589110912987558405807121082390925238074794835794666568126907858611857564427304856764322844630404193340188642912017319394697700917138483857928445876953834365520956527296010779715757397792486591344493871495599713259014589063319440265382310475470784780838783534426342535085463603989761673689916753873648205678314909474502302405906070487690027618606480698419225939406176200115604810544583218425150030088628112350673306485335777830374877560241039971218499955404540999530277471285383109986532343448571035392672574559096671881260156748558059217042433743000205222248200422023991998147634478071706889309637326862429946378704781942480907438831119564569606470642217594045704699904
def test_exponentiation_95(self):
assert exponentiation(baseNumber=505, power=475) == 1157189825157074546999365537748466729654317098088386812055149759520652948397060100777787938194804740671643766140118328558119643778968273639242766020876978751403830746926398734381839170336150324139131512182429391259781090163476043527631986424602992636745796329228094010973613225061605710336550060200078308389841568341172046902074553299914394947296498257554868032703462986156624202944033284883763099793945219550736925358639837037067801130107153756711726764315033760957682873510529289270304169308495753309230931843842089627254734767646511960201255370847401309180837741109817592796269001660510809717918650428019836638727041015900106920897947824658232557800633078137086291058946179493230212544560986208026664644745846309856035878544885498953759675203493943069286258481907513384819300765010083233977146715585786876203922114090228368022825059628473761981389552583458078929658113649790776030087621100838983691791853789329897055977015879995542053582744109163362456867775359178707111294442587880133040894595393100920464761829543365098525415949649856605716855581505048062500391761704081105854390444564117071910692133374210446077077527921904106674990573146043481852058892078858561306451999544662988320648509903514989692931866400526304588861469719357198703869882283612469109357334673404693603515625
assert exponentiation(baseNumber=-689, power=821) == -150654180068068748959441281889786715973896635118384278193844604424586047207398046929009085943531293301353630283097309939989636590189496600781379241363287030778802536136534892026183934844844988423412103090040478987669363598505355307814805437748016898529934384945107221479082277639309866483180391627987318877941142783686469859873046689273690180281166559131684863563811162777476730622204202436441305118274219791047762954515145656347938464972785850947194679904507820219041118270729116810501432513022942596284535419662769886717241956151923773757829571846744626769521122408099318608770501740294241739104386021531094258354413202335811584997672425854158742411554375888146624196108336619019840678679972474165713355940428468543654782404870912066916845779037724182967340521901170062389019588506634044766765259960558488331283546399115484912063684981428472641675427915151729649941539649602102881328544771926092199021515788360513647337452686888078206904248451002364991626286050593188224134390261829744115495825893409036485372660556483957609987783012940391348725167664107331370081808629873909095266924697679663291880995744286653131864711230741611750690835804045411547506851363812975329690882457980697081049298300765392114885205894401279654808772721412720032309899765522300178736948500372685081768950864568175640939011914166856015159687373042151882814748539850682632154150562131436991441754892836508173494747621852806543076319617253523923087918808648834913236328964064410968847775754459053548918715814572740578502651893565400434202088286053396161083182256093022772021339760004769249766953492948167272956031677776318677877950025172554909198766084157886410170455756209622657654134384931042592447818010198243231626060083313625511388298751969937218913907247575385502224782546212564173045064217950312371626615069962621596412864810669338555313102708586029056442165567762532344006442763229559938245916227342578368051275451923768385247668555331691870443387319325112138559481981619877371759462625032354647849958584923396605997522168328454425558017169607937464611532470409285259596016931665105090776363324135581082891936526988548398264075060713611059890087112590620136371183664909953218241762214817130732909624144051489579562238224580485203058840990207978557089463749400935854174779122956048395326787725366021161969329531967290861607372946038826348110565489
def test_exponentiation_96(self):
assert exponentiation(baseNumber=-301, power=594) == 185565989918083298526373453301559977982677567091569192124696530960626227400536384183944227219336366524210469034108334021925936527964559953994759717396850109896731362603554538453740979922588471538150175584408355657291937286158766795815284447985656992801210366428391469496443067577349671507578627822244040635952254827762315261981806159310673296664097120648298581831455641005898745514484618614782886228894156014999938022607573287597576784544119346619735464445234578362055095709850924585072190738965256290900505872080310192053771496438628729393486503411978250203190727460855803549047969940761864807478033430030916498504613369319184524089779680293363371053174747889691345042501708245844481352741047438422022239970584727555557566977086733316100131136570648510990654929936075622262725299995795450577992049198194687403111395065698701031618540339947033621171532769607796641931734883119993039942346457980523206347136042516487521151570613651299932711340046613380437433120422960198532901118141899230213759503836884636879468621874677706323059915005933554200558258385906113287500458759907905163698435870812647584550715602431695656171951980971528546358658788409393244808457799574656874872857073256520562388799091562825336173534483874808218852247094435585104944814169818186129392217725187965312411863608400293127554240060850344552121684260018937587118215101057530513675879796926549614676541747569288218354052068169979740975737601640681834363936570332856046558800710840160159380024139068201
assert exponentiation(baseNumber=372, power=250) == 4322499686765732339842448690512689937649734213982719899068553631382932805186118696120269973661591594484654282392304782373488147886669362767394975869675491278683136930946671467130822390502866729045478802072893851859929145273708709243196425336408771700422448147503247675963315251660051287672033061326622728639576482661004042701175552836559904984448096333624848848277244536086413869163164993983650793461645752722453659832469216080347701442661280305175415245016995140614708475103201399500276718757553578767718955661358815582900512715729007969760037457555059581790036006323834444879628578955048664147372428624739338119667318963891538814838845210624
def test_exponentiation_97(self):
assert exponentiation(baseNumber=-630, power=999) == -3477033733375562860273881648454064056853393474698350805397280874400331213580302756488730446357923143758325607410805600700410931386068296937896003844279797005435505765861159319429801939035746505157747766672847199007898658790273988001927662904606020425664604698192846567730332240794331247408585558654866743861188264515723219470701275206627101820315320915423086138922540406679429932271103590036951489653227379099967330625746404651964617591191303227839161483823055643706621382826602293267008941580627462519118516490121282965862630303251420072831361026941010677048703521508420617131930111418999242327608554035576251553475465299821645435344393134212082136065941899878975465189191113157181664555972136605428511522813246507992091452124518919908113016476161026125849609971305190970303058849956180000180417503217757071258159738198402005382812627397420615166452907568182579313693067794663080044374402731185463793749845829395575874024821988057294560558331229483429305965735392778362181899255486931503667330917189000740956968917499649531290480110642349591212409620525560414654665776120221043851578190675594709828289936459026779289316595382881843928078614280302468560199994336768682815616016593892717011487501987798351793654129723571560150335922785561128821132158495434420759921331917230007016113004866091414537049206923388998605676015395453263684254947285264431755158378679657887652708158043283628118060911984323276047895234839427114805788371359270757328040798567080552359435865437852701315986852084722185215171052649158892095431966069397967042251111504109605345485737317413027718096974542891346197712686534390132775741269784230194309765197352496588125951687549001167076260908164698301304228540730531092179214708315108665816010524598121473995995611093898209729352341924809545187817865049875383257302480149064127000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
assert exponentiation(baseNumber=731, power=220) == 1152983071104430077858929356760442824508846283788255068171991812067556330303455363939463870941039181917213017005311588949701052635114533641859150327510568098194252206925448408503485267915543841688904061241168744763924052941262959815619776551079839426526255798466974338542883246799898953350391636074254226709404887479978090360729694386670803447807512797260976899125672330504654632414021494979454779145253425158351795774789047838501586330977771260864440296420725627365015306433000992439951222432851480562815705874484663318867713304580359880049614935077620470420907618051341744265156110302919837131327454570677913020331735203532051601
def test_exponentiation_98(self):
assert exponentiation(baseNumber=-359, power=302) == 4350342706283274580737152890746256827000254552764665561884493694367418619233628915911700372983779895348204667216264978469488203265245493480169577753233047630283081632561526694512346180869687680894639097506439840799601536232304081132163129949378112421049535449581412050162350246580746584809179433431537823451035424961826416218015797750003015305829274238042096742406790500880432495177882827290549295716938449455140780617489464685777320265641826519427245154116515827527149198120419626393190422404844768077988132354830703319973150333793739271278241510135774346771478970109197585219633228746842737395022788781225004372293383377589764036342912087378870777832672778160048420315484386035619793307995118701684798505816959353385690878039121990982630284396536065714508393068744740881
assert exponentiation(baseNumber=875, power=259) == 955181126870238216266744937554384653090944561054548488227325073605230092246432456871093766560044621487174695087027599132406907067703290808564484140576511064777641568921457415953526010665026444073839086307112971103899418232885959118866997588191675744513266649659007736659223688888865296274877206902222673375045567929383349797148670378580013505450157603890501724286154180419299253725598838991234497479675201946653420380534421786838607617844217028369894771077309303611275487673380248385132329775467739187745364398184068647704072384971554382437635643627821727850188400723385111679548677555032690964509295787733168638042302979395443199108669599309373678503272460524206595991370979832073043252380301504945937917677320668958271081272481950463770772330462932586669921875
def test_exponentiation_99(self):
assert exponentiation(baseNumber=851, power=773) == 684778230457704145416047398731484366944602330489324890777457352027827869065609361539646392816641155987389532789791883371131019898239356535117580321659397267181241711071169132055775075160534573391520621037277508778758493581035877925395540808188771073053053351351579952676504102002015024856182583231835898325932955171441486262172125945760265752377464508959181206123899774507193455424685064913262254895442018030593228086284312943989149400785148527165725355667163765776318903734248054757915899821003807915608462451156023806254045001573341280478314626897737633167230479196320233984110569406616716502493972377251945335269786135638021980480124978613777702180795817497540866883978598028007868514203123957292065285974115690175931677747903138035343400476435842697394981912408119815467802633784607662056578319320820959706755004818280422214562985563099729467548430292376812846732471430873641668228493170282588162288417386688914761479167171982630276624433333770181023827679888730316379279270366869673400096176538846482915126765547574566762750132835387073597396369293944379558596913165774176033515426624664850100655087530444702606822028432984907731974618105048545119344946566967524985893866550628716408038577323923734254643532347883763231764804538370818752581883257517086362840890025918567803500827084753547592779522018246802784767328276519957145691946080614717671571722319261902378171108996267808903928460740521436840223196052213502923222080652757995700293545512680567184921886385681843400766616538777839868726478194794935586048603406896505216663435581145948604196649828211214293704039242959551513082645869584023377664690270820385118566238497305460288530492377023443263195793134488949902551274723531729893677972887956367463431785321440360026919714365220207615626129104471083433553728740517456785387082418837993985167876752307479780318419131379862770466383968246562354674330300832935451780750961931607317602788594276421175822068479081424089322481230005086967387681673968631655573583818998577718148189734512445339325104704491211935855476412426777148838046648296401059306276048484212243444261141190940254827272161999607280278022280736489386233897211932436268230178416761253931821743862501274618905262144745653819951467703441566352725763376383144369194195994872265516805157959762051
assert exponentiation(baseNumber=-128, power=630) == 34856267361850538806343208752705567422627470537683458154205011792271044969555743881342110779484844145477845936999041784408984298957039970113494533826658787988061644101261149806431002443366578357493491974485972267545827939503054485387889203189209519517899489272958534837331162249584043724165267810568332903527345815377733247753696312084843210259837778037558248964896737583950998291780610304683930605630838446736179404099815866924369683204652290335465910948542402735938742709484385755786255295113569768765273550301958852731542620385667433996162146323274144301529898072793340630424636512314199781417696900937705282278380575497374089083270969605332135333027528450579201024205122883796662264973788548233322100736217819214010119859715120034743600927213308800513314582045859079631113810227293396106319437492176891512429359270180956220274679991299924595722202465919657140642537090569510637700653542668807529021680474592109882716470757272974416835289906383271815972539268759530041110057425513782912200983023346923931091350687454626109607266680906005174273344064242707974816265662201039694114524063804750829192947096227214522574225663377010088662911679219638142192273638980587855700600611709166967201102044220526526536507302376416231536984602795466310376237598687502590948936652196501709362270763761347015468959730899886634549689685377024
def test_exponentiation_100(self):
assert exponentiation(baseNumber=388, power=492) == 50723474240945956770142361068563027401491424630438114200186898235117850398398339800890610386393685318181535293438950601796667082933990119072887719992410006931066285423448537537308087580998521997201627596631021389602145486528316460048216750444770900175112229662291239284082485383925204646860051665513213914704223715045996315970960950734233505921524742486427109198007767314364482538645705657093270609099695451437345859813678481154876100930985880107530728299874959921963654636139063620362423349550102954485516148224487004463719366469571419255669030362100408241383710452354507076343876106695174441856262089878858057956252396619122412840835548890723416546299114168257658661313334190083267673562754030150354124739960531623200245641805447036262236803327888204809224361156868146272841222262670268007238648060439917357411924672187102558504119128836182862085992710662701876214788190392108849557437716482415729595188713879884795888837691321178850225693660144715247874614827575046336090355222649801623544512838794888766579172821062899067966918669301241489585652702836385215455183038719178282775743486605645605455793046235699044813451239961281684062743213530389062942179546568025897132269730119323669503593970405930792513509231697865606545651939934088239185895176540137460799884866093056
assert exponentiation(baseNumber=-280, power=366) == 45691926682530063595374828556188400280808515737837262716454176103394463920604752016977675279505705927270292818959347242858012938031303122178144397733998799930989108407692626846418129953209769644904316001388376686380602653312153210571045121133793247984652891334555756602561534690631577817283751422083455910624257655093100071718035949607747911562619875867352681026775882467943667232640779001705554553281383209227555591383619962462587111859935369426615925724197958210814899338137606379859940357436306888092236153788392398695750959104000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

View file

@ -5,301 +5,301 @@ from benchmark.gcd import gcd
class Test_gcd(TestCase):
def test_gcd_1(self):
assert gcd(a=782, b=82) == 2
assert gcd(a=829, b=830) == 1
def test_gcd_2(self):
assert gcd(a=988, b=163) == 1
assert gcd(a=505, b=952) == 1
def test_gcd_3(self):
assert gcd(a=971, b=855) == 1
assert gcd(a=30, b=553) == 1
def test_gcd_4(self):
assert gcd(a=961, b=161) == 1
assert gcd(a=813, b=867) == 3
def test_gcd_5(self):
assert gcd(a=240, b=558) == 6
assert gcd(a=250, b=967) == 1
def test_gcd_6(self):
assert gcd(a=681, b=608) == 1
assert gcd(a=20, b=316) == 4
def test_gcd_7(self):
assert gcd(a=587, b=964) == 1
assert gcd(a=724, b=730) == 2
def test_gcd_8(self):
assert gcd(a=396, b=396) == 396
assert gcd(a=505, b=270) == 5
def test_gcd_9(self):
assert gcd(a=586, b=958) == 2
assert gcd(a=67, b=461) == 1
def test_gcd_10(self):
assert gcd(a=352, b=214) == 2
assert gcd(a=434, b=948) == 2
def test_gcd_11(self):
assert gcd(a=145, b=992) == 1
assert gcd(a=262, b=926) == 2
def test_gcd_12(self):
assert gcd(a=8, b=550) == 2
assert gcd(a=606, b=904) == 2
def test_gcd_13(self):
assert gcd(a=344, b=780) == 4
assert gcd(a=672, b=971) == 1
def test_gcd_14(self):
assert gcd(a=621, b=385) == 1
assert gcd(a=608, b=499) == 1
def test_gcd_15(self):
assert gcd(a=301, b=638) == 1
assert gcd(a=375, b=876) == 3
def test_gcd_16(self):
assert gcd(a=807, b=763) == 1
assert gcd(a=44, b=728) == 4
def test_gcd_17(self):
assert gcd(a=331, b=639) == 1
assert gcd(a=499, b=663) == 1
def test_gcd_18(self):
assert gcd(a=334, b=408) == 2
assert gcd(a=137, b=617) == 1
def test_gcd_19(self):
assert gcd(a=394, b=904) == 2
assert gcd(a=910, b=867) == 1
def test_gcd_20(self):
assert gcd(a=295, b=785) == 5
assert gcd(a=991, b=191) == 1
def test_gcd_21(self):
assert gcd(a=851, b=47) == 1
assert gcd(a=180, b=535) == 5
def test_gcd_22(self):
assert gcd(a=962, b=950) == 2
assert gcd(a=809, b=88) == 1
def test_gcd_23(self):
assert gcd(a=704, b=51) == 1
assert gcd(a=708, b=429) == 3
def test_gcd_24(self):
assert gcd(a=982, b=53) == 1
assert gcd(a=342, b=530) == 2
def test_gcd_25(self):
assert gcd(a=342, b=721) == 1
assert gcd(a=17, b=726) == 1
def test_gcd_26(self):
assert gcd(a=519, b=126) == 3
assert gcd(a=167, b=760) == 1
def test_gcd_27(self):
assert gcd(a=647, b=973) == 1
assert gcd(a=929, b=345) == 1
def test_gcd_28(self):
assert gcd(a=120, b=942) == 6
assert gcd(a=639, b=726) == 3
def test_gcd_29(self):
assert gcd(a=233, b=154) == 1
assert gcd(a=99, b=658) == 1
def test_gcd_30(self):
assert gcd(a=275, b=550) == 275
assert gcd(a=523, b=488) == 1
def test_gcd_31(self):
assert gcd(a=651, b=262) == 1
assert gcd(a=364, b=503) == 1
def test_gcd_32(self):
assert gcd(a=71, b=619) == 1
assert gcd(a=826, b=765) == 1
def test_gcd_33(self):
assert gcd(a=804, b=346) == 2
assert gcd(a=53, b=492) == 1
def test_gcd_34(self):
assert gcd(a=652, b=193) == 1
assert gcd(a=459, b=293) == 1
def test_gcd_35(self):
assert gcd(a=502, b=431) == 1
assert gcd(a=64, b=209) == 1
def test_gcd_36(self):
assert gcd(a=4, b=290) == 2
assert gcd(a=435, b=98) == 1
def test_gcd_37(self):
assert gcd(a=160, b=498) == 2
assert gcd(a=810, b=131) == 1
def test_gcd_38(self):
assert gcd(a=227, b=596) == 1
assert gcd(a=724, b=722) == 2
def test_gcd_39(self):
assert gcd(a=562, b=470) == 2
assert gcd(a=294, b=596) == 2
def test_gcd_40(self):
assert gcd(a=907, b=763) == 1
assert gcd(a=608, b=325) == 1
def test_gcd_41(self):
assert gcd(a=973, b=653) == 1
assert gcd(a=348, b=221) == 1
def test_gcd_42(self):
assert gcd(a=652, b=232) == 4
assert gcd(a=435, b=535) == 5
def test_gcd_43(self):
assert gcd(a=562, b=396) == 2
assert gcd(a=945, b=301) == 7
def test_gcd_44(self):
assert gcd(a=166, b=78) == 2
assert gcd(a=527, b=701) == 1
def test_gcd_45(self):
assert gcd(a=759, b=782) == 23
assert gcd(a=30, b=464) == 2
def test_gcd_46(self):
assert gcd(a=176, b=284) == 4
assert gcd(a=370, b=103) == 1
def test_gcd_47(self):
assert gcd(a=982, b=948) == 2
assert gcd(a=831, b=710) == 1
def test_gcd_48(self):
assert gcd(a=173, b=178) == 1
assert gcd(a=999, b=894) == 3
def test_gcd_49(self):
assert gcd(a=720, b=240) == 240
assert gcd(a=100, b=504) == 4
def test_gcd_50(self):
assert gcd(a=145, b=315) == 5
assert gcd(a=944, b=357) == 1
def test_gcd_51(self):
assert gcd(a=946, b=524) == 2
assert gcd(a=380, b=166) == 2
def test_gcd_52(self):
assert gcd(a=851, b=890) == 1
assert gcd(a=292, b=362) == 2
def test_gcd_53(self):
assert gcd(a=529, b=826) == 1
assert gcd(a=805, b=209) == 1
def test_gcd_54(self):
assert gcd(a=516, b=766) == 2
assert gcd(a=586, b=417) == 1
def test_gcd_55(self):
assert gcd(a=873, b=139) == 1
assert gcd(a=121, b=726) == 121
def test_gcd_56(self):
assert gcd(a=371, b=142) == 1
assert gcd(a=999, b=467) == 1
def test_gcd_57(self):
assert gcd(a=162, b=653) == 1
assert gcd(a=570, b=393) == 3
def test_gcd_58(self):
assert gcd(a=867, b=952) == 17
assert gcd(a=968, b=464) == 8
def test_gcd_59(self):
assert gcd(a=941, b=444) == 1
assert gcd(a=542, b=901) == 1
def test_gcd_60(self):
assert gcd(a=443, b=214) == 1
assert gcd(a=573, b=303) == 3
def test_gcd_61(self):
assert gcd(a=385, b=9) == 1
assert gcd(a=898, b=88) == 2
def test_gcd_62(self):
assert gcd(a=180, b=791) == 1
assert gcd(a=153, b=876) == 3
def test_gcd_63(self):
assert gcd(a=571, b=114) == 1
assert gcd(a=144, b=329) == 1
def test_gcd_64(self):
assert gcd(a=591, b=780) == 3
assert gcd(a=334, b=260) == 2
def test_gcd_65(self):
assert gcd(a=710, b=625) == 5
assert gcd(a=722, b=108) == 2
def test_gcd_66(self):
assert gcd(a=946, b=67) == 1
assert gcd(a=546, b=445) == 1
def test_gcd_67(self):
assert gcd(a=297, b=525) == 3
assert gcd(a=561, b=154) == 11
def test_gcd_68(self):
assert gcd(a=686, b=819) == 7
assert gcd(a=955, b=931) == 1
def test_gcd_69(self):
assert gcd(a=549, b=875) == 1
assert gcd(a=982, b=450) == 2
def test_gcd_70(self):
assert gcd(a=969, b=524) == 1
assert gcd(a=656, b=193) == 1
def test_gcd_71(self):
assert gcd(a=248, b=750) == 2
assert gcd(a=578, b=901) == 17
def test_gcd_72(self):
assert gcd(a=969, b=67) == 1
assert gcd(a=524, b=663) == 1
def test_gcd_73(self):
assert gcd(a=308, b=175) == 7
assert gcd(a=272, b=314) == 2
def test_gcd_74(self):
assert gcd(a=471, b=974) == 1
assert gcd(a=444, b=876) == 12
def test_gcd_75(self):
assert gcd(a=409, b=685) == 1
assert gcd(a=624, b=707) == 1
def test_gcd_76(self):
assert gcd(a=625, b=552) == 1
assert gcd(a=525, b=963) == 3
def test_gcd_77(self):
assert gcd(a=490, b=431) == 1
assert gcd(a=929, b=892) == 1
def test_gcd_78(self):
assert gcd(a=836, b=938) == 2
assert gcd(a=208, b=418) == 2
def test_gcd_79(self):
assert gcd(a=628, b=306) == 2
assert gcd(a=434, b=846) == 2
def test_gcd_80(self):
assert gcd(a=522, b=964) == 2
assert gcd(a=813, b=715) == 1
def test_gcd_81(self):
assert gcd(a=907, b=977) == 1
assert gcd(a=180, b=352) == 4
def test_gcd_82(self):
assert gcd(a=924, b=703) == 1
assert gcd(a=693, b=370) == 1
def test_gcd_83(self):
assert gcd(a=658, b=615) == 1
assert gcd(a=908, b=263) == 1
def test_gcd_84(self):
assert gcd(a=716, b=258) == 2
assert gcd(a=247, b=737) == 1
def test_gcd_85(self):
assert gcd(a=88, b=349) == 1
assert gcd(a=304, b=102) == 2
def test_gcd_86(self):
assert gcd(a=838, b=353) == 1
assert gcd(a=202, b=899) == 1
def test_gcd_87(self):
assert gcd(a=329, b=801) == 1
assert gcd(a=417, b=230) == 1
def test_gcd_88(self):
assert gcd(a=969, b=306) == 51
assert gcd(a=642, b=271) == 1
def test_gcd_89(self):
assert gcd(a=611, b=14) == 1
assert gcd(a=355, b=120) == 5
def test_gcd_90(self):
assert gcd(a=716, b=47) == 1
assert gcd(a=323, b=150) == 1
def test_gcd_91(self):
assert gcd(a=431, b=825) == 1
assert gcd(a=414, b=598) == 46
def test_gcd_92(self):
assert gcd(a=496, b=632) == 8
assert gcd(a=791, b=429) == 1
def test_gcd_93(self):
assert gcd(a=658, b=290) == 2
assert gcd(a=968, b=93) == 1
def test_gcd_94(self):
assert gcd(a=754, b=194) == 2
assert gcd(a=820, b=504) == 4
def test_gcd_95(self):
assert gcd(a=29, b=213) == 1
assert gcd(a=24, b=195) == 3
def test_gcd_96(self):
assert gcd(a=284, b=226) == 2
assert gcd(a=295, b=521) == 1
def test_gcd_97(self):
assert gcd(a=106, b=419) == 1
assert gcd(a=758, b=190) == 2
def test_gcd_98(self):
assert gcd(a=361, b=236) == 1
assert gcd(a=91, b=99) == 1
def test_gcd_99(self):
assert gcd(a=341, b=105) == 1
assert gcd(a=89, b=765) == 1
def test_gcd_100(self):
assert gcd(a=330, b=144) == 6
assert gcd(a=17, b=427) == 1

View file

@ -5,301 +5,301 @@ from benchmark.longest_substring import longest_sorted_substr
class Test_longest_sorted_substr(TestCase):
def test_longest_sorted_substr_1(self):
assert longest_sorted_substr(s='matbwrp') == 'at'
assert longest_sorted_substr(s='mU') == 'm'
def test_longest_sorted_substr_2(self):
assert longest_sorted_substr(s='qfopedtdg') == 'fop'
assert longest_sorted_substr(s='3#') == '3'
def test_longest_sorted_substr_3(self):
assert longest_sorted_substr(s='kcp') == 'cp'
assert longest_sorted_substr(s='1JbKS;L') == '1Jb'
def test_longest_sorted_substr_4(self):
assert longest_sorted_substr(s='vnfz') == 'fz'
assert longest_sorted_substr(s='fKE'3;') == ''3;'
def test_longest_sorted_substr_5(self):
assert longest_sorted_substr(s='odfcgx') == 'cgx'
assert longest_sorted_substr(s='-",A') == '",A'
def test_longest_sorted_substr_6(self):
assert longest_sorted_substr(s='pvghsbjun') == 'ghs'
assert longest_sorted_substr(s='\8U<J+n') == '8U'
def test_longest_sorted_substr_7(self):
assert longest_sorted_substr(s='implu') == 'imp'
assert longest_sorted_substr(s='Q"Vv_mhE^') == '"Vv'
def test_longest_sorted_substr_8(self):
assert longest_sorted_substr(s='ry') == 'ry'
assert longest_sorted_substr(s='a59bP?V9') == '59b'
def test_longest_sorted_substr_9(self):
assert longest_sorted_substr(s='gkgyu') == 'gk'
assert longest_sorted_substr(s='20Y\#mI') == '0Y\'
def test_longest_sorted_substr_10(self):
assert longest_sorted_substr(s='mmltst') == 'mm'
assert longest_sorted_substr(s='j_Va6') == 'Va'
def test_longest_sorted_substr_11(self):
assert longest_sorted_substr(s='wqb') == 'w'
assert longest_sorted_substr(s=']') == ']'
def test_longest_sorted_substr_12(self):
assert longest_sorted_substr(s='wbm') == 'bm'
assert longest_sorted_substr(s='{NB`{P') == 'B`{'
def test_longest_sorted_substr_13(self):
assert longest_sorted_substr(s='dhvpa') == 'dhv'
assert longest_sorted_substr(s='lgoz}Pz1') == 'goz}'
def test_longest_sorted_substr_14(self):
assert longest_sorted_substr(s='outpjl') == 'ou'
assert longest_sorted_substr(s='>D$i$') == '>D'
def test_longest_sorted_substr_15(self):
assert longest_sorted_substr(s='jcubqguw') == 'guw'
assert longest_sorted_substr(s='s') == 's'
def test_longest_sorted_substr_16(self):
assert longest_sorted_substr(s='bfosuwy') == 'bfosuwy'
assert longest_sorted_substr(s='{EX_?r*M$') == 'EX_'
def test_longest_sorted_substr_17(self):
assert longest_sorted_substr(s='mxponpls') == 'mx'
assert longest_sorted_substr(s='2@U+0&') == '2@U'
def test_longest_sorted_substr_18(self):
assert longest_sorted_substr(s='sr') == 's'
assert longest_sorted_substr(s='Ze') == 'Ze'
def test_longest_sorted_substr_19(self):
assert longest_sorted_substr(s='xfsumjg') == 'fsu'
assert longest_sorted_substr(s='{-7R<])') == '-7R'
def test_longest_sorted_substr_20(self):
assert longest_sorted_substr(s='wjoq') == 'joq'
assert longest_sorted_substr(s='Mh|') == 'Mh|'
def test_longest_sorted_substr_21(self):
assert longest_sorted_substr(s='ngps') == 'gps'
assert longest_sorted_substr(s='ZOk_Zq') == 'Ok'
def test_longest_sorted_substr_22(self):
assert longest_sorted_substr(s='szmn') == 'sz'
assert longest_sorted_substr(s='jpb') == 'jp'
def test_longest_sorted_substr_23(self):
assert longest_sorted_substr(s='gafni') == 'afn'
assert longest_sorted_substr(s='$') == '$'
def test_longest_sorted_substr_24(self):
assert longest_sorted_substr(s='iedhk') == 'dhk'
assert longest_sorted_substr(s='2v7Z') == '2v'
def test_longest_sorted_substr_25(self):
assert longest_sorted_substr(s='pr') == 'pr'
assert longest_sorted_substr(s='3NyuK') == '3Ny'
def test_longest_sorted_substr_26(self):
assert longest_sorted_substr(s='jmbyfose') == 'fos'
assert longest_sorted_substr(s='Aj3~Y') == 'Aj'
def test_longest_sorted_substr_27(self):
assert longest_sorted_substr(s='cg') == 'cg'
assert longest_sorted_substr(s='lgoz}B4A~') == 'goz}'
def test_longest_sorted_substr_28(self):
assert longest_sorted_substr(s='li') == 'l'
assert longest_sorted_substr(s='~<zI|Pz1') == '<z'
def test_longest_sorted_substr_29(self):
assert longest_sorted_substr(s='fwghigvnj') == 'ghi'
assert longest_sorted_substr(s='rNBI{P') == 'BI{'
def test_longest_sorted_substr_30(self):
assert longest_sorted_substr(s='skeen') == 'een'
assert longest_sorted_substr(s='gNB`{P') == 'B`{'
def test_longest_sorted_substr_31(self):
assert longest_sorted_substr(s='idzpdfoxv') == 'dfox'
assert longest_sorted_substr(s='>$cz^[IJ') == '$cz'
def test_longest_sorted_substr_32(self):
assert longest_sorted_substr(s='gtl') == 'gt'
assert longest_sorted_substr(s='C{oC') == 'C{'
def test_longest_sorted_substr_33(self):
assert longest_sorted_substr(s='ycnqwl') == 'cnqw'
assert longest_sorted_substr(s='![Wg>"|WS') == '!['
def test_longest_sorted_substr_34(self):
assert longest_sorted_substr(s='jwkcsy') == 'csy'
assert longest_sorted_substr(s='_PI`^+g') == 'I`'
def test_longest_sorted_substr_35(self):
assert longest_sorted_substr(s='bueo') == 'bu'
assert longest_sorted_substr(s=';oLU=(') == ';o'
def test_longest_sorted_substr_36(self):
assert longest_sorted_substr(s='tu') == 'tu'
assert longest_sorted_substr(s='2XDPJ-w') == '2X'
def test_longest_sorted_substr_37(self):
assert longest_sorted_substr(s='jzg') == 'jz'
assert longest_sorted_substr(s='v') == 'v'
def test_longest_sorted_substr_38(self):
assert longest_sorted_substr(s='fn') == 'fn'
assert longest_sorted_substr(s='{') == '{'
def test_longest_sorted_substr_39(self):
assert longest_sorted_substr(s='dttasc') == 'dtt'
assert longest_sorted_substr(s='G-H9~') == '-H'
def test_longest_sorted_substr_40(self):
assert longest_sorted_substr(s='oj') == 'o'
assert longest_sorted_substr(s='3-H9~') == '-H'
def test_longest_sorted_substr_41(self):
assert longest_sorted_substr(s='plp') == 'lp'
assert longest_sorted_substr(s='_A=') == '_'
def test_longest_sorted_substr_42(self):
assert longest_sorted_substr(s='nea') == 'n'
assert longest_sorted_substr(s='Dnvj+Qq)~') == 'Dnv'
def test_longest_sorted_substr_43(self):
assert longest_sorted_substr(s='fihbfup') == 'bfu'
assert longest_sorted_substr(s='|/qEawEd#') == 'Eaw'
def test_longest_sorted_substr_44(self):
assert longest_sorted_substr(s='zhkvwbza') == 'hkvw'
assert longest_sorted_substr(s='/q#[p') == '#[p'
def test_longest_sorted_substr_45(self):
assert longest_sorted_substr(s='mzmls') == 'mz'
assert longest_sorted_substr(s='g-7RcIK') == '-7Rc'
def test_longest_sorted_substr_46(self):
assert longest_sorted_substr(s='puh') == 'pu'
assert longest_sorted_substr(s='a5FGdQ') == '5FGd'
def test_longest_sorted_substr_47(self):
assert longest_sorted_substr(s='riwo') == 'iw'
assert longest_sorted_substr(s='-#') == '-'
def test_longest_sorted_substr_48(self):
assert longest_sorted_substr(s='vhcpcn') == 'cp'
assert longest_sorted_substr(s='L@n0') == '@n'
def test_longest_sorted_substr_49(self):
assert longest_sorted_substr(s='xefaocc') == 'ef'
assert longest_sorted_substr(s='P') == 'P'
def test_longest_sorted_substr_50(self):
assert longest_sorted_substr(s='cphouvkfr') == 'houv'
assert longest_sorted_substr(s='') == ''
def test_longest_sorted_substr_51(self):
assert longest_sorted_substr(s='qdre') == 'dr'
assert longest_sorted_substr(s=':') == ':'
def test_longest_sorted_substr_52(self):
assert longest_sorted_substr(s='ssdtvwtlh') == 'dtvw'
assert longest_sorted_substr(s='ro') == 'r'
def test_longest_sorted_substr_53(self):
assert longest_sorted_substr(s='cxigclkxr') == 'cx'
assert longest_sorted_substr(s='qgL') == 'q'
def test_longest_sorted_substr_54(self):
assert longest_sorted_substr(s='lvacw') == 'acw'
assert longest_sorted_substr(s='W"') == 'W'
def test_longest_sorted_substr_55(self):
assert longest_sorted_substr(s='ayxvpywsb') == 'ay'
assert longest_sorted_substr(s='ocq!"') == 'cq'
def test_longest_sorted_substr_56(self):
assert longest_sorted_substr(s='vncy') == 'cy'
assert longest_sorted_substr(s='Aj6') == 'Aj'
def test_longest_sorted_substr_57(self):
assert longest_sorted_substr(s='ijbdu') == 'bdu'
assert longest_sorted_substr(s='BF`=^p0') == 'BF`'
def test_longest_sorted_substr_58(self):
assert longest_sorted_substr(s='ye') == 'y'
assert longest_sorted_substr(s='0kA') == '0k'
def test_longest_sorted_substr_59(self):
assert longest_sorted_substr(s='tkgcyndv') == 'cy'
assert longest_sorted_substr(s='rWYD') == 'WY'
def test_longest_sorted_substr_60(self):
assert longest_sorted_substr(s='ckkx') == 'ckkx'
assert longest_sorted_substr(s='us{<;') == 's{'
def test_longest_sorted_substr_61(self):
assert longest_sorted_substr(s='fjsyjcvmp') == 'fjsy'
assert longest_sorted_substr(s='q!/=cIK') == '!/=c'
def test_longest_sorted_substr_62(self):
assert longest_sorted_substr(s='efomqrla') == 'efo'
assert longest_sorted_substr(s='ol0D~') == '0D~'
def test_longest_sorted_substr_63(self):
assert longest_sorted_substr(s='bjkspkdj') == 'bjks'
assert longest_sorted_substr(s='PJ\W%5Z') == '%5Z'
def test_longest_sorted_substr_64(self):
assert longest_sorted_substr(s='rtikrs') == 'ikrs'
assert longest_sorted_substr(s=')tNKf BT') == ' BT'
def test_longest_sorted_substr_65(self):
assert longest_sorted_substr(s='tbbxhrid') == 'bbx'
assert longest_sorted_substr(s='D\TAy"') == 'D\'
def test_longest_sorted_substr_66(self):
assert longest_sorted_substr(s='bbo') == 'bbo'
assert longest_sorted_substr(s='2J*ZJg!u') == '2J'
def test_longest_sorted_substr_67(self):
assert longest_sorted_substr(s='fusnpw') == 'npw'
assert longest_sorted_substr(s='c7z') == '7z'
def test_longest_sorted_substr_68(self):
assert longest_sorted_substr(s='aihs') == 'ai'
assert longest_sorted_substr(s='=') == '='
def test_longest_sorted_substr_69(self):
assert longest_sorted_substr(s='xuwidu') == 'uw'
assert longest_sorted_substr(s='4RS') == '4RS'
def test_longest_sorted_substr_70(self):
assert longest_sorted_substr(s='zs') == 'z'
assert longest_sorted_substr(s='tH%dBe`') == '%d'
def test_longest_sorted_substr_71(self):
assert longest_sorted_substr(s='aytuwx') == 'tuwx'
assert longest_sorted_substr(s='M`%K') == 'M`'
def test_longest_sorted_substr_72(self):
assert longest_sorted_substr(s='xosuypfeh') == 'osuy'
assert longest_sorted_substr(s='*XU1YYd') == '1YYd'
def test_longest_sorted_substr_73(self):
assert longest_sorted_substr(s='tachdebss') == 'ach'
assert longest_sorted_substr(s='AI,Z,_r[*') == ',_r'
def test_longest_sorted_substr_74(self):
assert longest_sorted_substr(s='vrjvakny') == 'akny'
assert longest_sorted_substr(s='#') == '#'
def test_longest_sorted_substr_75(self):
assert longest_sorted_substr(s='ixsus') == 'ix'
assert longest_sorted_substr(s='!G$7Ok^') == '$7Ok'
def test_longest_sorted_substr_76(self):
assert longest_sorted_substr(s='srlu') == 'lu'
assert longest_sorted_substr(s='[thtyT') == 'hty'
def test_longest_sorted_substr_77(self):
assert longest_sorted_substr(s='xncrom') == 'cr'
assert longest_sorted_substr(s='Cnq|fQE"') == 'Cnq|'
def test_longest_sorted_substr_78(self):
assert longest_sorted_substr(s='rs') == 'rs'
assert longest_sorted_substr(s='~c') == '~'
def test_longest_sorted_substr_79(self):
assert longest_sorted_substr(s='nadg') == 'adg'
assert longest_sorted_substr(s=')^'') == ')^'
def test_longest_sorted_substr_80(self):
assert longest_sorted_substr(s='rethvq') == 'et'
assert longest_sorted_substr(s=' !G') == ' !G'
def test_longest_sorted_substr_81(self):
assert longest_sorted_substr(s='zqwbbpee') == 'bbp'
assert longest_sorted_substr(s=' 3v`y`') == ' 3v'
def test_longest_sorted_substr_82(self):
assert longest_sorted_substr(s='lhowqu') == 'how'
assert longest_sorted_substr(s='ui9') == 'u'
def test_longest_sorted_substr_83(self):
assert longest_sorted_substr(s='oio') == 'io'
assert longest_sorted_substr(s='2`b') == '2`b'
def test_longest_sorted_substr_84(self):
assert longest_sorted_substr(s='spqldzj') == 'pq'
assert longest_sorted_substr(s='F,~YHR') == ',~'
def test_longest_sorted_substr_85(self):
assert longest_sorted_substr(s='lrxtusdp') == 'lrx'
assert longest_sorted_substr(s=',[b') == ',[b'
def test_longest_sorted_substr_86(self):
assert longest_sorted_substr(s='svxhygma') == 'svx'
assert longest_sorted_substr(s='}M\$WqjK') == '$Wq'
def test_longest_sorted_substr_87(self):
assert longest_sorted_substr(s='qp') == 'q'
assert longest_sorted_substr(s='GBRa/y%<H') == 'BRa'
def test_longest_sorted_substr_88(self):
assert longest_sorted_substr(s='zybx') == 'bx'
assert longest_sorted_substr(s='%ZbEQ-}jO') == '%Zb'
def test_longest_sorted_substr_89(self):
assert longest_sorted_substr(s='wsaghff') == 'agh'
assert longest_sorted_substr(s='|K?T+N'B]') == ''B]'
def test_longest_sorted_substr_90(self):
assert longest_sorted_substr(s='pittas') == 'itt'
assert longest_sorted_substr(s=',+:]Xy') == '+:]'
def test_longest_sorted_substr_91(self):
assert longest_sorted_substr(s='cuqfox') == 'fox'
assert longest_sorted_substr(s='2Vp[a') == '2Vp'
def test_longest_sorted_substr_92(self):
assert longest_sorted_substr(s='nhda') == 'n'
assert longest_sorted_substr(s='/mg,s') == '/m'
def test_longest_sorted_substr_93(self):
assert longest_sorted_substr(s='ncl') == 'cl'
assert longest_sorted_substr(s='dw>') == 'dw'
def test_longest_sorted_substr_94(self):
assert longest_sorted_substr(s='iy') == 'iy'
assert longest_sorted_substr(s='aEZ') == 'EZ'
def test_longest_sorted_substr_95(self):
assert longest_sorted_substr(s='qmbpsye') == 'bpsy'
assert longest_sorted_substr(s='-SA+%!#Gu') == '!#Gu'
def test_longest_sorted_substr_96(self):
assert longest_sorted_substr(s='kmn') == 'kmn'
assert longest_sorted_substr(s='o-u') == '-u'
def test_longest_sorted_substr_97(self):
assert longest_sorted_substr(s='ndfgtj') == 'dfgt'
assert longest_sorted_substr(s='::') == '::'
def test_longest_sorted_substr_98(self):
assert longest_sorted_substr(s='xbge') == 'bg'
assert longest_sorted_substr(s='5$QL<\`') == '<\`'
def test_longest_sorted_substr_99(self):
assert longest_sorted_substr(s='jgqjis') == 'gq'
assert longest_sorted_substr(s=':pb%Mx|') == '%Mx|'
def test_longest_sorted_substr_100(self):
assert longest_sorted_substr(s='vwxhie') == 'vwx'
assert longest_sorted_substr(s='-gVa') == '-g'

View file

@ -5,304 +5,301 @@ 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') == []
assert rabin_karp_search(pat='', txt='Kx\UnZ^') == []
def test_rabin_karp_search_2(self):
assert rabin_karp_search(pat='n', txt='xaz') == []
assert rabin_karp_search(pat='pub#b8o', txt=';Q[d2{v.>') == []
def test_rabin_karp_search_3(self):
assert rabin_karp_search(pat='ohjk', txt='nanuvpg') == []
assert rabin_karp_search(pat='', txt='w:A') == []
def test_rabin_karp_search_4(self):
assert rabin_karp_search(pat='sljsl', txt='esgechenk') == []
assert rabin_karp_search(pat='`QiVQ', txt='{1*0ELsc') == []
def test_rabin_karp_search_5(self):
assert rabin_karp_search(pat='gter', txt='bmca') == []
assert rabin_karp_search(pat='Th D', txt='a:uH$>') == []
def test_rabin_karp_search_6(self):
assert rabin_karp_search(pat='vn', txt='caqa') == []
assert rabin_karp_search(pat='yO8', txt='b$5p6}<') == []
def test_rabin_karp_search_7(self):
assert rabin_karp_search(pat='wmsesguqu', txt='yteswvjbq') == []
assert rabin_karp_search(pat=',qr"', txt='aI!zhr"nc') == []
def test_rabin_karp_search_8(self):
assert rabin_karp_search(pat='bdtguu', txt='sfmadudvt') == []
assert rabin_karp_search(pat='s', txt='BYDqJ3pr') == []
def test_rabin_karp_search_9(self):
assert rabin_karp_search(pat='vn', txt='btjwfbdbl') == []
assert rabin_karp_search(pat='5!5!', txt='g*{qF') == []
def test_rabin_karp_search_10(self):
assert rabin_karp_search(pat='lugybpkue', txt='qbqgfflcu') == []
assert rabin_karp_search(pat=':hiVQ', txt='V'o%%/E-') == []
def test_rabin_karp_search_11(self):
assert rabin_karp_search(pat='zttklntm', txt='yteswvjbq') == []
assert rabin_karp_search(pat='MVi<Z:', txt='thMHE|f') == []
def test_rabin_karp_search_12(self):
assert rabin_karp_search(pat='', txt='xhld') == []
assert rabin_karp_search(pat='k', txt='[R}M') == []
def test_rabin_karp_search_13(self):
assert rabin_karp_search(pat='xlfxz', txt='kfzhruh') == []
assert rabin_karp_search(pat='sVg', txt='x\Col<Jx') == []
def test_rabin_karp_search_14(self):
assert rabin_karp_search(pat='b', txt='pdkoix') == []
assert rabin_karp_search(pat='ZQ{zy', txt='1&x7b"*q') == []
def test_rabin_karp_search_15(self):
assert rabin_karp_search(pat='m', txt='m') == [0]
assert rabin_karp_search(pat='Ce$&\i', txt='o/p$@]') == []
def test_rabin_karp_search_16(self):
assert rabin_karp_search(pat='uezem', txt='jznbjpbnb') == []
assert rabin_karp_search(pat='4x', txt='jp8qx') == []
def test_rabin_karp_search_17(self):
assert rabin_karp_search(pat='', txt='ij') == []
assert rabin_karp_search(pat='z4bTc', txt='^'UtAD') == []
def test_rabin_karp_search_18(self):
assert rabin_karp_search(pat='', txt='ksyatkhe') == []
assert rabin_karp_search(pat='$YUHq~', txt='is-AMaq') == []
def test_rabin_karp_search_19(self):
assert rabin_karp_search(pat='sb', txt='cf') == []
assert rabin_karp_search(pat='', txt='S!!&SE~,5') == []
def test_rabin_karp_search_20(self):
assert rabin_karp_search(pat='erujiv', txt='phwsehb') == []
assert rabin_karp_search(pat='{', txt='_(z4e') == []
def test_rabin_karp_search_21(self):
assert rabin_karp_search(pat='i', txt='t') == []
assert rabin_karp_search(pat='', txt='3a') == []
def test_rabin_karp_search_22(self):
assert rabin_karp_search(pat='gkgml', txt='jbhyl') == []
assert rabin_karp_search(pat='g-', txt='>RK~@m') == []
def test_rabin_karp_search_23(self):
assert rabin_karp_search(pat='syo', txt='bev') == []
assert rabin_karp_search(pat='O{', txt='G)a') == []
def test_rabin_karp_search_24(self):
assert rabin_karp_search(pat='y', txt='y') == [0]
assert rabin_karp_search(pat='mZ(=', txt='-E3l') == []
def test_rabin_karp_search_25(self):
assert rabin_karp_search(pat='i', txt='mz') == []
assert rabin_karp_search(pat='qv$N)U', txt='XpxIJer }') == []
def test_rabin_karp_search_26(self):
assert rabin_karp_search(pat='', txt='') == []
assert rabin_karp_search(pat='q%pCIP{f', txt='c'TX\U<F!') == []
def test_rabin_karp_search_27(self):
assert rabin_karp_search(pat='iho', txt='vokajp') == []
assert rabin_karp_search(pat='q', txt='pT.\3(x') == []
def test_rabin_karp_search_28(self):
assert rabin_karp_search(pat='', txt='cqgon') == []
assert rabin_karp_search(pat='D#kH0', txt='H/\F;b)|]') == []
def test_rabin_karp_search_29(self):
assert rabin_karp_search(pat='', txt='yvxxooy') == []
assert rabin_karp_search(pat='`Q<', txt='{1*0ELsc') == []
def test_rabin_karp_search_30(self):
assert rabin_karp_search(pat='copxl', txt='vqawcn') == []
assert rabin_karp_search(pat='', txt=';En`-%ma3') == []
def test_rabin_karp_search_31(self):
assert rabin_karp_search(pat='zjik', txt='lbbbkwy') == []
assert rabin_karp_search(pat='', txt='bu') == []
def test_rabin_karp_search_32(self):
assert rabin_karp_search(pat='zyima', txt='jqcwyxeia') == []
assert rabin_karp_search(pat='RA`0!', txt='>g5Q3}') == []
def test_rabin_karp_search_33(self):
assert rabin_karp_search(pat='fwyzf', txt='yzsvrop') == []
assert rabin_karp_search(pat='q.#qV^44', txt='G=*Kq4L)Z') == []
def test_rabin_karp_search_34(self):
assert rabin_karp_search(pat='yjfdpuba', txt='dqbpuemne') == []
assert rabin_karp_search(pat='', txt='<Xv7lIk') == []
def test_rabin_karp_search_35(self):
assert rabin_karp_search(pat='bcxzmkps', txt='mervjwzd') == []
assert rabin_karp_search(pat='2c1@m', txt='^pINDb') == []
def test_rabin_karp_search_36(self):
assert rabin_karp_search(pat='uaevwihx', txt='pcxnfnsc') == []
assert rabin_karp_search(pat='v>O\', txt='ppDt2F[<i') == []
def test_rabin_karp_search_37(self):
assert rabin_karp_search(pat='u', txt='e') == []
assert rabin_karp_search(pat='[', txt='sIZap]A') == []
def test_rabin_karp_search_38(self):
assert rabin_karp_search(pat='kq', txt='oxlwjj') == []
assert rabin_karp_search(pat='WC&T`$', txt='B>GAoo') == []
def test_rabin_karp_search_39(self):
assert rabin_karp_search(pat='yfnmeax', txt='isuoamkna') == []
assert rabin_karp_search(pat='q9<', txt='`gx') == []
def test_rabin_karp_search_40(self):
assert rabin_karp_search(pat='s', txt='vamsw') == [3]
assert rabin_karp_search(pat='j[_\Q', txt='YdgPvfOeZ') == []
def test_rabin_karp_search_41(self):
assert rabin_karp_search(pat='uc', txt='ilkvuvqz') == []
assert rabin_karp_search(pat='"j$', txt='iz97wupnd') == []
def test_rabin_karp_search_42(self):
assert rabin_karp_search(pat='lc', txt='rg') == []
assert rabin_karp_search(pat='OBZ1YZ)h', txt='^=V&|A76\') == []
def test_rabin_karp_search_43(self):
assert rabin_karp_search(pat='', txt='qhugxuu') == []
assert rabin_karp_search(pat='D#{', txt='5NFI9') == []
def test_rabin_karp_search_44(self):
assert rabin_karp_search(pat='aps', txt='mycb') == []
assert rabin_karp_search(pat='[R', txt='(@?'X&=') == []
def test_rabin_karp_search_45(self):
assert rabin_karp_search(pat='def', txt='vdp') == []
assert rabin_karp_search(pat='Fl?P8', txt='%X-hKVA') == []
def test_rabin_karp_search_46(self):
assert rabin_karp_search(pat='ssv', txt='seaqudkp') == []
assert rabin_karp_search(pat='Bo', txt='V}M7bNuv') == []
def test_rabin_karp_search_47(self):
assert rabin_karp_search(pat='bpokr', txt='nusonsc') == []
assert rabin_karp_search(pat='xA9', txt='k~#G_J') == []
def test_rabin_karp_search_48(self):
assert rabin_karp_search(pat='dgspwzxe', txt='yenyenway') == []
assert rabin_karp_search(pat='4', txt='<DVY') == []
def test_rabin_karp_search_49(self):
assert rabin_karp_search(pat='', txt='sjt') == []
assert rabin_karp_search(pat='*w', txt='LO#SW') == []
def test_rabin_karp_search_50(self):
assert rabin_karp_search(pat='', txt='vcgsjlo') == []
assert rabin_karp_search(pat='', txt='b:l *#D') == []
def test_rabin_karp_search_51(self):
assert rabin_karp_search(pat='', txt='kzqd') == []
assert rabin_karp_search(pat='', txt=':u') == []
def test_rabin_karp_search_52(self):
assert rabin_karp_search(pat='jt', txt='kwdujsm') == []
assert rabin_karp_search(pat='#xGMAp=O', txt='S$##h,dQG') == []
def test_rabin_karp_search_53(self):
assert rabin_karp_search(pat='viw', txt='kyhgrtfd') == []
assert rabin_karp_search(pat=';', txt='HNN19Z') == []
def test_rabin_karp_search_54(self):
assert rabin_karp_search(pat='rax', txt='jhdzvfzjc') == []
assert rabin_karp_search(pat='E@w)', txt='n?Yw0') == []
def test_rabin_karp_search_55(self):
assert rabin_karp_search(pat='', txt='q') == []
assert rabin_karp_search(pat='"}A', txt='j:@"V') == []
def test_rabin_karp_search_56(self):
assert rabin_karp_search(pat='c', txt='g') == []
assert rabin_karp_search(pat='G', txt='~') == []
def test_rabin_karp_search_57(self):
assert rabin_karp_search(pat='oxhyeyx', txt='azhitxm') == []
assert rabin_karp_search(pat='M', txt='v7qt') == []
def test_rabin_karp_search_58(self):
assert rabin_karp_search(pat='xce', txt='jupda') == []
assert rabin_karp_search(pat='', txt='2us0f') == []
def test_rabin_karp_search_59(self):
assert rabin_karp_search(pat='srfrdw', txt='nqoopxnbt') == []
assert rabin_karp_search(pat='05GI', txt='3T_d2)V') == []
def test_rabin_karp_search_60(self):
assert rabin_karp_search(pat='hhx', txt='snl') == []
assert rabin_karp_search(pat='aO', txt='^uSVs/_') == []
def test_rabin_karp_search_61(self):
assert rabin_karp_search(pat='', txt='abdu') == []
assert rabin_karp_search(pat='', txt='Rh') == []
def test_rabin_karp_search_62(self):
assert rabin_karp_search(pat='iiimynmts', txt='fxowpmpqf') == []
assert rabin_karp_search(pat='6', txt='#DL') == []
def test_rabin_karp_search_63(self):
assert rabin_karp_search(pat='o', txt='xjlqhqsf') == []
assert rabin_karp_search(pat='JS', txt=':5/l') == []
def test_rabin_karp_search_64(self):
assert rabin_karp_search(pat='zpmr', txt='lrvyck') == []
assert rabin_karp_search(pat='', txt='BgP"p') == []
def test_rabin_karp_search_65(self):
assert rabin_karp_search(pat='urncdbie', txt='jexdxlct') == []
assert rabin_karp_search(pat='u!Yi', txt='%<?I') == []
def test_rabin_karp_search_66(self):
assert rabin_karp_search(pat='skhsic', txt='mervjwzd') == []
assert rabin_karp_search(pat='!>w', txt='F#29$ixn') == []
def test_rabin_karp_search_67(self):
assert rabin_karp_search(pat='wdki', txt='xpelfkzzb') == []
assert rabin_karp_search(pat='*', txt='<L*k') == [2]
def test_rabin_karp_search_68(self):
assert rabin_karp_search(pat='t', txt='vqvrhhf') == []
assert rabin_karp_search(pat='Q2[o^8', txt='hB=IYX'') == []
def test_rabin_karp_search_69(self):
assert rabin_karp_search(pat='n', txt='aubucl') == []
assert rabin_karp_search(pat='6\', txt='NnHWjE7m') == []
def test_rabin_karp_search_70(self):
assert rabin_karp_search(pat='', txt='es') == []
assert rabin_karp_search(pat='Q{]', txt='C$PV') == []
def test_rabin_karp_search_71(self):
assert rabin_karp_search(pat='si', txt='xyien') == []
assert rabin_karp_search(pat='19', txt='&|A(wedic') == []
def test_rabin_karp_search_72(self):
assert rabin_karp_search(pat='phjbi', txt='mvzdra') == []
assert rabin_karp_search(pat='iPT8Swj', txt='?.?>RZw') == []
def test_rabin_karp_search_73(self):
assert rabin_karp_search(pat='bqq', txt='jupda') == []
assert rabin_karp_search(pat='&\', txt='muCGJW') == []
def test_rabin_karp_search_74(self):
assert rabin_karp_search(pat='krdtsstyf', txt='pcqalpoof') == []
assert rabin_karp_search(pat='.fg=wg9Q', txt='`jH;TZPk') == []
def test_rabin_karp_search_75(self):
assert rabin_karp_search(pat='idjv', txt='nmhwpafp') == []
assert rabin_karp_search(pat='K', txt=')$3x') == []
def test_rabin_karp_search_76(self):
assert rabin_karp_search(pat='cy', txt='qa') == []
assert rabin_karp_search(pat='q=W$V', txt='4$J75rSH^') == []
def test_rabin_karp_search_77(self):
assert rabin_karp_search(pat='pdikt', txt='kwsmhhpdl') == []
assert rabin_karp_search(pat='%Ajm6', txt='|7w)3') == []
def test_rabin_karp_search_78(self):
assert rabin_karp_search(pat='wm', txt='oogs') == []
assert rabin_karp_search(pat='TQ', txt='KNJ') == []
def test_rabin_karp_search_79(self):
assert rabin_karp_search(pat='iq', txt='rnjdqb') == []
assert rabin_karp_search(pat='C @BTIj', txt='1WjyJ://9') == []
def test_rabin_karp_search_80(self):
assert rabin_karp_search(pat='', txt='kia') == []
assert rabin_karp_search(pat='u', txt=',"[q!G>') == []
def test_rabin_karp_search_81(self):
assert rabin_karp_search(pat='tjntdea', txt='vqvrhhf') == []
assert rabin_karp_search(pat='KvNG{l,eA', txt='v1]8PbMfI') == []
def test_rabin_karp_search_82(self):
assert rabin_karp_search(pat='vjn', txt='wxfmlz') == []
assert rabin_karp_search(pat='[doZ`/"', txt='la`[QV+') == []
def test_rabin_karp_search_83(self):
assert rabin_karp_search(pat='jyznboajo', txt='jzkufxdun') == []
assert rabin_karp_search(pat='"', txt=',{Ie?_`a=') == []
def test_rabin_karp_search_84(self):
assert rabin_karp_search(pat='oe', txt='kwdujsm') == []
assert rabin_karp_search(pat='l', txt='&sf*jS(') == []
def test_rabin_karp_search_85(self):
assert rabin_karp_search(pat='', txt='u') == []
assert rabin_karp_search(pat='j6!', txt='vr3w') == []
def test_rabin_karp_search_86(self):
assert rabin_karp_search(pat='xhz', txt='swssrpqh') == []
assert rabin_karp_search(pat='1kfuy:', txt='iy%Z<Pc=') == []
def test_rabin_karp_search_87(self):
assert rabin_karp_search(pat='', txt='ensranv') == []
assert rabin_karp_search(pat='#', txt='V((p=)(G') == []
def test_rabin_karp_search_88(self):
assert rabin_karp_search(pat='gjatfk', txt='mcwrcfa') == []
assert rabin_karp_search(pat='Vb+\', txt='&Tg}i#j<t') == []
def test_rabin_karp_search_89(self):
assert rabin_karp_search(pat='', txt='f') == []
assert rabin_karp_search(pat='wjaXze3', txt='C#-s/*w') == []
def test_rabin_karp_search_90(self):
assert rabin_karp_search(pat='bw', txt='maozrwver') == []
assert rabin_karp_search(pat='!e$&\i', txt='F#29$ixn') == []
def test_rabin_karp_search_91(self):
assert rabin_karp_search(pat='tkcdaqe', txt='lbaqvrky') == []
assert rabin_karp_search(pat='g[NA', txt='H7`?D') == []
def test_rabin_karp_search_92(self):
assert rabin_karp_search(pat='iga', txt='ujyis') == []
assert rabin_karp_search(pat='Th Dl', txt='a:uH$>') == []
def test_rabin_karp_search_93(self):
assert rabin_karp_search(pat='oraee', txt='wqkovkno') == []
assert rabin_karp_search(pat='&05#i', txt='B(\b=') == []
def test_rabin_karp_search_94(self):
assert rabin_karp_search(pat='v', txt='oo') == []
assert rabin_karp_search(pat='~', txt='1$ i0$3') == []
def test_rabin_karp_search_95(self):
assert rabin_karp_search(pat='yk', txt='pg') == []
assert rabin_karp_search(pat='!7T', txt='$9m$n') == []
def test_rabin_karp_search_96(self):
assert rabin_karp_search(pat='mzf', txt='qkxyd') == []
assert rabin_karp_search(pat='Ge<', txt='`gx') == []
def test_rabin_karp_search_97(self):
assert rabin_karp_search(pat='dwenvgb', txt='dknpaiti') == []
assert rabin_karp_search(pat=':*wJ'K<i', txt='xZEXgKyZt') == []
def test_rabin_karp_search_98(self):
assert rabin_karp_search(pat='z', txt='qogk') == []
assert rabin_karp_search(pat='jE/', txt='Ko'L0V_=') == []
def test_rabin_karp_search_99(self):
assert rabin_karp_search(pat='agln', txt='wyyviej') == []
assert rabin_karp_search(pat='', txt=':^Y/') == []
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') == []
assert rabin_karp_search(pat='_', txt='d]') == []

View file

@ -5,301 +5,301 @@ from benchmark.railfence_cipher import raildecrypt
class Test_raildecrypt(TestCase):
def test_raildecrypt_1(self):
assert raildecrypt(st='gulzu', k=369) == 'gulzu'
assert raildecrypt(st='.', k=834) == '.'
def test_raildecrypt_2(self):
assert raildecrypt(st='powabf', k=647) == 'powabf'
assert raildecrypt(st=' xM7d1h', k=915) == ' xM7d1h'
def test_raildecrypt_3(self):
assert raildecrypt(st='vgwuw', k=380) == 'vgwuw'
assert raildecrypt(st='m8p[>', k=216) == 'm8p[>'
def test_raildecrypt_4(self):
assert raildecrypt(st='e', k=999) == 'e'
assert raildecrypt(st='~(D', k=686) == '~(D'
def test_raildecrypt_5(self):
assert raildecrypt(st='y', k=694) == 'y'
assert raildecrypt(st='', k=127) == ''
def test_raildecrypt_6(self):
assert raildecrypt(st='mxo', k=623) == 'mxo'
assert raildecrypt(st='-O HB', k=600) == '-O HB'
def test_raildecrypt_7(self):
assert raildecrypt(st='zsuncolsq', k=873) == 'zsuncolsq'
assert raildecrypt(st='2A/L~[%4', k=339) == '2A/L~[%4'
def test_raildecrypt_8(self):
assert raildecrypt(st='idgo', k=379) == 'idgo'
assert raildecrypt(st='', k=16) == ''
def test_raildecrypt_9(self):
assert raildecrypt(st='ifsfdpps', k=999) == 'ifsfdpps'
assert raildecrypt(st='4$/Ou', k=865) == '4$/Ou'
def test_raildecrypt_10(self):
assert raildecrypt(st='orislvwaz', k=730) == 'orislvwaz'
assert raildecrypt(st='h"!/', k=365) == 'h"!/'
def test_raildecrypt_11(self):
assert raildecrypt(st='qmfvr', k=283) == 'qmfvr'
assert raildecrypt(st=';PG.T\F#', k=615) == ';PG.T\F#'
def test_raildecrypt_12(self):
assert raildecrypt(st='lido', k=363) == 'lido'
assert raildecrypt(st='yu*~', k=465) == 'yu*~'
def test_raildecrypt_13(self):
assert raildecrypt(st='olhwe', k=195) == 'olhwe'
assert raildecrypt(st='!_/ieWr7', k=662) == '!_/ieWr7'
def test_raildecrypt_14(self):
assert raildecrypt(st='wxnxwx', k=463) == 'wxnxwx'
assert raildecrypt(st='E', k=317) == 'E'
def test_raildecrypt_15(self):
assert raildecrypt(st='ks', k=7) == 'ks'
assert raildecrypt(st='kK$q)[!E5', k=362) == 'kK$q)[!E5'
def test_raildecrypt_16(self):
assert raildecrypt(st='rozt', k=380) == 'rozt'
assert raildecrypt(st='', k=574) == ''
def test_raildecrypt_17(self):
assert raildecrypt(st='rods', k=216) == 'rods'
assert raildecrypt(st='M/8@&k^', k=539) == 'M/8@&k^'
def test_raildecrypt_18(self):
assert raildecrypt(st='oerpbtpa', k=656) == 'oerpbtpa'
assert raildecrypt(st='$sx%*4T', k=211) == '$sx%*4T'
def test_raildecrypt_19(self):
assert raildecrypt(st='knlduhl', k=794) == 'knlduhl'
assert raildecrypt(st='IH!=Y`l*', k=353) == 'IH!=Y`l*'
def test_raildecrypt_20(self):
assert raildecrypt(st='fatqfvqwc', k=587) == 'fatqfvqwc'
assert raildecrypt(st='{tZ', k=848) == '{tZ'
def test_raildecrypt_21(self):
assert raildecrypt(st='jrlpqnwv', k=387) == 'jrlpqnwv'
assert raildecrypt(st='4q>', k=867) == '4q>'
def test_raildecrypt_22(self):
assert raildecrypt(st='', k=119) == ''
assert raildecrypt(st='', k=353) == ''
def test_raildecrypt_23(self):
assert raildecrypt(st='biqpr', k=559) == 'biqpr'
assert raildecrypt(st='l9', k=172) == 'l9'
def test_raildecrypt_24(self):
assert raildecrypt(st='', k=546) == ''
assert raildecrypt(st='e^P^?', k=669) == 'e^P^?'
def test_raildecrypt_25(self):
assert raildecrypt(st='fqpv', k=885) == 'fqpv'
assert raildecrypt(st='ye'SJ~bE!', k=267) == 'ye'SJ~bE!'
def test_raildecrypt_26(self):
assert raildecrypt(st='eclfwck', k=494) == 'eclfwck'
assert raildecrypt(st='Mp+', k=957) == 'Mp+'
def test_raildecrypt_27(self):
assert raildecrypt(st='x', k=621) == 'x'
assert raildecrypt(st='p>^Ey', k=166) == 'p>^Ey'
def test_raildecrypt_28(self):
assert raildecrypt(st='cywbdyyx', k=385) == 'cywbdyyx'
assert raildecrypt(st='', k=143) == ''
def test_raildecrypt_29(self):
assert raildecrypt(st='mfqfetye', k=374) == 'mfqfetye'
assert raildecrypt(st='2*"jzdlK', k=253) == '2*"jzdlK'
def test_raildecrypt_30(self):
assert raildecrypt(st='kuerf', k=440) == 'kuerf'
assert raildecrypt(st=''h', k=437) == ''h'
def test_raildecrypt_31(self):
assert raildecrypt(st='', k=430) == ''
assert raildecrypt(st='', k=745) == ''
def test_raildecrypt_32(self):
assert raildecrypt(st='oswrvqn', k=784) == 'oswrvqn'
assert raildecrypt(st='B/#\V2!5', k=547) == 'B/#\V2!5'
def test_raildecrypt_33(self):
assert raildecrypt(st='jscy', k=352) == 'jscy'
assert raildecrypt(st='&FH5k`Wu^', k=603) == '&FH5k`Wu^'
def test_raildecrypt_34(self):
assert raildecrypt(st='qanfcleco', k=310) == 'qanfcleco'
assert raildecrypt(st='L/6v', k=336) == 'L/6v'
def test_raildecrypt_35(self):
assert raildecrypt(st='gbtnf', k=692) == 'gbtnf'
assert raildecrypt(st='!_/ieWr7', k=835) == '!_/ieWr7'
def test_raildecrypt_36(self):
assert raildecrypt(st='atnsvl', k=765) == 'atnsvl'
assert raildecrypt(st='', k=835) == ''
def test_raildecrypt_37(self):
assert raildecrypt(st='aegnzbsw', k=919) == 'aegnzbsw'
assert raildecrypt(st=']!R`', k=737) == ']!R`'
def test_raildecrypt_38(self):
assert raildecrypt(st='atnsvl', k=130) == 'atnsvl'
assert raildecrypt(st='d(e!3sY', k=430) == 'd(e!3sY'
def test_raildecrypt_39(self):
assert raildecrypt(st='', k=94) == ''
assert raildecrypt(st='ky', k=572) == 'ky'
def test_raildecrypt_40(self):
assert raildecrypt(st='hdt', k=429) == 'hdt'
assert raildecrypt(st='qv;', k=952) == 'qv;'
def test_raildecrypt_41(self):
assert raildecrypt(st='jotcx', k=319) == 'jotcx'
assert raildecrypt(st='QOZQ.g+-', k=956) == 'QOZQ.g+-'
def test_raildecrypt_42(self):
assert raildecrypt(st='farp', k=545) == 'farp'
assert raildecrypt(st='^G0', k=892) == '^G0'
def test_raildecrypt_43(self):
assert raildecrypt(st='nm', k=768) == 'nm'
assert raildecrypt(st='Z', k=662) == 'Z'
def test_raildecrypt_44(self):
assert raildecrypt(st='bddld', k=994) == 'bddld'
assert raildecrypt(st='(X', k=95) == '(X'
def test_raildecrypt_45(self):
assert raildecrypt(st='ihutvt', k=440) == 'ihutvt'
assert raildecrypt(st='st', k=208) == 'st'
def test_raildecrypt_46(self):
assert raildecrypt(st='maz', k=848) == 'maz'
assert raildecrypt(st='(X[J)2Z', k=146) == '(X[J)2Z'
def test_raildecrypt_47(self):
assert raildecrypt(st='', k=130) == ''
assert raildecrypt(st='*C\>', k=288) == '*C\>'
def test_raildecrypt_48(self):
assert raildecrypt(st='rebbbbpkb', k=952) == 'rebbbbpkb'
assert raildecrypt(st='Jh', k=508) == 'Jh'
def test_raildecrypt_49(self):
assert raildecrypt(st='djch', k=548) == 'djch'
assert raildecrypt(st='<~7+4', k=89) == '<~7+4'
def test_raildecrypt_50(self):
assert raildecrypt(st='pzks', k=429) == 'pzks'
assert raildecrypt(st='0DZViP$', k=922) == '0DZViP$'
def test_raildecrypt_51(self):
assert raildecrypt(st='edeus', k=559) == 'edeus'
assert raildecrypt(st='', k=726) == ''
def test_raildecrypt_52(self):
assert raildecrypt(st='sx', k=298) == 'sx'
assert raildecrypt(st='vJaiN.OB', k=843) == 'vJaiN.OB'
def test_raildecrypt_53(self):
assert raildecrypt(st='m', k=123) == 'm'
assert raildecrypt(st='N}`4', k=839) == 'N}`4'
def test_raildecrypt_54(self):
assert raildecrypt(st='imgva', k=483) == 'imgva'
assert raildecrypt(st='!_/ieWr7', k=147) == '!_/ieWr7'
def test_raildecrypt_55(self):
assert raildecrypt(st='gqmbgyaa', k=423) == 'gqmbgyaa'
assert raildecrypt(st='Cl6b[', k=186) == 'Cl6b['
def test_raildecrypt_56(self):
assert raildecrypt(st='yzoqg', k=36) == 'yzoqg'
assert raildecrypt(st='|bAbRFtS', k=651) == '|bAbRFtS'
def test_raildecrypt_57(self):
assert raildecrypt(st='kuerf', k=369) == 'kuerf'
assert raildecrypt(st='Nz', k=164) == 'Nz'
def test_raildecrypt_58(self):
assert raildecrypt(st='jhf', k=959) == 'jhf'
assert raildecrypt(st='OF', k=697) == 'OF'
def test_raildecrypt_59(self):
assert raildecrypt(st='nfoatk', k=607) == 'nfoatk'
assert raildecrypt(st='', k=557) == ''
def test_raildecrypt_60(self):
assert raildecrypt(st='xvcaxr', k=614) == 'xvcaxr'
assert raildecrypt(st='hHw', k=360) == 'hHw'
def test_raildecrypt_61(self):
assert raildecrypt(st='', k=947) == ''
assert raildecrypt(st='?bb(.`|', k=502) == '?bb(.`|'
def test_raildecrypt_62(self):
assert raildecrypt(st='tzsrjzca', k=587) == 'tzsrjzca'
assert raildecrypt(st='x`z,X&U)', k=315) == 'x`z,X&U)'
def test_raildecrypt_63(self):
assert raildecrypt(st='xazvkatl', k=791) == 'xazvkatl'
assert raildecrypt(st='[', k=665) == '['
def test_raildecrypt_64(self):
assert raildecrypt(st='czgqiq', k=25) == 'czgqiq'
assert raildecrypt(st='F{<I'HcB', k=898) == 'F{<I'HcB'
def test_raildecrypt_65(self):
assert raildecrypt(st='hgvrjv', k=566) == 'hgvrjv'
assert raildecrypt(st='fbXYs32|', k=864) == 'fbXYs32|'
def test_raildecrypt_66(self):
assert raildecrypt(st='imgva', k=534) == 'imgva'
assert raildecrypt(st='q', k=533) == 'q'
def test_raildecrypt_67(self):
assert raildecrypt(st='', k=754) == ''
assert raildecrypt(st='', k=70) == ''
def test_raildecrypt_68(self):
assert raildecrypt(st='lyth', k=727) == 'lyth'
assert raildecrypt(st='\~pRYm', k=81) == '\~pRYm'
def test_raildecrypt_69(self):
assert raildecrypt(st='pzks', k=653) == 'pzks'
assert raildecrypt(st='xD'', k=836) == 'xD''
def test_raildecrypt_70(self):
assert raildecrypt(st='', k=855) == ''
assert raildecrypt(st='8p+S~< \', k=705) == '8p+S~< \'
def test_raildecrypt_71(self):
assert raildecrypt(st='uyi', k=924) == 'uyi'
assert raildecrypt(st='', k=946) == ''
def test_raildecrypt_72(self):
assert raildecrypt(st='ihutvt', k=434) == 'ihutvt'
assert raildecrypt(st='vJaiN.cB', k=843) == 'vJaiN.cB'
def test_raildecrypt_73(self):
assert raildecrypt(st='liarkxvgv', k=884) == 'liarkxvgv'
assert raildecrypt(st='JCXpF', k=79) == 'JCXpF'
def test_raildecrypt_74(self):
assert raildecrypt(st='ploelrh', k=542) == 'ploelrh'
assert raildecrypt(st='', k=896) == ''
def test_raildecrypt_75(self):
assert raildecrypt(st='', k=7) == ''
assert raildecrypt(st='K.2', k=669) == 'K.2'
def test_raildecrypt_76(self):
assert raildecrypt(st='h', k=97) == 'h'
assert raildecrypt(st='M;9&HYe', k=691) == 'M;9&HYe'
def test_raildecrypt_77(self):
assert raildecrypt(st='itef', k=483) == 'itef'
assert raildecrypt(st='', k=506) == ''
def test_raildecrypt_78(self):
assert raildecrypt(st='mwfhtlyr', k=111) == 'mwfhtlyr'
assert raildecrypt(st='\'H?>Dhq', k=883) == '\'H?>Dhq'
def test_raildecrypt_79(self):
assert raildecrypt(st='yvq', k=653) == 'yvq'
assert raildecrypt(st='E', k=557) == 'E'
def test_raildecrypt_80(self):
assert raildecrypt(st='rrqjdipd', k=295) == 'rrqjdipd'
assert raildecrypt(st='|bD', k=651) == '|bD'
def test_raildecrypt_81(self):
assert raildecrypt(st='', k=979) == ''
assert raildecrypt(st='?bb(.`', k=502) == '?bb(.`'
def test_raildecrypt_82(self):
assert raildecrypt(st='fb', k=171) == 'fb'
assert raildecrypt(st='{,rXk!3W', k=885) == '{,rXk!3W'
def test_raildecrypt_83(self):
assert raildecrypt(st='dvrxkkqv', k=833) == 'dvrxkkqv'
assert raildecrypt(st=' WS`#ov ~', k=189) == ' WS`#ov ~'
def test_raildecrypt_84(self):
assert raildecrypt(st='', k=509) == ''
assert raildecrypt(st='-O HB', k=208) == '-O HB'
def test_raildecrypt_85(self):
assert raildecrypt(st='rjgljb', k=577) == 'rjgljb'
assert raildecrypt(st='[', k=714) == '['
def test_raildecrypt_86(self):
assert raildecrypt(st='cywbdyyx', k=488) == 'cywbdyyx'
assert raildecrypt(st='Ckmi|', k=14) == 'Ckmi|'
def test_raildecrypt_87(self):
assert raildecrypt(st='tuozjmmz', k=501) == 'tuozjmmz'
assert raildecrypt(st='mHbwuB', k=931) == 'mHbwuB'
def test_raildecrypt_88(self):
assert raildecrypt(st='fizmdsie', k=274) == 'fizmdsie'
assert raildecrypt(st='_?->'}#', k=388) == '_?->'}#'
def test_raildecrypt_89(self):
assert raildecrypt(st='', k=133) == ''
assert raildecrypt(st='', k=454) == ''
def test_raildecrypt_90(self):
assert raildecrypt(st='mcci', k=303) == 'mcci'
assert raildecrypt(st='&,+f9p}y>', k=990) == '&,+f9p}y>'
def test_raildecrypt_91(self):
assert raildecrypt(st='mihtm', k=31) == 'mihtm'
assert raildecrypt(st='JCXpF', k=726) == 'JCXpF'
def test_raildecrypt_92(self):
assert raildecrypt(st='jezuahj', k=995) == 'jezuahj'
assert raildecrypt(st='B', k=350) == 'B'
def test_raildecrypt_93(self):
assert raildecrypt(st='julhyxf', k=58) == 'julhyxf'
assert raildecrypt(st='g_=f.B1U', k=960) == 'g_=f.B1U'
def test_raildecrypt_94(self):
assert raildecrypt(st='olhwe', k=133) == 'olhwe'
assert raildecrypt(st='Zb', k=614) == 'Zb'
def test_raildecrypt_95(self):
assert raildecrypt(st='qzbxekned', k=490) == 'qzbxekned'
assert raildecrypt(st='Y/', k=867) == 'Y/'
def test_raildecrypt_96(self):
assert raildecrypt(st='j', k=590) == 'j'
assert raildecrypt(st=''CXpF', k=437) == ''CXpF'
def test_raildecrypt_97(self):
assert raildecrypt(st='zje', k=555) == 'zje'
assert raildecrypt(st='X:F', k=695) == 'X:F'
def test_raildecrypt_98(self):
assert raildecrypt(st='sdod', k=169) == 'sdod'
assert raildecrypt(st='HR9.T\F#', k=662) == 'HR9.T\F#'
def test_raildecrypt_99(self):
assert raildecrypt(st='e', k=95) == 'e'
assert raildecrypt(st='', k=362) == ''
def test_raildecrypt_100(self):
assert raildecrypt(st='lido', k=727) == 'lido'
assert raildecrypt(st='', k=360) == ''

View file

@ -5,301 +5,301 @@ from benchmark.railfence_cipher import railencrypt
class Test_railencrypt(TestCase):
def test_railencrypt_1(self):
assert railencrypt(st='', k=12) == ''
assert railencrypt(st='FKglwgJ(p', k=840) == 'FKglwgJ(p'
def test_railencrypt_2(self):
assert railencrypt(st='rwzcleip', k=680) == 'rwzcleip'
assert railencrypt(st='gvj', k=379) == 'gvj'
def test_railencrypt_3(self):
assert railencrypt(st='rwheldzx', k=666) == 'rwheldzx'
assert railencrypt(st='', k=755) == ''
def test_railencrypt_4(self):
assert railencrypt(st='', k=821) == ''
assert railencrypt(st='9pS', k=577) == '9pS'
def test_railencrypt_5(self):
assert railencrypt(st='idbnrbhwh', k=718) == 'idbnrbhwh'
assert railencrypt(st='`j4z_:S', k=169) == '`j4z_:S'
def test_railencrypt_6(self):
assert railencrypt(st='vgh', k=754) == 'vgh'
assert railencrypt(st='? }qW^W', k=892) == '? }qW^W'
def test_railencrypt_7(self):
assert railencrypt(st='doo', k=496) == 'doo'
assert railencrypt(st='ns(ob!Pb', k=389) == 'ns(ob!Pb'
def test_railencrypt_8(self):
assert railencrypt(st='mryny', k=619) == 'mryny'
assert railencrypt(st='r$&=(', k=427) == 'r$&=('
def test_railencrypt_9(self):
assert railencrypt(st='', k=426) == ''
assert railencrypt(st='2A/L~[%4', k=339) == '2A/L~[%4'
def test_railencrypt_10(self):
assert railencrypt(st='xeeqrsmoj', k=245) == 'xeeqrsmoj'
assert railencrypt(st='M>'', k=210) == 'M>''
def test_railencrypt_11(self):
assert railencrypt(st='f', k=358) == 'f'
assert railencrypt(st='=5]'146#', k=143) == '=5]'146#'
def test_railencrypt_12(self):
assert railencrypt(st='jnfgdr', k=221) == 'jnfgdr'
assert railencrypt(st='c?g!b', k=675) == 'c?g!b'
def test_railencrypt_13(self):
assert railencrypt(st='hrq', k=676) == 'hrq'
assert railencrypt(st='U"i-', k=547) == 'U"i-'
def test_railencrypt_14(self):
assert railencrypt(st='q', k=552) == 'q'
assert railencrypt(st='+e[', k=328) == '+e['
def test_railencrypt_15(self):
assert railencrypt(st='rt', k=957) == 'rt'
assert railencrypt(st='@ICWq0.[D', k=944) == '@ICWq0.[D'
def test_railencrypt_16(self):
assert railencrypt(st='vrnqfbhd', k=622) == 'vrnqfbhd'
assert railencrypt(st='~a}By', k=141) == '~a}By'
def test_railencrypt_17(self):
assert railencrypt(st='', k=496) == ''
assert railencrypt(st='', k=574) == ''
def test_railencrypt_18(self):
assert railencrypt(st='ihutvt', k=661) == 'ihutvt'
assert railencrypt(st='#7oR+_$*', k=457) == '#7oR+_$*'
def test_railencrypt_19(self):
assert railencrypt(st='iv', k=671) == 'iv'
assert railencrypt(st='/c', k=900) == '/c'
def test_railencrypt_20(self):
assert railencrypt(st='djch', k=441) == 'djch'
assert railencrypt(st='r', k=492) == 'r'
def test_railencrypt_21(self):
assert railencrypt(st='doo', k=527) == 'doo'
assert railencrypt(st='vh]lR', k=242) == 'vh]lR'
def test_railencrypt_22(self):
assert railencrypt(st='p', k=768) == 'p'
assert railencrypt(st='**hH2', k=270) == '**hH2'
def test_railencrypt_23(self):
assert railencrypt(st='kft', k=527) == 'kft'
assert railencrypt(st=')>On.', k=70) == ')>On.'
def test_railencrypt_24(self):
assert railencrypt(st='tafnzqyuq', k=352) == 'tafnzqyuq'
assert railencrypt(st='djQ*5r_Uk', k=420) == 'djQ*5r_Uk'
def test_railencrypt_25(self):
assert railencrypt(st='qmfvr', k=289) == 'qmfvr'
assert railencrypt(st='{+xw', k=405) == '{+xw'
def test_railencrypt_26(self):
assert railencrypt(st='pcmyim', k=927) == 'pcmyim'
assert railencrypt(st='RGvx~r', k=976) == 'RGvx~r'
def test_railencrypt_27(self):
assert railencrypt(st='vxxgc', k=897) == 'vxxgc'
assert railencrypt(st='<$', k=154) == '<$'
def test_railencrypt_28(self):
assert railencrypt(st='gmatyguqw', k=426) == 'gmatyguqw'
assert railencrypt(st=')>On.', k=221) == ')>On.'
def test_railencrypt_29(self):
assert railencrypt(st='', k=940) == ''
assert railencrypt(st='IH!=Y`l*', k=885) == 'IH!=Y`l*'
def test_railencrypt_30(self):
assert railencrypt(st='cszhjgvt', k=873) == 'cszhjgvt'
assert railencrypt(st='w::L', k=641) == 'w::L'
def test_railencrypt_31(self):
assert railencrypt(st='ocbnbj', k=523) == 'ocbnbj'
assert railencrypt(st=')>On.', k=885) == ')>On.'
def test_railencrypt_32(self):
assert railencrypt(st='', k=343) == ''
assert railencrypt(st='!CIXRTgh', k=754) == '!CIXRTgh'
def test_railencrypt_33(self):
assert railencrypt(st='bugjol', k=786) == 'bugjol'
assert railencrypt(st='?NGYChStM', k=850) == '?NGYChStM'
def test_railencrypt_34(self):
assert railencrypt(st='ujqmp', k=446) == 'ujqmp'
assert railencrypt(st=' X$qR?', k=389) == ' X$qR?'
def test_railencrypt_35(self):
assert railencrypt(st='ihutvt', k=369) == 'ihutvt'
assert railencrypt(st='dA$PGkO', k=453) == 'dA$PGkO'
def test_railencrypt_36(self):
assert railencrypt(st='uc', k=927) == 'uc'
assert railencrypt(st=',gN', k=663) == ',gN'
def test_railencrypt_37(self):
assert railencrypt(st='lgnhpcl', k=207) == 'lgnhpcl'
assert railencrypt(st='', k=885) == ''
def test_railencrypt_38(self):
assert railencrypt(st='fuuq', k=570) == 'fuuq'
assert railencrypt(st='3kDF>S%/', k=816) == '3kDF>S%/'
def test_railencrypt_39(self):
assert railencrypt(st='blxp', k=440) == 'blxp'
assert railencrypt(st='h{I<H[%4', k=468) == 'h{I<H[%4'
def test_railencrypt_40(self):
assert railencrypt(st='rocke', k=952) == 'rocke'
assert railencrypt(st='Ac#@F', k=335) == 'Ac#@F'
def test_railencrypt_41(self):
assert railencrypt(st='idpwv', k=815) == 'idpwv'
assert railencrypt(st='pR9.T\F#', k=950) == 'pR9.T\F#'
def test_railencrypt_42(self):
assert railencrypt(st='kkdjn', k=216) == 'kkdjn'
assert railencrypt(st='dA$PGkO', k=898) == 'dA$PGkO'
def test_railencrypt_43(self):
assert railencrypt(st='gllokah', k=393) == 'gllokah'
assert railencrypt(st='MX[JC2*', k=146) == 'MX[JC2*'
def test_railencrypt_44(self):
assert railencrypt(st='ary', k=827) == 'ary'
assert railencrypt(st='kwVesxWq', k=126) == 'kwVesxWq'
def test_railencrypt_45(self):
assert railencrypt(st='ikdd', k=577) == 'ikdd'
assert railencrypt(st='So!D5q<s', k=687) == 'So!D5q<s'
def test_railencrypt_46(self):
assert railencrypt(st='smyrpdjos', k=957) == 'smyrpdjos'
assert railencrypt(st='BgG', k=452) == 'BgG'
def test_railencrypt_47(self):
assert railencrypt(st='iiz', k=855) == 'iiz'
assert railencrypt(st='#6U@a', k=986) == '#6U@a'
def test_railencrypt_48(self):
assert railencrypt(st='qldm', k=611) == 'qldm'
assert railencrypt(st='-O HB', k=853) == '-O HB'
def test_railencrypt_49(self):
assert railencrypt(st='tncjnu', k=246) == 'tncjnu'
assert railencrypt(st='tGr_xE_<', k=31) == 'tGr_xE_<'
def test_railencrypt_50(self):
assert railencrypt(st='zl', k=412) == 'zl'
assert railencrypt(st='', k=750) == ''
def test_railencrypt_51(self):
assert railencrypt(st='ixphdbjgt', k=607) == 'ixphdbjgt'
assert railencrypt(st='%;A <}gy?', k=968) == '%;A <}gy?'
def test_railencrypt_52(self):
assert railencrypt(st='njwy', k=283) == 'njwy'
assert railencrypt(st='=', k=577) == '='
def test_railencrypt_53(self):
assert railencrypt(st='', k=648) == ''
assert railencrypt(st='!q)3r7i_', k=370) == '!q)3r7i_'
def test_railencrypt_54(self):
assert railencrypt(st='lcu', k=713) == 'lcu'
assert railencrypt(st='y"X', k=359) == 'y"X'
def test_railencrypt_55(self):
assert railencrypt(st='qozh', k=309) == 'qozh'
assert railencrypt(st='=os/W!ss', k=176) == '=os/W!ss'
def test_railencrypt_56(self):
assert railencrypt(st='zbwnf', k=859) == 'zbwnf'
assert railencrypt(st='-G;'k', k=652) == '-G;'k'
def test_railencrypt_57(self):
assert railencrypt(st='djch', k=509) == 'djch'
assert railencrypt(st='tP&LZgJ(p', k=753) == 'tP&LZgJ(p'
def test_railencrypt_58(self):
assert railencrypt(st='nlhv', k=42) == 'nlhv'
assert railencrypt(st='J3kaFe2c', k=94) == 'J3kaFe2c'
def test_railencrypt_59(self):
assert railencrypt(st='iskgysc', k=421) == 'iskgysc'
assert railencrypt(st='M"9&HYe', k=691) == 'M"9&HYe'
def test_railencrypt_60(self):
assert railencrypt(st='u', k=269) == 'u'
assert railencrypt(st='OF', k=697) == 'OF'
def test_railencrypt_61(self):
assert railencrypt(st='mrt', k=835) == 'mrt'
assert railencrypt(st='H@', k=918) == 'H@'
def test_railencrypt_62(self):
assert railencrypt(st='jky', k=64) == 'jky'
assert railencrypt(st='', k=880) == ''
def test_railencrypt_63(self):
assert railencrypt(st='fmuaq', k=245) == 'fmuaq'
assert railencrypt(st='3kDF>S%/', k=160) == '3kDF>S%/'
def test_railencrypt_64(self):
assert railencrypt(st='ismu', k=647) == 'ismu'
assert railencrypt(st='1A!>S', k=242) == '1A!>S'
def test_railencrypt_65(self):
assert railencrypt(st='qonukt', k=977) == 'qonukt'
assert railencrypt(st='zZ|;(j', k=159) == 'zZ|;(j'
def test_railencrypt_66(self):
assert railencrypt(st='o', k=155) == 'o'
assert railencrypt(st='T:', k=887) == 'T:'
def test_railencrypt_67(self):
assert railencrypt(st='hzaukhbl', k=918) == 'hzaukhbl'
assert railencrypt(st='tP&LZI', k=753) == 'tP&LZI'
def test_railencrypt_68(self):
assert railencrypt(st='kvfnh', k=352) == 'kvfnh'
assert railencrypt(st='', k=541) == ''
def test_railencrypt_69(self):
assert railencrypt(st='ztkrsgbq', k=190) == 'ztkrsgbq'
assert railencrypt(st='8p+S~< \', k=705) == '8p+S~< \'
def test_railencrypt_70(self):
assert railencrypt(st='vltccoq', k=647) == 'vltccoq'
assert railencrypt(st='!3V0]Es', k=502) == '!3V0]Es'
def test_railencrypt_71(self):
assert railencrypt(st='nsqjubg', k=369) == 'nsqjubg'
assert railencrypt(st='', k=255) == ''
def test_railencrypt_72(self):
assert railencrypt(st='', k=7) == ''
assert railencrypt(st='z-woX#S*', k=664) == 'z-woX#S*'
def test_railencrypt_73(self):
assert railencrypt(st='', k=473) == ''
assert railencrypt(st='b]Eb', k=721) == 'b]Eb'
def test_railencrypt_74(self):
assert railencrypt(st='poof', k=470) == 'poof'
assert railencrypt(st='`82?%]G=k', k=89) == '`82?%]G=k'
def test_railencrypt_75(self):
assert railencrypt(st='iv', k=977) == 'iv'
assert railencrypt(st='', k=533) == ''
def test_railencrypt_76(self):
assert railencrypt(st='', k=283) == ''
assert railencrypt(st='Kd*', k=125) == 'Kd*'
def test_railencrypt_77(self):
assert railencrypt(st='mefcqmjm', k=389) == 'mefcqmjm'
assert railencrypt(st='gB}[Y!', k=137) == 'gB}[Y!'
def test_railencrypt_78(self):
assert railencrypt(st='sz', k=387) == 'sz'
assert railencrypt(st='G\uHOS', k=745) == 'G\uHOS'
def test_railencrypt_79(self):
assert railencrypt(st='cg', k=815) == 'cg'
assert railencrypt(st='5H>Eac', k=588) == '5H>Eac'
def test_railencrypt_80(self):
assert railencrypt(st='liarkxvgv', k=450) == 'liarkxvgv'
assert railencrypt(st='', k=506) == ''
def test_railencrypt_81(self):
assert railencrypt(st='ud', k=436) == 'ud'
assert railencrypt(st='2A/L~q', k=339) == '2A/L~q'
def test_railencrypt_82(self):
assert railencrypt(st='tmd', k=842) == 'tmd'
assert railencrypt(st='=D?*', k=548) == '=D?*'
def test_railencrypt_83(self):
assert railencrypt(st='spcdtdzjz', k=559) == 'spcdtdzjz'
assert railencrypt(st='wvG6lC=YR', k=201) == 'wvG6lC=YR'
def test_railencrypt_84(self):
assert railencrypt(st='c', k=181) == 'c'
assert railencrypt(st='!&=,S3H', k=662) == '!&=,S3H'
def test_railencrypt_85(self):
assert railencrypt(st='jmnbazu', k=405) == 'jmnbazu'
assert railencrypt(st='0LO\', k=948) == '0LO\'
def test_railencrypt_86(self):
assert railencrypt(st='jtouhv', k=156) == 'jtouhv'
assert railencrypt(st='?', k=276) == '?'
def test_railencrypt_87(self):
assert railencrypt(st='iyp', k=309) == 'iyp'
assert railencrypt(st=':W', k=741) == ':W'
def test_railencrypt_88(self):
assert railencrypt(st='lu', k=269) == 'lu'
assert railencrypt(st=';:H(XyM%(', k=816) == ';:H(XyM%('
def test_railencrypt_89(self):
assert railencrypt(st='etzrxuupe', k=878) == 'etzrxuupe'
assert railencrypt(st='UvOW='', k=330) == 'UvOW=''
def test_railencrypt_90(self):
assert railencrypt(st='io', k=441) == 'io'
assert railencrypt(st='^82?%]G=k', k=5) == '^k8=2G?]%'
def test_railencrypt_91(self):
assert railencrypt(st='ujv', k=156) == 'ujv'
assert railencrypt(st='rh', k=985) == 'rh'
def test_railencrypt_92(self):
assert railencrypt(st='cg', k=855) == 'cg'
assert railencrypt(st='o$NfGib0x', k=437) == 'o$NfGib0x'
def test_railencrypt_93(self):
assert railencrypt(st='zjcev', k=706) == 'zjcev'
assert railencrypt(st='{', k=661) == '{'
def test_railencrypt_94(self):
assert railencrypt(st='uh', k=611) == 'uh'
assert railencrypt(st='BgOT!e/E', k=452) == 'BgOT!e/E'
def test_railencrypt_95(self):
assert railencrypt(st='', k=410) == ''
assert railencrypt(st='n4:j', k=62) == 'n4:j'
def test_railencrypt_96(self):
assert railencrypt(st='p', k=979) == 'p'
assert railencrypt(st='', k=772) == ''
def test_railencrypt_97(self):
assert railencrypt(st='oastjtv', k=230) == 'oastjtv'
assert railencrypt(st='U}I~pr7', k=291) == 'U}I~pr7'
def test_railencrypt_98(self):
assert railencrypt(st='gmcoke', k=338) == 'gmcoke'
assert railencrypt(st='}Bx&KQ[i{', k=51) == '}Bx&KQ[i{'
def test_railencrypt_99(self):
assert railencrypt(st='p', k=559) == 'p'
assert railencrypt(st='?Ij', k=361) == '?Ij'
def test_railencrypt_100(self):
assert railencrypt(st='hfam', k=855) == 'hfam'
assert railencrypt(st='\El#o*a;}', k=422) == '\El#o*a;}'

View file

@ -5,301 +5,301 @@ from benchmark.zellers_birthday import zeller
class Test_zeller(TestCase):
def test_zeller_1(self):
assert zeller(d=-831, m=321, y=57) == 'Saturday'
assert zeller(d=-145, m=296, y=-46) == 'Sunday'
def test_zeller_2(self):
assert zeller(d=-896, m=-37, y=-36) == 'Saturday'
assert zeller(d=521, m=722, y=29) == 'Tuesday'
def test_zeller_3(self):
assert zeller(d=-267, m=849, y=58) == 'Monday'
assert zeller(d=247, m=270, y=48) == 'Saturday'
def test_zeller_4(self):
assert zeller(d=-814, m=-614, y=-29) == 'Saturday'
assert zeller(d=-300, m=-543, y=-34) == 'Sunday'
def test_zeller_5(self):
assert zeller(d=-199, m=597, y=-89) == 'Saturday'
assert zeller(d=-788, m=722, y=71) == 'Sunday'
def test_zeller_6(self):
assert zeller(d=438, m=539, y=83) == 'Monday'
assert zeller(d=355, m=8, y=-34) == 'Wednesday'
def test_zeller_7(self):
assert zeller(d=-907, m=191, y=85) == 'Monday'
assert zeller(d=-830, m=-538, y=71) == 'Thursday'
def test_zeller_8(self):
assert zeller(d=547, m=933, y=41) == 'Tuesday'
assert zeller(d=368, m=726, y=-99) == 'Wednesday'
def test_zeller_9(self):
assert zeller(d=186, m=21, y=82) == 'Friday'
assert zeller(d=758, m=-547, y=80) == 'Friday'
def test_zeller_10(self):
assert zeller(d=-267, m=394, y=58) == 'Thursday'
assert zeller(d=165, m=435, y=32) == 'Monday'
def test_zeller_11(self):
assert zeller(d=835, m=224, y=6) == 'Saturday'
assert zeller(d=-850, m=22, y=-41) == 'Friday'
def test_zeller_12(self):
assert zeller(d=-497, m=-916, y=-35) == 'Thursday'
assert zeller(d=769, m=964, y=17) == 'Friday'
def test_zeller_13(self):
assert zeller(d=991, m=267, y=41) == 'Thursday'
assert zeller(d=-850, m=855, y=-41) == 'Monday'
def test_zeller_14(self):
assert zeller(d=-23, m=289, y=-12) == 'Thursday'
assert zeller(d=591, m=350, y=-13) == 'Sunday'
def test_zeller_15(self):
assert zeller(d=808, m=355, y=-56) == 'Friday'
assert zeller(d=696, m=-967, y=-91) == 'Thursday'
def test_zeller_16(self):
assert zeller(d=336, m=230, y=-15) == 'Friday'
assert zeller(d=-161, m=-656, y=-67) == 'Thursday'
def test_zeller_17(self):
assert zeller(d=-638, m=981, y=-63) == 'Saturday'
assert zeller(d=-160, m=850, y=53) == 'Friday'
def test_zeller_18(self):
assert zeller(d=-688, m=76, y=84) == 'Monday'
assert zeller(d=-366, m=306, y=48) == 'Monday'
def test_zeller_19(self):
assert zeller(d=321, m=845, y=66) == 'Sunday'
assert zeller(d=226, m=-15, y=32) == 'Sunday'
def test_zeller_20(self):
assert zeller(d=-495, m=-845, y=-72) == 'Saturday'
assert zeller(d=-850, m=19, y=-41) == 'Thursday'
def test_zeller_21(self):
assert zeller(d=101, m=939, y=-42) == 'Thursday'
assert zeller(d=-671, m=-984, y=-76) == 'Wednesday'
def test_zeller_22(self):
assert zeller(d=-71, m=984, y=-93) == 'Sunday'
assert zeller(d=423, m=-719, y=94) == 'Wednesday'
def test_zeller_23(self):
assert zeller(d=-429, m=782, y=-93) == 'Saturday'
assert zeller(d=255, m=-385, y=-2) == 'Friday'
def test_zeller_24(self):
assert zeller(d=508, m=89, y=-5) == 'Monday'
assert zeller(d=-769, m=-410, y=46) == 'Tuesday'
def test_zeller_25(self):
assert zeller(d=851, m=-437, y=-42) == 'Monday'
assert zeller(d=-645, m=-746, y=37) == 'Friday'
def test_zeller_26(self):
assert zeller(d=-381, m=-259, y=-58) == 'Sunday'
assert zeller(d=413, m=720, y=-43) == 'Monday'
def test_zeller_27(self):
assert zeller(d=588, m=-947, y=19) == 'Tuesday'
assert zeller(d=-583, m=971, y=-66) == 'Monday'
def test_zeller_28(self):
assert zeller(d=-159, m=480, y=62) == 'Friday'
assert zeller(d=-331, m=-808, y=51) == 'Tuesday'
def test_zeller_29(self):
assert zeller(d=434, m=782, y=-93) == 'Monday'
assert zeller(d=86, m=249, y=11) == 'Tuesday'
def test_zeller_30(self):
assert zeller(d=-851, m=-304, y=-9) == 'Friday'
assert zeller(d=425, m=484, y=-43) == 'Sunday'
def test_zeller_31(self):
assert zeller(d=427, m=-859, y=11) == 'Thursday'
assert zeller(d=-161, m=-523, y=-67) == 'Monday'
def test_zeller_32(self):
assert zeller(d=826, m=-460, y=-40) == 'Tuesday'
assert zeller(d=953, m=-629, y=29) == 'Monday'
def test_zeller_33(self):
assert zeller(d=517, m=-986, y=-24) == 'Saturday'
assert zeller(d=616, m=-410, y=37) == 'Sunday'
def test_zeller_34(self):
assert zeller(d=669, m=657, y=65) == 'Tuesday'
assert zeller(d=422, m=758, y=48) == 'Saturday'
def test_zeller_35(self):
assert zeller(d=20, m=-639, y=22) == 'Wednesday'
assert zeller(d=-310, m=-713, y=-48) == 'Tuesday'
def test_zeller_36(self):
assert zeller(d=-47, m=-51, y=24) == 'Thursday'
assert zeller(d=611, m=-17, y=-50) == 'Friday'
def test_zeller_37(self):
assert zeller(d=-702, m=789, y=17) == 'Saturday'
assert zeller(d=-957, m=-238, y=40) == 'Thursday'
def test_zeller_38(self):
assert zeller(d=658, m=-192, y=52) == 'Tuesday'
assert zeller(d=122, m=-716, y=-76) == 'Thursday'
def test_zeller_39(self):
assert zeller(d=-667, m=242, y=-28) == 'Saturday'
assert zeller(d=-8, m=541, y=-76) == 'Sunday'
def test_zeller_40(self):
assert zeller(d=765, m=-37, y=-36) == 'Saturday'
assert zeller(d=-435, m=895, y=71) == 'Monday'
def test_zeller_41(self):
assert zeller(d=-659, m=480, y=62) == 'Tuesday'
assert zeller(d=407, m=-333, y=15) == 'Monday'
def test_zeller_42(self):
assert zeller(d=991, m=933, y=41) == 'Friday'
assert zeller(d=86, m=67, y=11) == 'Thursday'
def test_zeller_43(self):
assert zeller(d=-447, m=166, y=72) == 'Tuesday'
assert zeller(d=-677, m=658, y=-63) == 'Wednesday'
def test_zeller_44(self):
assert zeller(d=956, m=-726, y=76) == 'Tuesday'
assert zeller(d=-773, m=7, y=-95) == 'Sunday'
def test_zeller_45(self):
assert zeller(d=114, m=206, y=-63) == 'Friday'
assert zeller(d=616, m=580, y=37) == 'Friday'
def test_zeller_46(self):
assert zeller(d=-442, m=671, y=61) == 'Saturday'
assert zeller(d=122, m=541, y=97) == 'Sunday'
def test_zeller_47(self):
assert zeller(d=-611, m=-373, y=7) == 'Friday'
assert zeller(d=326, m=229, y=60) == 'Wednesday'
def test_zeller_48(self):
assert zeller(d=-364, m=992, y=-16) == 'Saturday'
assert zeller(d=107, m=484, y=-43) == 'Saturday'
def test_zeller_49(self):
assert zeller(d=-611, m=206, y=7) == 'Friday'
assert zeller(d=-8, m=-951, y=-76) == 'Thursday'
def test_zeller_50(self):
assert zeller(d=111, m=553, y=-85) == 'Tuesday'
assert zeller(d=-817, m=-423, y=15) == 'Sunday'
def test_zeller_51(self):
assert zeller(d=-638, m=-373, y=-63) == 'Tuesday'
assert zeller(d=9, m=-433, y=-43) == 'Tuesday'
def test_zeller_52(self):
assert zeller(d=897, m=-866, y=-73) == 'Friday'
assert zeller(d=-932, m=-543, y=-34) == 'Tuesday'
def test_zeller_53(self):
assert zeller(d=-166, m=590, y=76) == 'Friday'
assert zeller(d=-247, m=-255, y=28) == 'Tuesday'
def test_zeller_54(self):
assert zeller(d=278, m=574, y=-85) == 'Sunday'
assert zeller(d=-415, m=-393, y=15) == 'Tuesday'
def test_zeller_55(self):
assert zeller(d=-445, m=-726, y=76) == 'Monday'
assert zeller(d=-830, m=-415, y=71) == 'Wednesday'
def test_zeller_56(self):
assert zeller(d=449, m=954, y=52) == 'Wednesday'
assert zeller(d=-823, m=-616, y=-46) == 'Saturday'
def test_zeller_57(self):
assert zeller(d=-896, m=224, y=6) == 'Friday'
assert zeller(d=107, m=-656, y=-43) == 'Wednesday'
def test_zeller_58(self):
assert zeller(d=-819, m=166, y=72) == 'Tuesday'
assert zeller(d=111, m=365, y=37) == 'Saturday'
def test_zeller_59(self):
assert zeller(d=-416, m=-532, y=7) == 'Monday'
assert zeller(d=278, m=379, y=24) == 'Sunday'
def test_zeller_60(self):
assert zeller(d=501, m=-309, y=17) == 'Friday'
assert zeller(d=247, m=2, y=48) == 'Tuesday'
def test_zeller_61(self):
assert zeller(d=182, m=834, y=58) == 'Monday'
assert zeller(d=805, m=-464, y=80) == 'Wednesday'
def test_zeller_62(self):
assert zeller(d=262, m=-578, y=85) == 'Friday'
assert zeller(d=291, m=-215, y=47) == 'Saturday'
def test_zeller_63(self):
assert zeller(d=650, m=655, y=27) == 'Wednesday'
assert zeller(d=-69, m=-772, y=-2) == 'Wednesday'
def test_zeller_64(self):
assert zeller(d=-634, m=635, y=19) == 'Sunday'
assert zeller(d=756, m=-533, y=7) == 'Wednesday'
def test_zeller_65(self):
assert zeller(d=247, m=113, y=12) == 'Sunday'
assert zeller(d=-69, m=522, y=-34) == 'Sunday'
def test_zeller_66(self):
assert zeller(d=-482, m=-259, y=-58) == 'Monday'
assert zeller(d=-788, m=37, y=71) == 'Sunday'
def test_zeller_67(self):
assert zeller(d=-170, m=-673, y=-70) == 'Monday'
assert zeller(d=413, m=-523, y=-43) == 'Wednesday'
def test_zeller_68(self):
assert zeller(d=287, m=-441, y=-94) == 'Sunday'
assert zeller(d=-197, m=-896, y=48) == 'Sunday'
def test_zeller_69(self):
assert zeller(d=878, m=531, y=54) == 'Sunday'
assert zeller(d=122, m=497, y=-76) == 'Wednesday'
def test_zeller_70(self):
assert zeller(d=304, m=-320, y=40) == 'Thursday'
assert zeller(d=-230, m=-366, y=-11) == 'Thursday'
def test_zeller_71(self):
assert zeller(d=-288, m=-841, y=76) == 'Tuesday'
assert zeller(d=-334, m=-945, y=81) == 'Sunday'
def test_zeller_72(self):
assert zeller(d=658, m=-523, y=52) == 'Friday'
assert zeller(d=-541, m=-333, y=87) == 'Thursday'
def test_zeller_73(self):
assert zeller(d=499, m=805, y=17) == 'Saturday'
assert zeller(d=-876, m=60, y=-99) == 'Saturday'
def test_zeller_74(self):
assert zeller(d=128, m=635, y=40) == 'Thursday'
assert zeller(d=-693, m=-503, y=85) == 'Thursday'
def test_zeller_75(self):
assert zeller(d=-651, m=312, y=-84) == 'Sunday'
assert zeller(d=-230, m=717, y=-11) == 'Friday'
def test_zeller_76(self):
assert zeller(d=269, m=-487, y=-23) == 'Wednesday'
assert zeller(d=-401, m=-732, y=64) == 'Thursday'
def test_zeller_77(self):
assert zeller(d=-638, m=54, y=-63) == 'Friday'
assert zeller(d=413, m=-656, y=-43) == 'Saturday'
def test_zeller_78(self):
assert zeller(d=501, m=-841, y=17) == 'Monday'
assert zeller(d=659, m=-98, y=83) == 'Wednesday'
def test_zeller_79(self):
assert zeller(d=-673, m=-449, y=-73) == 'Saturday'
assert zeller(d=341, m=871, y=83) == 'Monday'
def test_zeller_80(self):
assert zeller(d=-555, m=21, y=82) == 'Friday'
assert zeller(d=-154, m=-333, y=15) == 'Saturday'
def test_zeller_81(self):
assert zeller(d=735, m=-141, y=93) == 'Saturday'
assert zeller(d=-635, m=885, y=-87) == 'Friday'
def test_zeller_82(self):
assert zeller(d=-966, m=524, y=-3) == 'Saturday'
assert zeller(d=516, m=-897, y=67) == 'Saturday'
def test_zeller_83(self):
assert zeller(d=826, m=955, y=-40) == 'Wednesday'
assert zeller(d=336, m=281, y=-11) == 'Monday'
def test_zeller_84(self):
assert zeller(d=390, m=-386, y=65) == 'Friday'
assert zeller(d=-160, m=-348, y=53) == 'Tuesday'
def test_zeller_85(self):
assert zeller(d=58, m=-37, y=-36) == 'Friday'
assert zeller(d=56, m=-656, y=-43) == 'Sunday'
def test_zeller_86(self):
assert zeller(d=943, m=113, y=12) == 'Thursday'
assert zeller(d=-645, m=365, y=37) == 'Saturday'
def test_zeller_87(self):
assert zeller(d=-442, m=-824, y=61) == 'Saturday'
assert zeller(d=-621, m=-905, y=56) == 'Saturday'
def test_zeller_88(self):
assert zeller(d=-497, m=-566, y=-35) == 'Saturday'
assert zeller(d=-893, m=-785, y=-13) == 'Wednesday'
def test_zeller_89(self):
assert zeller(d=271, m=-523, y=-94) == 'Wednesday'
assert zeller(d=138, m=964, y=17) == 'Monday'
def test_zeller_90(self):
assert zeller(d=7, m=-583, y=76) == 'Saturday'
assert zeller(d=-674, m=-1, y=24) == 'Thursday'
def test_zeller_91(self):
assert zeller(d=-98, m=-966, y=-95) == 'Thursday'
assert zeller(d=411, m=-351, y=-66) == 'Saturday'
def test_zeller_92(self):
assert zeller(d=61, m=768, y=-51) == 'Wednesday'
assert zeller(d=669, m=-1, y=1) == 'Friday'
def test_zeller_93(self):
assert zeller(d=545, m=84, y=30) == 'Sunday'
assert zeller(d=962, m=-681, y=-9) == 'Friday'
def test_zeller_94(self):
assert zeller(d=20, m=-761, y=22) == 'Monday'
assert zeller(d=674, m=878, y=46) == 'Sunday'
def test_zeller_95(self):
assert zeller(d=499, m=-424, y=17) == 'Thursday'
assert zeller(d=-242, m=-333, y=15) == 'Monday'
def test_zeller_96(self):
assert zeller(d=-442, m=-241, y=61) == 'Thursday'
assert zeller(d=191, m=-785, y=-13) == 'Thursday'
def test_zeller_97(self):
assert zeller(d=445, m=-201, y=-92) == 'Monday'
assert zeller(d=122, m=-925, y=97) == 'Sunday'
def test_zeller_98(self):
assert zeller(d=-646, m=-366, y=-92) == 'Monday'
assert zeller(d=-437, m=-491, y=-11) == 'Sunday'
def test_zeller_99(self):
assert zeller(d=-846, m=-291, y=-93) == 'Saturday'
assert zeller(d=-230, m=238, y=-11) == 'Monday'
def test_zeller_100(self):
assert zeller(d=-831, m=-828, y=57) == 'Saturday'
assert zeller(d=171, m=29, y=-90) == 'Sunday'