content stringlengths 7 1.05M | fixed_cases stringlengths 1 1.28M |
|---|---|
def weekDay(dayOfTheWeek):
d = {
0: 'Sunday',
1: 'Monday',
2: 'Tuesday',
3: 'Wednesday',
4: 'Thursday',
5: 'Friday',
6: 'Saturday'
}
return d[dayOfTheWeek]
| def week_day(dayOfTheWeek):
d = {0: 'Sunday', 1: 'Monday', 2: 'Tuesday', 3: 'Wednesday', 4: 'Thursday', 5: 'Friday', 6: 'Saturday'}
return d[dayOfTheWeek] |
def Load_data(filename):
with open(filename) as f:
content = f.readlines()
content = [x.strip() for x in content]
Transaction = []
for i in range(0, len(content)):
Transaction.append(content[i].split())
return Transaction
#To convert initial transaction into frozenset
def create_initialset(dataset):
retDict = {}
for trans in dataset:
retDict[frozenset(trans)] = retDict.get(frozenset(trans), 0) + 1
return retDict
#class of FP TREE node
class TreeNode:
def __init__(self, Node_name,counter,parentNode):
self.name = Node_name
self.count = counter
self.nodeLink = None
self.parent = parentNode
self.children = {}
def increment_counter(self, counter):
self.count += counter
#To create Headertable and ordered itemsets for FP Tree
def create_FPTree(dataset, minSupport):
HeaderTable = {}
for transaction in dataset:
for item in transaction:
HeaderTable[item] = HeaderTable.get(item,0) + dataset[transaction]
for k in list(HeaderTable):
if HeaderTable[k] < minSupport:
del(HeaderTable[k])
frequent_itemset = set(HeaderTable.keys())
if len(frequent_itemset) == 0:
return None, None
for k in HeaderTable:
HeaderTable[k] = [HeaderTable[k], None]
retTree = TreeNode('Null Set',1,None)
my_count = 0
for itemset,count in dataset.items():
print(my_count)
my_count += 1
frequent_transaction = {}
for item in itemset:
if item in frequent_itemset:
frequent_transaction[item] = HeaderTable[item][0]
if len(frequent_transaction) > 0:
#to get ordered itemsets form transactions
ordered_itemset = [v[0] for v in sorted(frequent_transaction.items(), key=lambda p: p[1], reverse=True)]
#to update the FPTree
updateTree(ordered_itemset, retTree, HeaderTable, count)
return retTree, HeaderTable
#To create the FP Tree using ordered itemsets
def updateTree(itemset, FPTree, HeaderTable, count):
if itemset[0] in FPTree.children:
FPTree.children[itemset[0]].increment_counter(count)
else:
FPTree.children[itemset[0]] = TreeNode(itemset[0], count, FPTree)
if HeaderTable[itemset[0]][1] == None:
HeaderTable[itemset[0]][1] = FPTree.children[itemset[0]]
else:
update_NodeLink(HeaderTable[itemset[0]][1], FPTree.children[itemset[0]])
if len(itemset) > 1:
updateTree(itemset[1::], FPTree.children[itemset[0]], HeaderTable, count)
#To update the link of node in FP Tree
def update_NodeLink(Test_Node, Target_Node):
while (Test_Node.nodeLink != None):
Test_Node = Test_Node.nodeLink
Test_Node.nodeLink = Target_Node
#To transverse FPTree in upward direction
def FPTree_uptransveral(leaf_Node, prefixPath):
if leaf_Node.parent != None:
prefixPath.append(leaf_Node.name)
FPTree_uptransveral(leaf_Node.parent, prefixPath)
#To find conditional Pattern Bases
def find_prefix_path(basePat, TreeNode):
Conditional_patterns_base = {}
while TreeNode != None:
prefixPath = []
FPTree_uptransveral(TreeNode, prefixPath)
if len(prefixPath) > 1:
Conditional_patterns_base[frozenset(prefixPath[1:])] = TreeNode.count
TreeNode = TreeNode.nodeLink
return Conditional_patterns_base
#function to mine recursively conditional patterns base and conditional FP tree
def Mine_Tree(FPTree, HeaderTable, minSupport, prefix, frequent_itemset):
bigL = [v[0] for v in sorted(HeaderTable.items(),key=lambda p: p[1][0])]
for basePat in bigL:
new_frequentset = prefix.copy()
new_frequentset.add(basePat)
#print('basetPat', basePat)
#print('new set', new_frequentset)
#add frequent itemset to final list of frequent itemsets
frequent_itemset[tuple(new_frequentset)] = HeaderTable[basePat][0]
#get all conditional pattern bases for item or itemsets
Conditional_pattern_bases = find_prefix_path(basePat, HeaderTable[basePat][1])
#call FP Tree construction to make conditional FP Tree
Conditional_FPTree, Conditional_header = create_FPTree(Conditional_pattern_bases,minSupport)
#print(Conditional_pattern_bases)
if Conditional_header != None:
Mine_Tree(Conditional_FPTree, Conditional_header, minSupport, new_frequentset, frequent_itemset)
| def load_data(filename):
with open(filename) as f:
content = f.readlines()
content = [x.strip() for x in content]
transaction = []
for i in range(0, len(content)):
Transaction.append(content[i].split())
return Transaction
def create_initialset(dataset):
ret_dict = {}
for trans in dataset:
retDict[frozenset(trans)] = retDict.get(frozenset(trans), 0) + 1
return retDict
class Treenode:
def __init__(self, Node_name, counter, parentNode):
self.name = Node_name
self.count = counter
self.nodeLink = None
self.parent = parentNode
self.children = {}
def increment_counter(self, counter):
self.count += counter
def create_fp_tree(dataset, minSupport):
header_table = {}
for transaction in dataset:
for item in transaction:
HeaderTable[item] = HeaderTable.get(item, 0) + dataset[transaction]
for k in list(HeaderTable):
if HeaderTable[k] < minSupport:
del HeaderTable[k]
frequent_itemset = set(HeaderTable.keys())
if len(frequent_itemset) == 0:
return (None, None)
for k in HeaderTable:
HeaderTable[k] = [HeaderTable[k], None]
ret_tree = tree_node('Null Set', 1, None)
my_count = 0
for (itemset, count) in dataset.items():
print(my_count)
my_count += 1
frequent_transaction = {}
for item in itemset:
if item in frequent_itemset:
frequent_transaction[item] = HeaderTable[item][0]
if len(frequent_transaction) > 0:
ordered_itemset = [v[0] for v in sorted(frequent_transaction.items(), key=lambda p: p[1], reverse=True)]
update_tree(ordered_itemset, retTree, HeaderTable, count)
return (retTree, HeaderTable)
def update_tree(itemset, FPTree, HeaderTable, count):
if itemset[0] in FPTree.children:
FPTree.children[itemset[0]].increment_counter(count)
else:
FPTree.children[itemset[0]] = tree_node(itemset[0], count, FPTree)
if HeaderTable[itemset[0]][1] == None:
HeaderTable[itemset[0]][1] = FPTree.children[itemset[0]]
else:
update__node_link(HeaderTable[itemset[0]][1], FPTree.children[itemset[0]])
if len(itemset) > 1:
update_tree(itemset[1:], FPTree.children[itemset[0]], HeaderTable, count)
def update__node_link(Test_Node, Target_Node):
while Test_Node.nodeLink != None:
test__node = Test_Node.nodeLink
Test_Node.nodeLink = Target_Node
def fp_tree_uptransveral(leaf_Node, prefixPath):
if leaf_Node.parent != None:
prefixPath.append(leaf_Node.name)
fp_tree_uptransveral(leaf_Node.parent, prefixPath)
def find_prefix_path(basePat, TreeNode):
conditional_patterns_base = {}
while TreeNode != None:
prefix_path = []
fp_tree_uptransveral(TreeNode, prefixPath)
if len(prefixPath) > 1:
Conditional_patterns_base[frozenset(prefixPath[1:])] = TreeNode.count
tree_node = TreeNode.nodeLink
return Conditional_patterns_base
def mine__tree(FPTree, HeaderTable, minSupport, prefix, frequent_itemset):
big_l = [v[0] for v in sorted(HeaderTable.items(), key=lambda p: p[1][0])]
for base_pat in bigL:
new_frequentset = prefix.copy()
new_frequentset.add(basePat)
frequent_itemset[tuple(new_frequentset)] = HeaderTable[basePat][0]
conditional_pattern_bases = find_prefix_path(basePat, HeaderTable[basePat][1])
(conditional_fp_tree, conditional_header) = create_fp_tree(Conditional_pattern_bases, minSupport)
if Conditional_header != None:
mine__tree(Conditional_FPTree, Conditional_header, minSupport, new_frequentset, frequent_itemset) |
description = 'The just-bin-it histogrammer.'
devices = dict(
det_image1=device(
'nicos_ess.devices.datasources.just_bin_it.JustBinItImage',
description='A just-bin-it image channel',
hist_topic='ymir_visualisation',
data_topic='FREIA_detector',
brokers=['172.30.242.20:9092'],
unit='evts',
hist_type='2-D DET',
det_width=32,
det_height=192,
det_range=(1, 6144),
),
det_image2=device(
'nicos_ess.devices.datasources.just_bin_it.JustBinItImage',
description='A just-bin-it image channel',
hist_topic='ymir_visualisation',
data_topic='FREIA_detector',
brokers=['172.30.242.20:9092'],
unit='evts',
hist_type='2-D TOF',
det_width=32,
det_height=192,
),
det=device('nicos_ess.devices.datasources.just_bin_it.JustBinItDetector',
description='The just-bin-it histogrammer',
brokers=['172.30.242.20:9092'],
unit='',
command_topic='ymir_jbi_commands',
response_topic='ymir_jbi_responses',
images=['det_image1', 'det_image2'],
),
)
startupcode = '''
SetDetectors(det)
'''
| description = 'The just-bin-it histogrammer.'
devices = dict(det_image1=device('nicos_ess.devices.datasources.just_bin_it.JustBinItImage', description='A just-bin-it image channel', hist_topic='ymir_visualisation', data_topic='FREIA_detector', brokers=['172.30.242.20:9092'], unit='evts', hist_type='2-D DET', det_width=32, det_height=192, det_range=(1, 6144)), det_image2=device('nicos_ess.devices.datasources.just_bin_it.JustBinItImage', description='A just-bin-it image channel', hist_topic='ymir_visualisation', data_topic='FREIA_detector', brokers=['172.30.242.20:9092'], unit='evts', hist_type='2-D TOF', det_width=32, det_height=192), det=device('nicos_ess.devices.datasources.just_bin_it.JustBinItDetector', description='The just-bin-it histogrammer', brokers=['172.30.242.20:9092'], unit='', command_topic='ymir_jbi_commands', response_topic='ymir_jbi_responses', images=['det_image1', 'det_image2']))
startupcode = '\nSetDetectors(det)\n' |
class Coverage(object):
def __init__(self):
self.swaggerTypes = {
'Chrom': 'str',
'BucketSize': 'int',
'MeanCoverage': 'list<int>',
'EndPos': 'int',
'StartPos': 'int'
}
def __str__(self):
return 'Chr' + self.Chrom + ": " + str(self.StartPos) + "-" + str(self.EndPos) +\
": BucketSize=" + str(self.BucketSize)
def __repr__(self):
return str(self)
| class Coverage(object):
def __init__(self):
self.swaggerTypes = {'Chrom': 'str', 'BucketSize': 'int', 'MeanCoverage': 'list<int>', 'EndPos': 'int', 'StartPos': 'int'}
def __str__(self):
return 'Chr' + self.Chrom + ': ' + str(self.StartPos) + '-' + str(self.EndPos) + ': BucketSize=' + str(self.BucketSize)
def __repr__(self):
return str(self) |
DB_TABLES = []
class Table:
insertString = "CREATE TABLE {tableName} ("
def __init__(self, name, columns):
self.name = name
self.columns = columns
def getQuerry(self):
res = self.insertString.format(tableName=self.name)
for columns in self.columns:
res += columns.getQuerry() + ", "
res = res[:-2]
res += ")"
return res
class Column:
def __init__(self, name, datatype):
self.name = name
self.datatype = datatype
def getQuerry(self):
return "{name} {datatype}".format(name=self.name,
datatype=self.datatype)
DB_TABLES.append(
Table("room",
(Column("id", "INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL"),
Column("nickname", "TEXT NOT NULL"), Column("temperature", "FLOAT"),
Column("humidity", "FLOAT"), Column(
"airQuality", "FLOAT"), Column("objectiveSpeed", "INTEGER"))))
DB_TABLES.append(
Table("sensor_data", (
Column("id", "INTEGER UNIQUE NOT NULL"), Column(
"temperature", "FLOAT"), Column(
"humidity", "FLOAT"), Column("airQuality", "FLOAT"),
Column(
"",
"FOREIGN KEY ('id') REFERENCES 'room' ('id') ON DELETE CASCADE ON UPDATE CASCADE"
))))
DB_TABLES.append(
Table("past_sensor_data", (
Column("id", "INTEGER NOT NULL"), Column("temperature", "FLOAT"),
Column("humidity", "FLOAT"), Column("airQuality", "FLOAT"),
Column("dateTime", "TEXT DEFAULT CURRENT_TIMESTAMP"),
Column(
"",
"FOREIGN KEY ('id') REFERENCES 'room' ('id') ON DELETE CASCADE ON UPDATE CASCADE"
))))
DB_TABLES.append(
Table("device", (
Column("id", "INTEGER"), Column(
"serialNumber",
"TEXT NOT NULL UNIQUE"), Column("nickname", "TEXT DEFAULT ''"),
Column("curentValue", "FLOAT"), Column(
"capabilities", "JSON NOT NULL"), Column("lastUpdate", "datetime"),
Column(
"",
"FOREIGN KEY ('id') REFERENCES 'room' ('id') ON DELETE SET NULL ON UPDATE CASCADE"
))))
| db_tables = []
class Table:
insert_string = 'CREATE TABLE {tableName} ('
def __init__(self, name, columns):
self.name = name
self.columns = columns
def get_querry(self):
res = self.insertString.format(tableName=self.name)
for columns in self.columns:
res += columns.getQuerry() + ', '
res = res[:-2]
res += ')'
return res
class Column:
def __init__(self, name, datatype):
self.name = name
self.datatype = datatype
def get_querry(self):
return '{name} {datatype}'.format(name=self.name, datatype=self.datatype)
DB_TABLES.append(table('room', (column('id', 'INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL'), column('nickname', 'TEXT NOT NULL'), column('temperature', 'FLOAT'), column('humidity', 'FLOAT'), column('airQuality', 'FLOAT'), column('objectiveSpeed', 'INTEGER'))))
DB_TABLES.append(table('sensor_data', (column('id', 'INTEGER UNIQUE NOT NULL'), column('temperature', 'FLOAT'), column('humidity', 'FLOAT'), column('airQuality', 'FLOAT'), column('', "FOREIGN KEY ('id') REFERENCES 'room' ('id') ON DELETE CASCADE ON UPDATE CASCADE"))))
DB_TABLES.append(table('past_sensor_data', (column('id', 'INTEGER NOT NULL'), column('temperature', 'FLOAT'), column('humidity', 'FLOAT'), column('airQuality', 'FLOAT'), column('dateTime', 'TEXT DEFAULT CURRENT_TIMESTAMP'), column('', "FOREIGN KEY ('id') REFERENCES 'room' ('id') ON DELETE CASCADE ON UPDATE CASCADE"))))
DB_TABLES.append(table('device', (column('id', 'INTEGER'), column('serialNumber', 'TEXT NOT NULL UNIQUE'), column('nickname', "TEXT DEFAULT ''"), column('curentValue', 'FLOAT'), column('capabilities', 'JSON NOT NULL'), column('lastUpdate', 'datetime'), column('', "FOREIGN KEY ('id') REFERENCES 'room' ('id') ON DELETE SET NULL ON UPDATE CASCADE")))) |
### create list_of_tuples:
points = [
(1,2),
(3,4),
(5,6)
]
### retrieve the first element from the first tuple:
print(points[0][0])
# 1
### retrieve the last element from the first tuple:
print(points[0][-1])
# 2
### retrieve the first element from the last tuple:
print(points[-1][0])
# 5
### retrieve the last element from the last tuple:
print(points[-1][-1])
# 6
| points = [(1, 2), (3, 4), (5, 6)]
print(points[0][0])
print(points[0][-1])
print(points[-1][0])
print(points[-1][-1]) |
def reverse(string):
""" runtime complexity of this algorithm is O(n) """
# Starting index
start_index = 0
# Ending index
array = list(string)
last_index = len(array) - 1
while last_index > start_index:
# Swap items
array[start_index], array[last_index] = \
array[last_index], array[start_index]
# Increment first index and decrement last index
start_index += 1
last_index -= 1
return ''.join(array)
| def reverse(string):
""" runtime complexity of this algorithm is O(n) """
start_index = 0
array = list(string)
last_index = len(array) - 1
while last_index > start_index:
(array[start_index], array[last_index]) = (array[last_index], array[start_index])
start_index += 1
last_index -= 1
return ''.join(array) |
def to_string(val):
if val is None:
return ''
else:
return str(val) | def to_string(val):
if val is None:
return ''
else:
return str(val) |
x = int(input())
b = bool(input())
int_one_int_op_int_id = x + 0
int_one_int_op_bool_id = x + False
int_one_bool_op_int_id = x | 0
int_one_bool_op_bool_id = x | False
int_many_int_op_int_id = x + x + 0
int_many_int_op_bool_id = x + x + False
int_many_bool_op_int_id = x | x | 0
int_many_bool_op_bool_id = x | x | False
bool_one_int_op_int_id = b + 0
bool_one_int_op_bool_id = b + False
bool_one_bool_op_int_id = b | 0
bool_one_bool_op_bool_id = b | False
bool_many_int_op_int_id = b + b + 0
bool_many_int_op_bool_id = b + b + False
bool_many_bool_op_int_id = b | b | 0
bool_many_bool_op_bool_id = b | b | False | x = int(input())
b = bool(input())
int_one_int_op_int_id = x + 0
int_one_int_op_bool_id = x + False
int_one_bool_op_int_id = x | 0
int_one_bool_op_bool_id = x | False
int_many_int_op_int_id = x + x + 0
int_many_int_op_bool_id = x + x + False
int_many_bool_op_int_id = x | x | 0
int_many_bool_op_bool_id = x | x | False
bool_one_int_op_int_id = b + 0
bool_one_int_op_bool_id = b + False
bool_one_bool_op_int_id = b | 0
bool_one_bool_op_bool_id = b | False
bool_many_int_op_int_id = b + b + 0
bool_many_int_op_bool_id = b + b + False
bool_many_bool_op_int_id = b | b | 0
bool_many_bool_op_bool_id = b | b | False |
attr = [[164, 5, 4, 3, 2, 1, 11, 10, 9, 8, 7, 6, 12, 14, 13, 15, 18, 16, 17, 19, 20, 22, 21, 25, 24,
23, 28, 26, 27, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76],
[163, 77, 78, 79, 80, 81],
[162, 82, 83, 84],
[161, 85, 86],
[160, 87, 88],
[159, 89],
[158, 90],
[157, 91],
[156, 92],
[155, 93],
[154, 94],
[153, 95],
[152, 96],
[151, 97],
[150, 98],
[149, 99],
[148, 100],
[147, 101],
[146, 102],
[145, 103],
[144, 104],
[143, 105],
[142, 106],
[141, 107],
[140, 108],
[139, 109],
[138, 110],
[137, 111],
[136, 112],
[135, 113],
[134, 114],
[133, 115],
[132, 116],
[131, 117],
[130, 118],
[129, 119],
[128, 120],
[127, 121],
[126, 122],
[125, 123]]
# print(attr)
a,arr= [],[]
theta = 1000000
with open('C:\\Users\\91865\\Desktop\\SusyInput') as file:# C:\\Users\\91865\\Desktop\\SusyInput
for line in file:
line = line.strip()
new_line = line.replace('\t', ' ')
a = new_line.split(' ')
a = [int(i) for i in a]
arr.append(a)
a = []
# print(arr)
# alter the array to store only attributes
for i in range(len(arr)):
arr[i] = arr[i][1:]
# print(arr[i])
su = 0
ans = []
s = set()
for i in attr:
for k in i:
for j in range(len(arr)):
if k in arr[j]:
s.add(j + 1) # adding objects
su += len(s)
# print(k,len(s),theta - len(s))
s.clear()
print(su,theta - su)
su = 0 | attr = [[164, 5, 4, 3, 2, 1, 11, 10, 9, 8, 7, 6, 12, 14, 13, 15, 18, 16, 17, 19, 20, 22, 21, 25, 24, 23, 28, 26, 27, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76], [163, 77, 78, 79, 80, 81], [162, 82, 83, 84], [161, 85, 86], [160, 87, 88], [159, 89], [158, 90], [157, 91], [156, 92], [155, 93], [154, 94], [153, 95], [152, 96], [151, 97], [150, 98], [149, 99], [148, 100], [147, 101], [146, 102], [145, 103], [144, 104], [143, 105], [142, 106], [141, 107], [140, 108], [139, 109], [138, 110], [137, 111], [136, 112], [135, 113], [134, 114], [133, 115], [132, 116], [131, 117], [130, 118], [129, 119], [128, 120], [127, 121], [126, 122], [125, 123]]
(a, arr) = ([], [])
theta = 1000000
with open('C:\\Users\\91865\\Desktop\\SusyInput') as file:
for line in file:
line = line.strip()
new_line = line.replace('\t', ' ')
a = new_line.split(' ')
a = [int(i) for i in a]
arr.append(a)
a = []
for i in range(len(arr)):
arr[i] = arr[i][1:]
su = 0
ans = []
s = set()
for i in attr:
for k in i:
for j in range(len(arr)):
if k in arr[j]:
s.add(j + 1)
su += len(s)
s.clear()
print(su, theta - su)
su = 0 |
#!/usr/bin/python3
def safeDivide(x,y):
try:
a = x/y
except:
a = 0
finally:
return a
print(safeDivide(10,0))
# Can also specify a particular exception..
def this_fails():
x = 1/0
try:
this_fails()
except ZeroDivisionError as errmsg:
print('I am handling a run-time error:', errmsg)
| def safe_divide(x, y):
try:
a = x / y
except:
a = 0
finally:
return a
print(safe_divide(10, 0))
def this_fails():
x = 1 / 0
try:
this_fails()
except ZeroDivisionError as errmsg:
print('I am handling a run-time error:', errmsg) |
# Copyright 2009-2017 Ram Rachum.
# This program is distributed under the MIT license.
class CuteBaseTimer:
'''A base class for timers, allowing easy central stopping.'''
__timers = [] # todo: change to weakref list
def __init__(self, parent):
self.__parent = parent
CuteBaseTimer.__timers.append(self)
@staticmethod # should be classmethod?
def stop_timers_by_frame(frame):
'''Stop all the timers that are associated with the given frame.'''
for timer in CuteBaseTimer.__timers:
ancestor = timer.__parent
while ancestor:
if ancestor == frame:
timer.Stop()
break
ancestor = ancestor.GetParent()
| class Cutebasetimer:
"""A base class for timers, allowing easy central stopping."""
__timers = []
def __init__(self, parent):
self.__parent = parent
CuteBaseTimer.__timers.append(self)
@staticmethod
def stop_timers_by_frame(frame):
"""Stop all the timers that are associated with the given frame."""
for timer in CuteBaseTimer.__timers:
ancestor = timer.__parent
while ancestor:
if ancestor == frame:
timer.Stop()
break
ancestor = ancestor.GetParent() |
def sep_str():
inp = input(str("Enter word/words with '*' sign wherever you want: ")).rsplit("*", 1)[0]
return inp
print(sep_str())
| def sep_str():
inp = input(str("Enter word/words with '*' sign wherever you want: ")).rsplit('*', 1)[0]
return inp
print(sep_str()) |
"""
This package contains the sphinx extensions used by Astropy.
The `automodsumm` and `automodapi` modules contain extensions used by Astropy
to generate API documentation - see the docstrings for details. The `numpydoc`
module is dervied from the documentation tools numpy and scipy use to parse
docstrings in the numpy/scipy format, and are also used by Astropy. The
other modules are dependencies for `numpydoc`.
"""
| """
This package contains the sphinx extensions used by Astropy.
The `automodsumm` and `automodapi` modules contain extensions used by Astropy
to generate API documentation - see the docstrings for details. The `numpydoc`
module is dervied from the documentation tools numpy and scipy use to parse
docstrings in the numpy/scipy format, and are also used by Astropy. The
other modules are dependencies for `numpydoc`.
""" |
ONE_DAY_IN_SEC = 86400
SCHEMA_VERSION = "2018-10-08"
NOT_APPLICABLE = "N/A"
ASFF_TYPE = "Unusual Behaviors/Application/ForcepointCASB"
BLANK = "blank"
OTHER = "Other"
SAAS_SECURITY_GATEWAY = "SaaS Security Gateway"
RESOURCES_OTHER_FIELDS_LST = [
"Name",
"suid",
"suser",
"duser",
"act",
"cat",
"cs1",
"app",
"deviceFacility",
"deviceProcessName",
"dpriv",
"end",
"externalId",
"fsize",
"msg",
"proto",
"reason",
"request",
"requestClientApplication",
"rt",
"sourceServiceName",
"cs2",
"cs3",
"cs5",
"cs6",
"AD.ThreatRadarCategory",
"AD.TORNetworks",
"AD.MaliciousIPs",
"AD.AnonymousProxies",
"AD.IPChain",
"AD.IPOrigin",
"AD.samAccountName",
"dproc",
"flexString1",
"flexString2",
"cn1",
"duid",
"oldFileId",
"oldFileName",
"fname",
"dhost",
"dvc",
"dvchost",
"destinationProcessName",
"record",
"cs4",
]
BATCH_LOG_FILE_NAME = "casb-siem-aws-missed.log"
STREAM_LOG_FILE_NAME = "casb-siem-aws.log"
CEF_EXT = ".cef"
AWS_SECURITYHUB_BATCH_LIMIT = 100
AWS_LIMIT_TIME_IN_DAYS = 90
DEFAULT_INSIGHTS_FILE = "insights.json"
INSIGHTS_ARNS_FILE = "insights_arns.json"
CLOUDFORMATION_STACK_NAME = "SecurityHubEnabled"
CLOUDFORMATION_STACK_TEMPLATE_FILE = "cloudFormation-stack.json"
MAX_RETRIES = 60 # equivalent to 5 minutes (waiting 5 seconds per attempt)
CRITICAL = "CRITICAL"
HIGH = "HIGH"
MEDIUM = "MEDIUM"
LOW = "LOW"
INFORMATIONAL = "INFORMATIONAL"
| one_day_in_sec = 86400
schema_version = '2018-10-08'
not_applicable = 'N/A'
asff_type = 'Unusual Behaviors/Application/ForcepointCASB'
blank = 'blank'
other = 'Other'
saas_security_gateway = 'SaaS Security Gateway'
resources_other_fields_lst = ['Name', 'suid', 'suser', 'duser', 'act', 'cat', 'cs1', 'app', 'deviceFacility', 'deviceProcessName', 'dpriv', 'end', 'externalId', 'fsize', 'msg', 'proto', 'reason', 'request', 'requestClientApplication', 'rt', 'sourceServiceName', 'cs2', 'cs3', 'cs5', 'cs6', 'AD.ThreatRadarCategory', 'AD.TORNetworks', 'AD.MaliciousIPs', 'AD.AnonymousProxies', 'AD.IPChain', 'AD.IPOrigin', 'AD.samAccountName', 'dproc', 'flexString1', 'flexString2', 'cn1', 'duid', 'oldFileId', 'oldFileName', 'fname', 'dhost', 'dvc', 'dvchost', 'destinationProcessName', 'record', 'cs4']
batch_log_file_name = 'casb-siem-aws-missed.log'
stream_log_file_name = 'casb-siem-aws.log'
cef_ext = '.cef'
aws_securityhub_batch_limit = 100
aws_limit_time_in_days = 90
default_insights_file = 'insights.json'
insights_arns_file = 'insights_arns.json'
cloudformation_stack_name = 'SecurityHubEnabled'
cloudformation_stack_template_file = 'cloudFormation-stack.json'
max_retries = 60
critical = 'CRITICAL'
high = 'HIGH'
medium = 'MEDIUM'
low = 'LOW'
informational = 'INFORMATIONAL' |
input_file = open("input.txt","r")
input_lines = input_file.readlines()
#print(*input_lines)
rules = []
tickets = []
for line in input_lines:
if line[0].isalpha() and 'or' in line:
#print("Rule")
firstLow = line.split(' ')[-3].split('-')[0]
firstHigh = line.split(' ')[-3].split('-')[1]
secondLow = line.split(' ')[-1].split('-')[0]
secondHigh = line.split(' ')[-1].split('-')[1][:-1]
rules.append([firstLow, firstHigh, secondLow, secondHigh])
#elif line[0].isalpha():
#print("Your/nearby ticket")
elif line[0].isnumeric():
tickets.append(line.strip().split(','))
#print("Ticket")
#print(rules)
#print(tickets)
error_rate = 0
for ticket in tickets[1:]: #loop through each ticket, also skip the first one
for field in ticket: #Loop through each field
for rule in rules: #Loop through each rule
if (int(rule[0]) <= int(field) <= int(rule[1])) or (int(rule[2]) <= int(field) <= int(rule[3])):
break
if rule == rules[-1]:
error_rate += int(field)
print("Error rate:", error_rate) | input_file = open('input.txt', 'r')
input_lines = input_file.readlines()
rules = []
tickets = []
for line in input_lines:
if line[0].isalpha() and 'or' in line:
first_low = line.split(' ')[-3].split('-')[0]
first_high = line.split(' ')[-3].split('-')[1]
second_low = line.split(' ')[-1].split('-')[0]
second_high = line.split(' ')[-1].split('-')[1][:-1]
rules.append([firstLow, firstHigh, secondLow, secondHigh])
elif line[0].isnumeric():
tickets.append(line.strip().split(','))
error_rate = 0
for ticket in tickets[1:]:
for field in ticket:
for rule in rules:
if int(rule[0]) <= int(field) <= int(rule[1]) or int(rule[2]) <= int(field) <= int(rule[3]):
break
if rule == rules[-1]:
error_rate += int(field)
print('Error rate:', error_rate) |
#
# PySNMP MIB module PANASAS-BLADESET-MIB-V1 (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/PANASAS-BLADESET-MIB-V1
# Produced by pysmi-0.3.4 at Mon Apr 29 20:27:54 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueSizeConstraint, ValueRangeConstraint, SingleValueConstraint, ConstraintsIntersection, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ValueRangeConstraint", "SingleValueConstraint", "ConstraintsIntersection", "ConstraintsUnion")
panFs, = mibBuilder.importSymbols("PANASAS-PANFS-MIB-V1", "panFs")
PanSerialNumber, = mibBuilder.importSymbols("PANASAS-TC-MIB", "PanSerialNumber")
ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup")
Bits, MibScalar, MibTable, MibTableRow, MibTableColumn, IpAddress, ObjectIdentity, Integer32, Unsigned32, MibIdentifier, NotificationType, ModuleIdentity, TimeTicks, Counter64, Gauge32, Counter32, iso = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "IpAddress", "ObjectIdentity", "Integer32", "Unsigned32", "MibIdentifier", "NotificationType", "ModuleIdentity", "TimeTicks", "Counter64", "Gauge32", "Counter32", "iso")
DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention")
panBSet = ModuleIdentity((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3))
panBSet.setRevisions(('2011-04-07 00:00',))
if mibBuilder.loadTexts: panBSet.setLastUpdated('201104070000Z')
if mibBuilder.loadTexts: panBSet.setOrganization('Panasas, Inc')
panBSetTable = MibTable((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 1), )
if mibBuilder.loadTexts: panBSetTable.setStatus('current')
panBSetEntry = MibTableRow((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 1, 1), ).setIndexNames((0, "PANASAS-BLADESET-MIB-V1", "panBSetName"))
if mibBuilder.loadTexts: panBSetEntry.setStatus('current')
panBSetName = MibTableColumn((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 1, 1, 1), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: panBSetName.setStatus('current')
panBSetNumBlades = MibTableColumn((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 1, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: panBSetNumBlades.setStatus('current')
panBSetAvailSpares = MibTableColumn((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 1, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: panBSetAvailSpares.setStatus('current')
panBSetRequestedSpares = MibTableColumn((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 1, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: panBSetRequestedSpares.setStatus('current')
panBSetTotalCapacity = MibTableColumn((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 1, 1, 5), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: panBSetTotalCapacity.setStatus('current')
panBSetReservedCapacity = MibTableColumn((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 1, 1, 6), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: panBSetReservedCapacity.setStatus('current')
panBSetUsedCapacity = MibTableColumn((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 1, 1, 7), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: panBSetUsedCapacity.setStatus('current')
panBSetAvailableCapacity = MibTableColumn((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 1, 1, 8), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: panBSetAvailableCapacity.setStatus('current')
panBSetInfo = MibTableColumn((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 1, 1, 9), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: panBSetInfo.setStatus('current')
panBSetBladesTable = MibTable((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 2), )
if mibBuilder.loadTexts: panBSetBladesTable.setStatus('obsolete')
panBSetBladesEntry = MibTableRow((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 2, 1), ).setIndexNames((0, "PANASAS-BLADESET-MIB-V1", "panBSetName"), (0, "PANASAS-BLADESET-MIB-V1", "panBSetBladeIndex"))
if mibBuilder.loadTexts: panBSetBladesEntry.setStatus('obsolete')
panBSetBladeIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 2, 1, 1), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: panBSetBladeIndex.setStatus('obsolete')
panBSetBladeHwSn = MibTableColumn((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 2, 1, 2), PanSerialNumber()).setMaxAccess("readonly")
if mibBuilder.loadTexts: panBSetBladeHwSn.setStatus('obsolete')
mibBuilder.exportSymbols("PANASAS-BLADESET-MIB-V1", panBSetTotalCapacity=panBSetTotalCapacity, panBSetInfo=panBSetInfo, panBSetRequestedSpares=panBSetRequestedSpares, panBSetBladesTable=panBSetBladesTable, panBSetNumBlades=panBSetNumBlades, panBSetBladesEntry=panBSetBladesEntry, PYSNMP_MODULE_ID=panBSet, panBSetUsedCapacity=panBSetUsedCapacity, panBSetAvailableCapacity=panBSetAvailableCapacity, panBSetTable=panBSetTable, panBSetName=panBSetName, panBSetReservedCapacity=panBSetReservedCapacity, panBSetEntry=panBSetEntry, panBSetBladeIndex=panBSetBladeIndex, panBSetAvailSpares=panBSetAvailSpares, panBSet=panBSet, panBSetBladeHwSn=panBSetBladeHwSn)
| (object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_size_constraint, value_range_constraint, single_value_constraint, constraints_intersection, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'ValueRangeConstraint', 'SingleValueConstraint', 'ConstraintsIntersection', 'ConstraintsUnion')
(pan_fs,) = mibBuilder.importSymbols('PANASAS-PANFS-MIB-V1', 'panFs')
(pan_serial_number,) = mibBuilder.importSymbols('PANASAS-TC-MIB', 'PanSerialNumber')
(module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup')
(bits, mib_scalar, mib_table, mib_table_row, mib_table_column, ip_address, object_identity, integer32, unsigned32, mib_identifier, notification_type, module_identity, time_ticks, counter64, gauge32, counter32, iso) = mibBuilder.importSymbols('SNMPv2-SMI', 'Bits', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'IpAddress', 'ObjectIdentity', 'Integer32', 'Unsigned32', 'MibIdentifier', 'NotificationType', 'ModuleIdentity', 'TimeTicks', 'Counter64', 'Gauge32', 'Counter32', 'iso')
(display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention')
pan_b_set = module_identity((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3))
panBSet.setRevisions(('2011-04-07 00:00',))
if mibBuilder.loadTexts:
panBSet.setLastUpdated('201104070000Z')
if mibBuilder.loadTexts:
panBSet.setOrganization('Panasas, Inc')
pan_b_set_table = mib_table((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 1))
if mibBuilder.loadTexts:
panBSetTable.setStatus('current')
pan_b_set_entry = mib_table_row((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 1, 1)).setIndexNames((0, 'PANASAS-BLADESET-MIB-V1', 'panBSetName'))
if mibBuilder.loadTexts:
panBSetEntry.setStatus('current')
pan_b_set_name = mib_table_column((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 1, 1, 1), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
panBSetName.setStatus('current')
pan_b_set_num_blades = mib_table_column((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 1, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
panBSetNumBlades.setStatus('current')
pan_b_set_avail_spares = mib_table_column((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 1, 1, 3), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
panBSetAvailSpares.setStatus('current')
pan_b_set_requested_spares = mib_table_column((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 1, 1, 4), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
panBSetRequestedSpares.setStatus('current')
pan_b_set_total_capacity = mib_table_column((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 1, 1, 5), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
panBSetTotalCapacity.setStatus('current')
pan_b_set_reserved_capacity = mib_table_column((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 1, 1, 6), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
panBSetReservedCapacity.setStatus('current')
pan_b_set_used_capacity = mib_table_column((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 1, 1, 7), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
panBSetUsedCapacity.setStatus('current')
pan_b_set_available_capacity = mib_table_column((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 1, 1, 8), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
panBSetAvailableCapacity.setStatus('current')
pan_b_set_info = mib_table_column((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 1, 1, 9), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
panBSetInfo.setStatus('current')
pan_b_set_blades_table = mib_table((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 2))
if mibBuilder.loadTexts:
panBSetBladesTable.setStatus('obsolete')
pan_b_set_blades_entry = mib_table_row((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 2, 1)).setIndexNames((0, 'PANASAS-BLADESET-MIB-V1', 'panBSetName'), (0, 'PANASAS-BLADESET-MIB-V1', 'panBSetBladeIndex'))
if mibBuilder.loadTexts:
panBSetBladesEntry.setStatus('obsolete')
pan_b_set_blade_index = mib_table_column((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 2, 1, 1), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
panBSetBladeIndex.setStatus('obsolete')
pan_b_set_blade_hw_sn = mib_table_column((1, 3, 6, 1, 4, 1, 10159, 1, 3, 3, 2, 1, 2), pan_serial_number()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
panBSetBladeHwSn.setStatus('obsolete')
mibBuilder.exportSymbols('PANASAS-BLADESET-MIB-V1', panBSetTotalCapacity=panBSetTotalCapacity, panBSetInfo=panBSetInfo, panBSetRequestedSpares=panBSetRequestedSpares, panBSetBladesTable=panBSetBladesTable, panBSetNumBlades=panBSetNumBlades, panBSetBladesEntry=panBSetBladesEntry, PYSNMP_MODULE_ID=panBSet, panBSetUsedCapacity=panBSetUsedCapacity, panBSetAvailableCapacity=panBSetAvailableCapacity, panBSetTable=panBSetTable, panBSetName=panBSetName, panBSetReservedCapacity=panBSetReservedCapacity, panBSetEntry=panBSetEntry, panBSetBladeIndex=panBSetBladeIndex, panBSetAvailSpares=panBSetAvailSpares, panBSet=panBSet, panBSetBladeHwSn=panBSetBladeHwSn) |
#!/usr/bin/env python3
def step(n):
if n%2==0:
return n/2
else:
return 3*n + 1
def to_one(n):
count = 0
while n != 1:
n = step(n)
count += 1
return count
def all_chains(highest):
for i in range(1, highest):
yield (i, to_one(i))
print(max( all_chains(1000000), key=(lambda x: x[1]) ))
| def step(n):
if n % 2 == 0:
return n / 2
else:
return 3 * n + 1
def to_one(n):
count = 0
while n != 1:
n = step(n)
count += 1
return count
def all_chains(highest):
for i in range(1, highest):
yield (i, to_one(i))
print(max(all_chains(1000000), key=lambda x: x[1])) |
#program to check whether every even index contains an even number
# and every odd index contains odd number of a given list.
def odd_even_position(nums):
return all(nums[i]%2==i%2 for i in range(len(nums)))
print(odd_even_position([2, 1, 4, 3, 6, 7, 6, 3]))
print(odd_even_position([2, 1, 4, 3, 6, 7, 6, 4]))
print(odd_even_position([4, 1, 2])) | def odd_even_position(nums):
return all((nums[i] % 2 == i % 2 for i in range(len(nums))))
print(odd_even_position([2, 1, 4, 3, 6, 7, 6, 3]))
print(odd_even_position([2, 1, 4, 3, 6, 7, 6, 4]))
print(odd_even_position([4, 1, 2])) |
love = 'I would love to be in '
places = [ 'zion', 'bryce', 'moab', 'arches', 'candyland', 'sedona']
for x in places:
print(x)
| love = 'I would love to be in '
places = ['zion', 'bryce', 'moab', 'arches', 'candyland', 'sedona']
for x in places:
print(x) |
# This Python file uses the following encoding: utf-8
"""This file contains functions for the formatting of the the test results files."""
def line(char: str = "_", newline: bool = False) -> None:
"""Prints a character 70 times, with an optional preceding newline."""
if newline is True:
print ()
if len(char) == 1:
print (char * 70)
else:
raise ValueError(f"The parameter 'char' must be a string that is one character long, not {len(char)} characters long!")
def header(text: str) -> None:
"""Prints a centered, all-uppercase header for the unittest log files. Tries to center the 'headertext' for a 70-character column width. """
if not str.isupper(text):
text = str.upper(text)
num_spaces = int ((70 - len (text)) / 2)
print (" " * num_spaces, text, " " * num_spaces, sep="")
| """This file contains functions for the formatting of the the test results files."""
def line(char: str='_', newline: bool=False) -> None:
"""Prints a character 70 times, with an optional preceding newline."""
if newline is True:
print()
if len(char) == 1:
print(char * 70)
else:
raise value_error(f"The parameter 'char' must be a string that is one character long, not {len(char)} characters long!")
def header(text: str) -> None:
"""Prints a centered, all-uppercase header for the unittest log files. Tries to center the 'headertext' for a 70-character column width. """
if not str.isupper(text):
text = str.upper(text)
num_spaces = int((70 - len(text)) / 2)
print(' ' * num_spaces, text, ' ' * num_spaces, sep='') |
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
load("//antlir/bzl:constants.bzl", "REPO_CFG")
def check_flavor_exists(flavor):
if flavor not in REPO_CFG.flavor_to_config:
fail(
"{} must be in {}"
.format(flavor, list(REPO_CFG.flavor_to_config)),
"flavor",
)
| load('//antlir/bzl:constants.bzl', 'REPO_CFG')
def check_flavor_exists(flavor):
if flavor not in REPO_CFG.flavor_to_config:
fail('{} must be in {}'.format(flavor, list(REPO_CFG.flavor_to_config)), 'flavor') |
# ======================================================================
# Subterranean Sustainability
# Advent of Code 2018 Day 12 -- Eric Wastl -- https://adventofcode.com
#
# Python implementation by Dr. Dean Earl Wright III
# ======================================================================
# ======================================================================
# p o t s . p y
# ======================================================================
"A solver for the Advent of Code 2018 Day 12 puzzle"
# ----------------------------------------------------------------------
# import
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
# constants
# ----------------------------------------------------------------------
GENERATIONS = 20
P2_GENERATIONS = 50000000000
P2_100 = 2675
P2_DELTA = 22
# ======================================================================
# Pots
# ======================================================================
class Pots(object): # pylint: disable=R0902, R0205
"Object for Subterranean Sustainability"
def __init__(self, generations=GENERATIONS, text=None, part2=False):
# 1. Set the initial values
self.part2 = part2
self.text = text
self.pots = ''
self.rules = {}
self.left = 0
self.generations = generations
# 2. Process text (if any)
if text is not None and len(text) > 3:
self.processText(text)
def processText(self, text):
self.pots = '.' * self.generations
self.left = -self.generations
self.processInitialState(text[0])
self.processRules(text[1:])
def processInitialState(self, line):
parts = line.split(' ')
if parts[0] != 'initial' or parts[1] != 'state:':
print("*** Expected 'initial state' but found '%s %s'" % (parts[0], parts[1]))
return
self.pots = self.pots + parts[2] + self.pots
def processRules(self, text):
for line in text:
parts = line.split(' ')
if parts[1] != '=>':
print("*** Expected '=>' but found '%s'" % parts[1])
return
self.rules[parts[0]] = parts[2]
def next(self, index):
current = self.pots[index-2:index+3]
if current in self.rules:
return self.rules[current]
return '.'
def next_generation(self):
result = ['.','.']
for index in range(2, len(self.pots)-2):
result.append(self.next(index))
return ''.join(result) + '..'
def sum_pots(self):
result = 0
value = self.left
for pot in self.pots:
if pot == '#':
result += value
value += 1
return result
def run(self, verbose=False):
for gen in range(1, self.generations+1):
next_gen = self.next_generation()
self.pots = next_gen
if verbose:
print("%2d: %5d %s" % (gen, self.sum_pots(), next_gen))
def part_one(self, verbose=False, limit=0):
"Returns the solution for part one"
# 1. Return the solution for part one
self.run(verbose=verbose)
return self.sum_pots()
def part_two(self, verbose=False, limit=0):
"Returns the solution for part two"
# 1. Return the solution for part two
return P2_100 + P2_DELTA * (P2_GENERATIONS - 100)
# ----------------------------------------------------------------------
# module initialization
# ----------------------------------------------------------------------
if __name__ == '__main__':
pass
# ======================================================================
# end p o t s . p y end
# ======================================================================
| """A solver for the Advent of Code 2018 Day 12 puzzle"""
generations = 20
p2_generations = 50000000000
p2_100 = 2675
p2_delta = 22
class Pots(object):
"""Object for Subterranean Sustainability"""
def __init__(self, generations=GENERATIONS, text=None, part2=False):
self.part2 = part2
self.text = text
self.pots = ''
self.rules = {}
self.left = 0
self.generations = generations
if text is not None and len(text) > 3:
self.processText(text)
def process_text(self, text):
self.pots = '.' * self.generations
self.left = -self.generations
self.processInitialState(text[0])
self.processRules(text[1:])
def process_initial_state(self, line):
parts = line.split(' ')
if parts[0] != 'initial' or parts[1] != 'state:':
print("*** Expected 'initial state' but found '%s %s'" % (parts[0], parts[1]))
return
self.pots = self.pots + parts[2] + self.pots
def process_rules(self, text):
for line in text:
parts = line.split(' ')
if parts[1] != '=>':
print("*** Expected '=>' but found '%s'" % parts[1])
return
self.rules[parts[0]] = parts[2]
def next(self, index):
current = self.pots[index - 2:index + 3]
if current in self.rules:
return self.rules[current]
return '.'
def next_generation(self):
result = ['.', '.']
for index in range(2, len(self.pots) - 2):
result.append(self.next(index))
return ''.join(result) + '..'
def sum_pots(self):
result = 0
value = self.left
for pot in self.pots:
if pot == '#':
result += value
value += 1
return result
def run(self, verbose=False):
for gen in range(1, self.generations + 1):
next_gen = self.next_generation()
self.pots = next_gen
if verbose:
print('%2d: %5d %s' % (gen, self.sum_pots(), next_gen))
def part_one(self, verbose=False, limit=0):
"""Returns the solution for part one"""
self.run(verbose=verbose)
return self.sum_pots()
def part_two(self, verbose=False, limit=0):
"""Returns the solution for part two"""
return P2_100 + P2_DELTA * (P2_GENERATIONS - 100)
if __name__ == '__main__':
pass |
"""
51 / 51 test cases passed.
Runtime: 108 ms
Memory Usage: 19.3 MB
"""
class Solution:
def gardenNoAdj(self, n: int, paths: List[List[int]]) -> List[int]:
graph = [[] for _ in range(n)]
ans = [0] * n
for x, y in paths:
graph[x - 1].append(y - 1)
graph[y - 1].append(x - 1)
for i in range(n):
ans[i] = ({1, 2, 3, 4} - {ans[adj] for adj in graph[i]}).pop()
return ans
| """
51 / 51 test cases passed.
Runtime: 108 ms
Memory Usage: 19.3 MB
"""
class Solution:
def garden_no_adj(self, n: int, paths: List[List[int]]) -> List[int]:
graph = [[] for _ in range(n)]
ans = [0] * n
for (x, y) in paths:
graph[x - 1].append(y - 1)
graph[y - 1].append(x - 1)
for i in range(n):
ans[i] = ({1, 2, 3, 4} - {ans[adj] for adj in graph[i]}).pop()
return ans |
#Python program to remove the n'th
# index character from a nonempty string.
inputStr = "akfjljfldksgnlfskgjlsjf"
n = 5
def abc(inputStr, n):
if n > len(inputStr):
print("invalid 'n'.")
return 0
return inputStr[0:n-1] + inputStr[n:]
newStr = abc(inputStr,n)
print(newStr)
| input_str = 'akfjljfldksgnlfskgjlsjf'
n = 5
def abc(inputStr, n):
if n > len(inputStr):
print("invalid 'n'.")
return 0
return inputStr[0:n - 1] + inputStr[n:]
new_str = abc(inputStr, n)
print(newStr) |
class SetCommands():
def __init__(self, command):
self.command = command
def speed(self, x: int):
"""
description: set speed to x cm/s x: 10-100
response: ok, error
"""
return self.command(f'speed {x}')
def rc_control(self, a, b, c, d):
"""
description: Send RC control via four channels.
a: left/right (-100~100)
b: forward/backward (-100~100)
c: up/down (-100~100)
d: yaw (-100~100)
response: ok, error
"""
return self.command(f'rc {a} {b} {c} {d}')
def wifi(self, ssid: str, psw: str):
"""
description: Set Wi-Fi with SSID password
response: ok, error
"""
return self.command(f'wifi {ssid} {psw}') | class Setcommands:
def __init__(self, command):
self.command = command
def speed(self, x: int):
"""
description: set speed to x cm/s x: 10-100
response: ok, error
"""
return self.command(f'speed {x}')
def rc_control(self, a, b, c, d):
"""
description: Send RC control via four channels.
a: left/right (-100~100)
b: forward/backward (-100~100)
c: up/down (-100~100)
d: yaw (-100~100)
response: ok, error
"""
return self.command(f'rc {a} {b} {c} {d}')
def wifi(self, ssid: str, psw: str):
"""
description: Set Wi-Fi with SSID password
response: ok, error
"""
return self.command(f'wifi {ssid} {psw}') |
## Copyright 2002-2003 Andrew Loewenstern, All Rights Reserved
# see LICENSE.txt for license information
def bucket_stats(l):
"""given a list of khashmir instances, finds min, max, and average number of nodes in tables"""
max = avg = 0
min = None
def count(buckets):
c = 0
for bucket in buckets:
c = c + len(bucket.l)
return c
for node in l:
c = count(node.table.buckets)
if min == None:
min = c
elif c < min:
min = c
if c > max:
max = c
avg = avg + c
avg = avg / len(l)
return {'min':min, 'max':max, 'avg':avg}
| def bucket_stats(l):
"""given a list of khashmir instances, finds min, max, and average number of nodes in tables"""
max = avg = 0
min = None
def count(buckets):
c = 0
for bucket in buckets:
c = c + len(bucket.l)
return c
for node in l:
c = count(node.table.buckets)
if min == None:
min = c
elif c < min:
min = c
if c > max:
max = c
avg = avg + c
avg = avg / len(l)
return {'min': min, 'max': max, 'avg': avg} |
DEFAULT_MEROSS_HTTP_API = "https://iot.meross.com"
DEFAULT_MQTT_HOST = "mqtt.meross.com"
DEFAULT_MQTT_PORT = 443
DEFAULT_COMMAND_TIMEOUT = 10.0
| default_meross_http_api = 'https://iot.meross.com'
default_mqtt_host = 'mqtt.meross.com'
default_mqtt_port = 443
default_command_timeout = 10.0 |
t = int(input())
while t > 0:
s = input()
new = ''
c=1
for i in range(len(s)):
if i == 0:
new+=s[i]
elif i!=0 and s[i] != s[i-1]:
new+=str(c)
c=1
new+=s[i]
elif s[i] == s[i-1] and new[-1] == s[i]:
c+=1
print(new)
t-=1 | t = int(input())
while t > 0:
s = input()
new = ''
c = 1
for i in range(len(s)):
if i == 0:
new += s[i]
elif i != 0 and s[i] != s[i - 1]:
new += str(c)
c = 1
new += s[i]
elif s[i] == s[i - 1] and new[-1] == s[i]:
c += 1
print(new)
t -= 1 |
class RelinquishOptions(object,IDisposable):
"""
Options to control behavior of relinquishing ownership of elements and worksets.
RelinquishOptions(relinquishEverything: bool)
"""
def Dispose(self):
""" Dispose(self: RelinquishOptions) """
pass
def ReleaseUnmanagedResources(self,*args):
""" ReleaseUnmanagedResources(self: RelinquishOptions,disposing: bool) """
pass
def __enter__(self,*args):
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self,*args):
""" __exit__(self: IDisposable,exc_type: object,exc_value: object,exc_back: object) """
pass
def __init__(self,*args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod
def __new__(self,relinquishEverything):
""" __new__(cls: type,relinquishEverything: bool) """
pass
def __repr__(self,*args):
""" __repr__(self: object) -> str """
pass
CheckedOutElements=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""True means all elements checked out by the current user should be relinquished.
False means none of these are relinquished.
Get: CheckedOutElements(self: RelinquishOptions) -> bool
Set: CheckedOutElements(self: RelinquishOptions)=value
"""
FamilyWorksets=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""True means all family worksets owned by the current user should be relinquished.
False means none of these are relinquished.
Get: FamilyWorksets(self: RelinquishOptions) -> bool
Set: FamilyWorksets(self: RelinquishOptions)=value
"""
IsValidObject=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Specifies whether the .NET object represents a valid Revit entity.
Get: IsValidObject(self: RelinquishOptions) -> bool
"""
StandardWorksets=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""True means all project standards worksets owned by the current user should be relinquished.
False means none of these are relinquished.
Get: StandardWorksets(self: RelinquishOptions) -> bool
Set: StandardWorksets(self: RelinquishOptions)=value
"""
UserWorksets=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""True means all user-created worksets owned by the current user should be relinquished.
False means none of these are relinquished.
Get: UserWorksets(self: RelinquishOptions) -> bool
Set: UserWorksets(self: RelinquishOptions)=value
"""
ViewWorksets=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""True means all view worksets owned by the current user should be relinquished.
False means none of these are relinquished.
Get: ViewWorksets(self: RelinquishOptions) -> bool
Set: ViewWorksets(self: RelinquishOptions)=value
"""
| class Relinquishoptions(object, IDisposable):
"""
Options to control behavior of relinquishing ownership of elements and worksets.
RelinquishOptions(relinquishEverything: bool)
"""
def dispose(self):
""" Dispose(self: RelinquishOptions) """
pass
def release_unmanaged_resources(self, *args):
""" ReleaseUnmanagedResources(self: RelinquishOptions,disposing: bool) """
pass
def __enter__(self, *args):
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args):
""" __exit__(self: IDisposable,exc_type: object,exc_value: object,exc_back: object) """
pass
def __init__(self, *args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod
def __new__(self, relinquishEverything):
""" __new__(cls: type,relinquishEverything: bool) """
pass
def __repr__(self, *args):
""" __repr__(self: object) -> str """
pass
checked_out_elements = property(lambda self: object(), lambda self, v: None, lambda self: None)
'True means all elements checked out by the current user should be relinquished.\n\n False means none of these are relinquished.\n\n\n\nGet: CheckedOutElements(self: RelinquishOptions) -> bool\n\n\n\nSet: CheckedOutElements(self: RelinquishOptions)=value\n\n'
family_worksets = property(lambda self: object(), lambda self, v: None, lambda self: None)
'True means all family worksets owned by the current user should be relinquished.\n\n False means none of these are relinquished.\n\n\n\nGet: FamilyWorksets(self: RelinquishOptions) -> bool\n\n\n\nSet: FamilyWorksets(self: RelinquishOptions)=value\n\n'
is_valid_object = property(lambda self: object(), lambda self, v: None, lambda self: None)
'Specifies whether the .NET object represents a valid Revit entity.\n\n\n\nGet: IsValidObject(self: RelinquishOptions) -> bool\n\n\n\n'
standard_worksets = property(lambda self: object(), lambda self, v: None, lambda self: None)
'True means all project standards worksets owned by the current user should be relinquished.\n\n False means none of these are relinquished.\n\n\n\nGet: StandardWorksets(self: RelinquishOptions) -> bool\n\n\n\nSet: StandardWorksets(self: RelinquishOptions)=value\n\n'
user_worksets = property(lambda self: object(), lambda self, v: None, lambda self: None)
'True means all user-created worksets owned by the current user should be relinquished.\n\n False means none of these are relinquished.\n\n\n\nGet: UserWorksets(self: RelinquishOptions) -> bool\n\n\n\nSet: UserWorksets(self: RelinquishOptions)=value\n\n'
view_worksets = property(lambda self: object(), lambda self, v: None, lambda self: None)
'True means all view worksets owned by the current user should be relinquished.\n\n False means none of these are relinquished.\n\n\n\nGet: ViewWorksets(self: RelinquishOptions) -> bool\n\n\n\nSet: ViewWorksets(self: RelinquishOptions)=value\n\n' |
# Vim has the best keybindings ever
class Vim:
@property
def __best__(self):
return True
| class Vim:
@property
def __best__(self):
return True |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
def all_messages():
return \
{
"0": "Nettacker-motor begon ...\n\n",
"1": "python nettacker.py [opties]",
"2": "Toon Nettacker Help Menu",
"3": "Gelieve de licentie en afspraken te lezen https://github.com/viraintel/OWASP-Nettacker\n",
"4": "Motor",
"5": "Motorinvoeropties",
"6": "selecteer een taal {0}",
"7": "scan alle IP's in het bereik",
"8": "subdomeinen zoeken en scannen",
"9": "draadnummers voor verbindingen met een host",
"10": "draadnummers voor scan hosts",
"11": "Sla alle logboeken op in het bestand (results.txt, results.html, results.json)",
"12": "Doel",
"13": "Target input opties",
"14": "doel (en) lijst, apart met \",\"",
"15": "lees doel (en) van het bestand",
"16": "Opties voor scanmethode",
"17": "kies scanmethode {0}",
"18": "kies scanmethode om {0} uit te sluiten",
"19": "gebruikersnaam (en) lijst, apart met \",\"",
"20": "lees gebruikersnaam (s) van het bestand",
"21": "wachtwoord (en) lijst, apart met \",\"",
"22": "lees wachtwoord (en) van het bestand",
"23": "poort (en) lijst, apart met \",\"",
"24": "lees wachtwoorden van het bestand",
"25": "tijd om te slapen tussen elk verzoek",
"26": "Kan de doelstelling (en) niet opgeven",
"27": "Kan de doelstelling (en) niet specificeren, bestand niet openen: {0}",
"28": "het is beter om draadnummer lager dan 100 te gebruiken, BTW gaan we door ...",
"29": "stel time-out in {0} seconden, het is te groot, is het niet? door de manier waarop we doorgaan ...",
"30": "deze scanmodule [{0}] niet gevonden!",
"31": "deze scanmodule [{0}] niet gevonden!",
"32": "U kunt alle scanmethodes niet uitsluiten",
"33": "U kunt alle scanmethodes niet uitsluiten",
"34": "de {0} module die u heeft geselecteerd om te sluiten niet gevonden!",
"35": "enter methods inputs, example: \"ftp_brute_users=test,admin&ftp_brute_passwds="
"read_from_file:/tmp/pass.txt&ftp_brute_port=21\"",
"36": "kan het bestand niet lezen {0}",
"37": "Kan de gebruikersnaam (en) niet opgeven, kan het bestand niet openen: {0}",
"38": "",
"39": "Kan het wachtwoord (en) niet specificeren, bestand niet openen: {0}",
"40": "bestand \"{0}\" is niet te schrijven!",
"41": "kies alstublieft uw scanmethode!",
"42": "Temp-bestanden verwijderen!",
"43": "sorteren resultaten!",
"44": "gedaan!",
"45": "begin met {0}, {1} van {2} aanval",
"46": "deze module \"{0}\" is niet beschikbaar",
"47": "helaas kan deze versie van de software gewoon op linux /osx/windows worden uitgevoerd.",
"48": "Uw Python-versie wordt niet ondersteund!",
"49": "overslaan duplicaat doel (sommige subdomeinen / domeinen kunnen hetzelfde IP en bereik hebben)",
"50": "onbekend type doelwit [{0}]",
"51": "controleer {0} bereik ...",
"52": "controleert {0} ...",
"53": "HOST",
"54": "USERNAME",
"55": "WACHTWOORD",
"56": "HAVEN",
"57": "TYPE",
"58": "BESCHRIJVING",
"59": "verbose modus niveau (0-5) (standaard 0)",
"60": "toon software versie",
"61": "controleer op updates",
"62": "",
"63": "",
"64": "Wordt opnieuw geprobeerd als de verbindings time-out (standaard 3)",
"65": "ftp verbinding met {0}: {1} time-out, overslaan {2}: {3}",
"66": "INGESLOTEN!",
"67": "INGESLOTEN INGESLOTEN, TOEGESTAAN VOOR LIJST COMMAND!",
"68": "ftp verbinding met {0}: {1} mislukt, de hele stap overslaan [proces {2} van {3}]!"
" Naar de volgende stap gaan",
"69": "invoer doel voor {0} module moet DOMAIN, HTTP of SINGLE_IPv4 zijn, om {1}",
"70": "gebruiker: {0} pass: {1} host: {2} port: {3} found!",
"71": "(GEEN TOESTEMMING VOOR LIJSTFILES)",
"72": "proberen {0} van {1} in behandeling {2} van {3} {4}: {5}",
"73": "smtp verbinding met {0}: {1} time-out, overslaan {2}: {3}",
"74": "smtp verbinding met {0}: {1} is mislukt, de hele stap overschrijdt [proces {2} van {3}]!"
" Naar de volgende stap gaan",
"75": "invoer doel voor {0} module moet HTTP, overslaan {1}",
"76": "ssh verbinding met {0}: {1} time-out, overslaan {2}: {3}",
"77": "ssh verbinding met {0}: {1} is mislukt, de hele stap overschrijdt [proces {2} van {3}]!"
" Naar de volgende stap gaan",
"78": "ssh verbinding met% s:% s is mislukt, de hele stap overslaan [proces% s van% s]! Naar "
"de volgende stap gaan",
"79": "OPEN PORT",
"80": "host: {0} poort: {1} gevonden!",
"81": "doel {0} ingediend!",
"82": "kan geen proxy-lijstbestand openen: {0}",
"83": "kan geen proxy-lijstbestand vinden: {0}",
"84": "U gebruikt OWASP Nettacker versie {0} {1} {2} {6} met code naam {3} {4} {5}",
"85": "deze functie is nog niet beschikbaar! voer alsjeblieft \"git clone https://github.com/viraintel/"
"OWASP-Nettacker.git\" of \"pip install -U OWASP-Nettacker\" om de laatste versie te krijgen.",
"86": "bouw een grafiek van alle activiteiten en informatie, u moet HTML-uitvoer gebruiken. "
"beschikbare grafieken: {0}",
"87": "om grafiekfunctie te gebruiken, moet uw uitvoerbestandnaam eindigen met \".html\" of \".htm\"!",
"88": "bouwgrafiek ...",
"89": "voltooi bouw grafiek!",
"90": "Penetratie Testen Grafieken",
"91": "Deze grafiek is gemaakt door OWASP Nettacker. Grafiek bevat alle modules activiteiten, "
"netwerk kaart en gevoelige informatie, Deel dit bestand niet met iemand als het niet betrouwbaar is.",
"92": "OWASP Nettacker Report",
"93": "Software Details: OWASP Nettacker versie {0} [{1}] in {2}",
"94": "geen open poorten gevonden!",
"95": "geen gebruiker / wachtwoord gevonden!",
"96": "{0} modules geladen ...",
"97": "deze grafiekmodule niet gevonden: {0}",
"98": "deze grafische module \"{0}\" is niet beschikbaar",
"99": "ping voor het scannen van de host",
"100": "het overslaan van het hele doel {0} en het scannen methode {1} doordat -ping-before-scan "
"is waar en het antwoordde niet!",
"101": "U gebruikt de laatste versie van OWASP Nettacker niet, alsjeblieft bijwerken.",
"102": "Kijk niet naar updates, controleer alstublieft uw internetverbinding.",
"103": "U gebruikt de laatste versie van OWASP Nettacker ...",
"104": "directory listing found in {0}",
"105": "Voer alsjeblieft de poort in via de -g of --methods-args-schakelaar in plaats van url",
"106": "http verbinding {0} time-out!",
"107": "",
"108": "no directory or file found for {0} in port {1}",
"109": "unable to open {0}",
"110": "dir_scan_http_method waarde moet GET of HEAD zijn, stel standaard in op GET.",
"111": "lijst alle methoden args",
"112": "kan {0} module args niet krijgen",
"113": "",
"114": "",
"115": "",
"116": "",
"117": ""
}
| def all_messages():
return {'0': 'Nettacker-motor begon ...\n\n', '1': 'python nettacker.py [opties]', '2': 'Toon Nettacker Help Menu', '3': 'Gelieve de licentie en afspraken te lezen https://github.com/viraintel/OWASP-Nettacker\n', '4': 'Motor', '5': 'Motorinvoeropties', '6': 'selecteer een taal {0}', '7': "scan alle IP's in het bereik", '8': 'subdomeinen zoeken en scannen', '9': 'draadnummers voor verbindingen met een host', '10': 'draadnummers voor scan hosts', '11': 'Sla alle logboeken op in het bestand (results.txt, results.html, results.json)', '12': 'Doel', '13': 'Target input opties', '14': 'doel (en) lijst, apart met ","', '15': 'lees doel (en) van het bestand', '16': 'Opties voor scanmethode', '17': 'kies scanmethode {0}', '18': 'kies scanmethode om {0} uit te sluiten', '19': 'gebruikersnaam (en) lijst, apart met ","', '20': 'lees gebruikersnaam (s) van het bestand', '21': 'wachtwoord (en) lijst, apart met ","', '22': 'lees wachtwoord (en) van het bestand', '23': 'poort (en) lijst, apart met ","', '24': 'lees wachtwoorden van het bestand', '25': 'tijd om te slapen tussen elk verzoek', '26': 'Kan de doelstelling (en) niet opgeven', '27': 'Kan de doelstelling (en) niet specificeren, bestand niet openen: {0}', '28': 'het is beter om draadnummer lager dan 100 te gebruiken, BTW gaan we door ...', '29': 'stel time-out in {0} seconden, het is te groot, is het niet? door de manier waarop we doorgaan ...', '30': 'deze scanmodule [{0}] niet gevonden!', '31': 'deze scanmodule [{0}] niet gevonden!', '32': 'U kunt alle scanmethodes niet uitsluiten', '33': 'U kunt alle scanmethodes niet uitsluiten', '34': 'de {0} module die u heeft geselecteerd om te sluiten niet gevonden!', '35': 'enter methods inputs, example: "ftp_brute_users=test,admin&ftp_brute_passwds=read_from_file:/tmp/pass.txt&ftp_brute_port=21"', '36': 'kan het bestand niet lezen {0}', '37': 'Kan de gebruikersnaam (en) niet opgeven, kan het bestand niet openen: {0}', '38': '', '39': 'Kan het wachtwoord (en) niet specificeren, bestand niet openen: {0}', '40': 'bestand "{0}" is niet te schrijven!', '41': 'kies alstublieft uw scanmethode!', '42': 'Temp-bestanden verwijderen!', '43': 'sorteren resultaten!', '44': 'gedaan!', '45': 'begin met {0}, {1} van {2} aanval', '46': 'deze module "{0}" is niet beschikbaar', '47': 'helaas kan deze versie van de software gewoon op linux /osx/windows worden uitgevoerd.', '48': 'Uw Python-versie wordt niet ondersteund!', '49': 'overslaan duplicaat doel (sommige subdomeinen / domeinen kunnen hetzelfde IP en bereik hebben)', '50': 'onbekend type doelwit [{0}]', '51': 'controleer {0} bereik ...', '52': 'controleert {0} ...', '53': 'HOST', '54': 'USERNAME', '55': 'WACHTWOORD', '56': 'HAVEN', '57': 'TYPE', '58': 'BESCHRIJVING', '59': 'verbose modus niveau (0-5) (standaard 0)', '60': 'toon software versie', '61': 'controleer op updates', '62': '', '63': '', '64': 'Wordt opnieuw geprobeerd als de verbindings time-out (standaard 3)', '65': 'ftp verbinding met {0}: {1} time-out, overslaan {2}: {3}', '66': 'INGESLOTEN!', '67': 'INGESLOTEN INGESLOTEN, TOEGESTAAN VOOR LIJST COMMAND!', '68': 'ftp verbinding met {0}: {1} mislukt, de hele stap overslaan [proces {2} van {3}]! Naar de volgende stap gaan', '69': 'invoer doel voor {0} module moet DOMAIN, HTTP of SINGLE_IPv4 zijn, om {1}', '70': 'gebruiker: {0} pass: {1} host: {2} port: {3} found!', '71': '(GEEN TOESTEMMING VOOR LIJSTFILES)', '72': 'proberen {0} van {1} in behandeling {2} van {3} {4}: {5}', '73': 'smtp verbinding met {0}: {1} time-out, overslaan {2}: {3}', '74': 'smtp verbinding met {0}: {1} is mislukt, de hele stap overschrijdt [proces {2} van {3}]! Naar de volgende stap gaan', '75': 'invoer doel voor {0} module moet HTTP, overslaan {1}', '76': 'ssh verbinding met {0}: {1} time-out, overslaan {2}: {3}', '77': 'ssh verbinding met {0}: {1} is mislukt, de hele stap overschrijdt [proces {2} van {3}]! Naar de volgende stap gaan', '78': 'ssh verbinding met% s:% s is mislukt, de hele stap overslaan [proces% s van% s]! Naar de volgende stap gaan', '79': 'OPEN PORT', '80': 'host: {0} poort: {1} gevonden!', '81': 'doel {0} ingediend!', '82': 'kan geen proxy-lijstbestand openen: {0}', '83': 'kan geen proxy-lijstbestand vinden: {0}', '84': 'U gebruikt OWASP Nettacker versie {0} {1} {2} {6} met code naam {3} {4} {5}', '85': 'deze functie is nog niet beschikbaar! voer alsjeblieft "git clone https://github.com/viraintel/OWASP-Nettacker.git" of "pip install -U OWASP-Nettacker" om de laatste versie te krijgen.', '86': 'bouw een grafiek van alle activiteiten en informatie, u moet HTML-uitvoer gebruiken. beschikbare grafieken: {0}', '87': 'om grafiekfunctie te gebruiken, moet uw uitvoerbestandnaam eindigen met ".html" of ".htm"!', '88': 'bouwgrafiek ...', '89': 'voltooi bouw grafiek!', '90': 'Penetratie Testen Grafieken', '91': 'Deze grafiek is gemaakt door OWASP Nettacker. Grafiek bevat alle modules activiteiten, netwerk kaart en gevoelige informatie, Deel dit bestand niet met iemand als het niet betrouwbaar is.', '92': 'OWASP Nettacker Report', '93': 'Software Details: OWASP Nettacker versie {0} [{1}] in {2}', '94': 'geen open poorten gevonden!', '95': 'geen gebruiker / wachtwoord gevonden!', '96': '{0} modules geladen ...', '97': 'deze grafiekmodule niet gevonden: {0}', '98': 'deze grafische module "{0}" is niet beschikbaar', '99': 'ping voor het scannen van de host', '100': 'het overslaan van het hele doel {0} en het scannen methode {1} doordat -ping-before-scan is waar en het antwoordde niet!', '101': 'U gebruikt de laatste versie van OWASP Nettacker niet, alsjeblieft bijwerken.', '102': 'Kijk niet naar updates, controleer alstublieft uw internetverbinding.', '103': 'U gebruikt de laatste versie van OWASP Nettacker ...', '104': 'directory listing found in {0}', '105': 'Voer alsjeblieft de poort in via de -g of --methods-args-schakelaar in plaats van url', '106': 'http verbinding {0} time-out!', '107': '', '108': 'no directory or file found for {0} in port {1}', '109': 'unable to open {0}', '110': 'dir_scan_http_method waarde moet GET of HEAD zijn, stel standaard in op GET.', '111': 'lijst alle methoden args', '112': 'kan {0} module args niet krijgen', '113': '', '114': '', '115': '', '116': '', '117': ''} |
def compare(s, m):
""" Compute a scatter plot
Args:
s (ndarray): astrocat's true position over time
m (ndarray): astrocat's measured position over time according to the sensor
"""
fig = plt.figure()
ax = fig.add_subplot(111)
sbounds = 1.1*max(max(np.abs(s)), max(np.abs(m)))
ax.plot([-sbounds, sbounds], [-sbounds, sbounds], 'k') # plot line of equality
ax.set_xlabel('state')
ax.set_ylabel('measurement')
ax.set_aspect('equal')
# Complete a scatter plot: true state versus measurements
plt.scatter(s, m, marker='.', color='red', s=100)
# Set parameters
np.random.seed(0)
D = 0.9 # parameter in s(t)
T = 50 # total time duration
s0 = 5. # initial condition of s at time 0
sigma_p = 2 # amount of noise in the actuators of astrocat's propulsion unit
sigma_measurements = 4 # amount of noise in astrocat's collar
# Simulate Astrocat
s = simulate(D, s0, sigma_p, T)
# Take measurement from collar
m = read_collar(s, sigma_measurements)
# Visualize true vs measured states
with plt.xkcd():
compare(s,m) | def compare(s, m):
""" Compute a scatter plot
Args:
s (ndarray): astrocat's true position over time
m (ndarray): astrocat's measured position over time according to the sensor
"""
fig = plt.figure()
ax = fig.add_subplot(111)
sbounds = 1.1 * max(max(np.abs(s)), max(np.abs(m)))
ax.plot([-sbounds, sbounds], [-sbounds, sbounds], 'k')
ax.set_xlabel('state')
ax.set_ylabel('measurement')
ax.set_aspect('equal')
plt.scatter(s, m, marker='.', color='red', s=100)
np.random.seed(0)
d = 0.9
t = 50
s0 = 5.0
sigma_p = 2
sigma_measurements = 4
s = simulate(D, s0, sigma_p, T)
m = read_collar(s, sigma_measurements)
with plt.xkcd():
compare(s, m) |
FLOAT_PRECISION = 3
DEFAULT_MIN_TIME_IN_HOUR = 0
DEFAULT_MAX_TIME_IN_HOUR = 230
MINUTES_IN_AN_HOUR = 60
FS = "Fs"
FOIL = "Foil"
FG = "Fg"
PRES = "pressure"
DISCHARGE = "discharge"
WATER = "Fw"
PAA = "Fpaa"
DEFAULT_PENICILLIN_RECIPE_ORDER = [FS, FOIL, FG, PRES, DISCHARGE, WATER, PAA]
FS_DEFAULT_PROFILE = [
{"time": 3, "value": 8},
{"time": 12, "value": 15},
{"time": 16, "value": 30},
{"time": 20, "value": 75},
{"time": 24, "value": 150},
{"time": 28, "value": 30},
{"time": 32, "value": 37},
{"time": 36, "value": 43},
{"time": 40, "value": 47},
{"time": 44, "value": 51},
{"time": 48, "value": 57},
{"time": 52, "value": 61},
{"time": 56, "value": 65},
{"time": 60, "value": 72},
{"time": 64, "value": 76},
{"time": 68, "value": 80},
{"time": 72, "value": 84},
{"time": 76, "value": 90},
{"time": 80, "value": 116},
{"time": 160, "value": 90},
{"time": 230, "value": 80}
]
FOIL_DEFAULT_PROFILE = [
{"time": 4, "value": 22},
{"time": 16, "value": 30},
{"time": 56, "value": 35},
{"time": 60, "value": 34},
{"time": 64, "value": 33},
{"time": 68, "value": 32},
{"time": 72, "value": 31},
{"time": 76, "value": 30},
{"time": 80, "value": 29},
{"time": 230, "value": 23},
]
FG_DEFAULT_PROFILE = [
{"time": 8, "value": 30},
{"time": 20, "value": 42},
{"time": 40, "value": 55},
{"time": 90, "value": 60},
{"time": 200, "value": 75},
{"time": 230, "value": 65}
]
PRESS_DEFAULT_PROFILE = [
{"time": 12.4, "value": 0.6},
{"time": 25, "value": 0.7},
{"time": 30, "value": 0.8},
{"time": 40, "value": 0.9},
{"time": 100, "value": 1.1},
{"time": 150, "value": 1},
{"time": 200, "value": 0.9},
{"time": 230, "value": 0.9},
]
DISCHARGE_DEFAULT_PROFILE = [
{"time": 100, "value": 0},
{"time": 102, "value": 4000},
{"time": 130, "value": 0},
{"time": 132, "value": 4000},
{"time": 150, "value": 0},
{"time": 152, "value": 4000},
{"time": 170, "value": 0},
{"time": 172, "value": 4000},
{"time": 190, "value": 0},
{"time": 192, "value": 4000},
{"time": 210, "value": 0},
{"time": 212, "value": 4000},
{"time": 230, "value": 0}
]
WATER_DEFAULT_PROFILE = [
{"time": 50, "value": 0},
{"time": 75, "value": 500},
{"time": 150, "value": 100},
{"time": 160, "value": 0},
{"time": 170, "value": 400},
{"time": 200, "value": 150},
{"time": 230, "value": 250}
]
PAA_DEFAULT_PROFILE = [
{"time": 5, "value": 5},
{"time": 40, "value": 0},
{"time": 200, "value": 10},
{"time": 230, "value": 4}
]
| float_precision = 3
default_min_time_in_hour = 0
default_max_time_in_hour = 230
minutes_in_an_hour = 60
fs = 'Fs'
foil = 'Foil'
fg = 'Fg'
pres = 'pressure'
discharge = 'discharge'
water = 'Fw'
paa = 'Fpaa'
default_penicillin_recipe_order = [FS, FOIL, FG, PRES, DISCHARGE, WATER, PAA]
fs_default_profile = [{'time': 3, 'value': 8}, {'time': 12, 'value': 15}, {'time': 16, 'value': 30}, {'time': 20, 'value': 75}, {'time': 24, 'value': 150}, {'time': 28, 'value': 30}, {'time': 32, 'value': 37}, {'time': 36, 'value': 43}, {'time': 40, 'value': 47}, {'time': 44, 'value': 51}, {'time': 48, 'value': 57}, {'time': 52, 'value': 61}, {'time': 56, 'value': 65}, {'time': 60, 'value': 72}, {'time': 64, 'value': 76}, {'time': 68, 'value': 80}, {'time': 72, 'value': 84}, {'time': 76, 'value': 90}, {'time': 80, 'value': 116}, {'time': 160, 'value': 90}, {'time': 230, 'value': 80}]
foil_default_profile = [{'time': 4, 'value': 22}, {'time': 16, 'value': 30}, {'time': 56, 'value': 35}, {'time': 60, 'value': 34}, {'time': 64, 'value': 33}, {'time': 68, 'value': 32}, {'time': 72, 'value': 31}, {'time': 76, 'value': 30}, {'time': 80, 'value': 29}, {'time': 230, 'value': 23}]
fg_default_profile = [{'time': 8, 'value': 30}, {'time': 20, 'value': 42}, {'time': 40, 'value': 55}, {'time': 90, 'value': 60}, {'time': 200, 'value': 75}, {'time': 230, 'value': 65}]
press_default_profile = [{'time': 12.4, 'value': 0.6}, {'time': 25, 'value': 0.7}, {'time': 30, 'value': 0.8}, {'time': 40, 'value': 0.9}, {'time': 100, 'value': 1.1}, {'time': 150, 'value': 1}, {'time': 200, 'value': 0.9}, {'time': 230, 'value': 0.9}]
discharge_default_profile = [{'time': 100, 'value': 0}, {'time': 102, 'value': 4000}, {'time': 130, 'value': 0}, {'time': 132, 'value': 4000}, {'time': 150, 'value': 0}, {'time': 152, 'value': 4000}, {'time': 170, 'value': 0}, {'time': 172, 'value': 4000}, {'time': 190, 'value': 0}, {'time': 192, 'value': 4000}, {'time': 210, 'value': 0}, {'time': 212, 'value': 4000}, {'time': 230, 'value': 0}]
water_default_profile = [{'time': 50, 'value': 0}, {'time': 75, 'value': 500}, {'time': 150, 'value': 100}, {'time': 160, 'value': 0}, {'time': 170, 'value': 400}, {'time': 200, 'value': 150}, {'time': 230, 'value': 250}]
paa_default_profile = [{'time': 5, 'value': 5}, {'time': 40, 'value': 0}, {'time': 200, 'value': 10}, {'time': 230, 'value': 4}] |
def singleton(class_):
instances = {}
def getinstance(*args, **kwargs):
if class_ not in instances:
instances[class_] = class_(*args, **kwargs)
return instances[class_]
return getinstance
@singleton
class MyClass():
def test(self):
print(id(self))
class Singleton(object):
_instance = None
def __new__(class_, *args, **kwargs):
if not isinstance(class_._instance, class_):
class_._instance = object.__new__(class_, *args, **kwargs)
return class_._instance
class MyRealClass(Singleton):
def test(self):
print(id(self))
| def singleton(class_):
instances = {}
def getinstance(*args, **kwargs):
if class_ not in instances:
instances[class_] = class_(*args, **kwargs)
return instances[class_]
return getinstance
@singleton
class Myclass:
def test(self):
print(id(self))
class Singleton(object):
_instance = None
def __new__(class_, *args, **kwargs):
if not isinstance(class_._instance, class_):
class_._instance = object.__new__(class_, *args, **kwargs)
return class_._instance
class Myrealclass(Singleton):
def test(self):
print(id(self)) |
""" Drop unnecessary information """
def drop_dict(directory, dict_list):
"""drop record"""
target_dict_list = dict_list
target_dict_list = list(filter(
lambda any_dict:(directory not in any_dict["name"]) or ("stat" in any_dict),
target_dict_list))
target_dict_list = list(filter(
lambda any_dict:(directory not in any_dict["name"]) or ("time" in any_dict),
target_dict_list))
target_dict_list = list(filter(
lambda any_dict:any_dict.pop("stat") if any_dict["name"] == directory else any_dict,
target_dict_list))
return target_dict_list
def drop_dir_info(target_dict_list):
"""drop process"""
min_layer = min(map(
lambda any_dict:any_dict["name"].count("/"),
target_dict_list))
min_dict_list = list(filter(
lambda any_dict:any_dict["name"].count("/") == min_layer,
target_dict_list))
min_dict = min_dict_list[0]
min_dir = min_dict["name"]
drop_list = min_dir.split("/")
drop_dir_list = drop_list[:-2]
drop_dir_list = [] if drop_dir_list == [] else drop_dir_list + [""]
drop_dir_text = ",".join(drop_dir_list)
drop_dir_text = drop_dir_text.replace(",", "/")
temp_dict_list = []
for any_dict in target_dict_list:
any_dict["name"] = any_dict["name"].replace(drop_dir_text, "")
temp_dict_list.append(any_dict)
target_dict_list = temp_dict_list
return target_dict_list
| """ Drop unnecessary information """
def drop_dict(directory, dict_list):
"""drop record"""
target_dict_list = dict_list
target_dict_list = list(filter(lambda any_dict: directory not in any_dict['name'] or 'stat' in any_dict, target_dict_list))
target_dict_list = list(filter(lambda any_dict: directory not in any_dict['name'] or 'time' in any_dict, target_dict_list))
target_dict_list = list(filter(lambda any_dict: any_dict.pop('stat') if any_dict['name'] == directory else any_dict, target_dict_list))
return target_dict_list
def drop_dir_info(target_dict_list):
"""drop process"""
min_layer = min(map(lambda any_dict: any_dict['name'].count('/'), target_dict_list))
min_dict_list = list(filter(lambda any_dict: any_dict['name'].count('/') == min_layer, target_dict_list))
min_dict = min_dict_list[0]
min_dir = min_dict['name']
drop_list = min_dir.split('/')
drop_dir_list = drop_list[:-2]
drop_dir_list = [] if drop_dir_list == [] else drop_dir_list + ['']
drop_dir_text = ','.join(drop_dir_list)
drop_dir_text = drop_dir_text.replace(',', '/')
temp_dict_list = []
for any_dict in target_dict_list:
any_dict['name'] = any_dict['name'].replace(drop_dir_text, '')
temp_dict_list.append(any_dict)
target_dict_list = temp_dict_list
return target_dict_list |
class BaseTextOpinionsLinkageInstancesProvider(object):
def iter_instances(self, text_opinion_linkage):
raise NotImplementedError()
@staticmethod
def provide_label(text_opinion_linkage):
return text_opinion_linkage.First.Sentiment | class Basetextopinionslinkageinstancesprovider(object):
def iter_instances(self, text_opinion_linkage):
raise not_implemented_error()
@staticmethod
def provide_label(text_opinion_linkage):
return text_opinion_linkage.First.Sentiment |
class SkyblockProfileMember:
def __init__(self, member_data: dict) -> None:
"""
Parameters
----------
data: dict
The JSON data received from the Hypixel API.
"""
self.COIN_PURSE = member_data["coin_purse"]
self.DEATH_COUNT = member_data["death_count"]
self.FAIRY_SOULS_COLLECTED = member_data.get("fairy_souls_collected")
self.FISHING_TREASURE_COUNT = member_data.get("fishing_treasure_caught")
self.STATS = member_data["stats"]
self.OBJECTIVES = member_data["objectives"]
self.CRAFTED_GENERATORS = member_data.get("crafted_generators")
self.VISITED_ZONES = member_data.get("visited_zones")
self.ACHIEVEMENT_SPAWNED_ISLAND_TYPES = member_data.get(
"achievement_spawned_island_types"
)
self.SLAYER_QUEST = member_data.get("slayer_quest")
self.SLAYER_BOSSES = member_data.get("slayer_bosses")
self.PETS = member_data["pets"]
self.GRIFFIN = member_data["griffin"]
self.UNLOCKED_COLLECTION_TIERS = member_data.get("unlocked_coll_tiers")
self.SKILLS = {
"alchemy": member_data.get("experience_skill_alchemy"),
"farming": member_data.get("experience_skill_farming"),
"taming": member_data.get("experience_skill_taming"),
"enchanting": member_data.get("experience_skill_enchanting"),
"fishing": member_data.get("experience_skill_fishing"),
"foraging": member_data.get("experience_skill_foraging"),
"carpentry": member_data.get("experience_skill_carpentry"),
"runecrafting": member_data.get("experience_skill_runecrafting"),
"combat": member_data.get("experience_skill_combat"),
"mining": member_data.get("experience_skill_mining"),
}
self.COLLECTION = member_data.get("collection")
| class Skyblockprofilemember:
def __init__(self, member_data: dict) -> None:
"""
Parameters
----------
data: dict
The JSON data received from the Hypixel API.
"""
self.COIN_PURSE = member_data['coin_purse']
self.DEATH_COUNT = member_data['death_count']
self.FAIRY_SOULS_COLLECTED = member_data.get('fairy_souls_collected')
self.FISHING_TREASURE_COUNT = member_data.get('fishing_treasure_caught')
self.STATS = member_data['stats']
self.OBJECTIVES = member_data['objectives']
self.CRAFTED_GENERATORS = member_data.get('crafted_generators')
self.VISITED_ZONES = member_data.get('visited_zones')
self.ACHIEVEMENT_SPAWNED_ISLAND_TYPES = member_data.get('achievement_spawned_island_types')
self.SLAYER_QUEST = member_data.get('slayer_quest')
self.SLAYER_BOSSES = member_data.get('slayer_bosses')
self.PETS = member_data['pets']
self.GRIFFIN = member_data['griffin']
self.UNLOCKED_COLLECTION_TIERS = member_data.get('unlocked_coll_tiers')
self.SKILLS = {'alchemy': member_data.get('experience_skill_alchemy'), 'farming': member_data.get('experience_skill_farming'), 'taming': member_data.get('experience_skill_taming'), 'enchanting': member_data.get('experience_skill_enchanting'), 'fishing': member_data.get('experience_skill_fishing'), 'foraging': member_data.get('experience_skill_foraging'), 'carpentry': member_data.get('experience_skill_carpentry'), 'runecrafting': member_data.get('experience_skill_runecrafting'), 'combat': member_data.get('experience_skill_combat'), 'mining': member_data.get('experience_skill_mining')}
self.COLLECTION = member_data.get('collection') |
def pattern_occurence(pattern, dna):
list_occurences=[]
k = len(pattern)
for i in range(len(dna)-k+1):
if(dna[i:i+k]==pattern):
list_occurences.append(i)
return list_occurences
def main():
with open('datasets/rosalind_ba1d.txt') as input_file:
pattern, dna = input_file.read().strip().split('\n')
list_occurences = pattern_occurence(pattern, dna)
print(' '.join(list(map(str, list_occurences))))
with open('solutions/rosalind_ba1d.txt', 'w') as output_file:
output_file.write(' '.join(list(map(str, list_occurences))))
if(__name__=='__main__'):
main() | def pattern_occurence(pattern, dna):
list_occurences = []
k = len(pattern)
for i in range(len(dna) - k + 1):
if dna[i:i + k] == pattern:
list_occurences.append(i)
return list_occurences
def main():
with open('datasets/rosalind_ba1d.txt') as input_file:
(pattern, dna) = input_file.read().strip().split('\n')
list_occurences = pattern_occurence(pattern, dna)
print(' '.join(list(map(str, list_occurences))))
with open('solutions/rosalind_ba1d.txt', 'w') as output_file:
output_file.write(' '.join(list(map(str, list_occurences))))
if __name__ == '__main__':
main() |
# Licensed to the .NET Foundation under one or more agreements.
# The .NET Foundation licenses this file to you under the Apache 2.0 License.
# See the LICENSE file in the project root for more information.
# generated by generate_indicestest.py
def test_indices(self):
def t(i, j, k, l, r):
rr = slice(i, j, k).indices(l)
self.assertEqual(rr, r, "slice({i}, {j}, {k}).indices({l}) != {r}: {rr}".format(i=i, j=j, k=k, l=l, r=r, rr=rr))
t(None, None, None, 0, (0, 0, 1))
t(None, None, None, 1, (0, 1, 1))
t(None, None, None, 5, (0, 5, 1))
t(None, None, None, 10, (0, 10, 1))
t(None, None, None, 100, (0, 100, 1))
t(None, None, None, 2147483647, (0, 2147483647, 1))
t(None, None, None, 9223372036854775808, (0, 9223372036854775808, 1))
t(None, None, -5, 0, (-1, -1, -5))
t(None, None, -5, 1, (0, -1, -5))
t(None, None, -5, 5, (4, -1, -5))
t(None, None, -5, 10, (9, -1, -5))
t(None, None, -5, 100, (99, -1, -5))
t(None, None, -5, 2147483647, (2147483646, -1, -5))
t(None, None, -5, 9223372036854775808, (9223372036854775807, -1, -5))
t(None, None, -3, 0, (-1, -1, -3))
t(None, None, -3, 1, (0, -1, -3))
t(None, None, -3, 5, (4, -1, -3))
t(None, None, -3, 10, (9, -1, -3))
t(None, None, -3, 100, (99, -1, -3))
t(None, None, -3, 2147483647, (2147483646, -1, -3))
t(None, None, -3, 9223372036854775808, (9223372036854775807, -1, -3))
t(None, None, -1, 0, (-1, -1, -1))
t(None, None, -1, 1, (0, -1, -1))
t(None, None, -1, 5, (4, -1, -1))
t(None, None, -1, 10, (9, -1, -1))
t(None, None, -1, 100, (99, -1, -1))
t(None, None, -1, 2147483647, (2147483646, -1, -1))
t(None, None, -1, 9223372036854775808, (9223372036854775807, -1, -1))
t(None, None, 1, 0, (0, 0, 1))
t(None, None, 1, 1, (0, 1, 1))
t(None, None, 1, 5, (0, 5, 1))
t(None, None, 1, 10, (0, 10, 1))
t(None, None, 1, 100, (0, 100, 1))
t(None, None, 1, 2147483647, (0, 2147483647, 1))
t(None, None, 1, 9223372036854775808, (0, 9223372036854775808, 1))
t(None, None, 5, 0, (0, 0, 5))
t(None, None, 5, 1, (0, 1, 5))
t(None, None, 5, 5, (0, 5, 5))
t(None, None, 5, 10, (0, 10, 5))
t(None, None, 5, 100, (0, 100, 5))
t(None, None, 5, 2147483647, (0, 2147483647, 5))
t(None, None, 5, 9223372036854775808, (0, 9223372036854775808, 5))
t(None, None, 20, 0, (0, 0, 20))
t(None, None, 20, 1, (0, 1, 20))
t(None, None, 20, 5, (0, 5, 20))
t(None, None, 20, 10, (0, 10, 20))
t(None, None, 20, 100, (0, 100, 20))
t(None, None, 20, 2147483647, (0, 2147483647, 20))
t(None, None, 20, 9223372036854775808, (0, 9223372036854775808, 20))
t(None, None, 2147483647, 0, (0, 0, 2147483647))
t(None, None, 2147483647, 1, (0, 1, 2147483647))
t(None, None, 2147483647, 5, (0, 5, 2147483647))
t(None, None, 2147483647, 10, (0, 10, 2147483647))
t(None, None, 2147483647, 100, (0, 100, 2147483647))
t(None, None, 2147483647, 2147483647, (0, 2147483647, 2147483647))
t(None, None, 2147483647, 9223372036854775808, (0, 9223372036854775808, 2147483647))
t(None, None, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(None, None, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(None, None, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(None, None, 9223372036854775808, 10, (0, 10, 9223372036854775808))
t(None, None, 9223372036854775808, 100, (0, 100, 9223372036854775808))
t(None, None, 9223372036854775808, 2147483647, (0, 2147483647, 9223372036854775808))
t(None, None, 9223372036854775808, 9223372036854775808, (0, 9223372036854775808, 9223372036854775808))
t(None, -7, None, 0, (0, 0, 1))
t(None, -7, None, 1, (0, 0, 1))
t(None, -7, None, 5, (0, 0, 1))
t(None, -7, None, 10, (0, 3, 1))
t(None, -7, None, 100, (0, 93, 1))
t(None, -7, None, 2147483647, (0, 2147483640, 1))
t(None, -7, None, 9223372036854775808, (0, 9223372036854775801, 1))
t(None, -7, -5, 0, (-1, -1, -5))
t(None, -7, -5, 1, (0, -1, -5))
t(None, -7, -5, 5, (4, -1, -5))
t(None, -7, -5, 10, (9, 3, -5))
t(None, -7, -5, 100, (99, 93, -5))
t(None, -7, -5, 2147483647, (2147483646, 2147483640, -5))
t(None, -7, -5, 9223372036854775808, (9223372036854775807, 9223372036854775801, -5))
t(None, -7, -3, 0, (-1, -1, -3))
t(None, -7, -3, 1, (0, -1, -3))
t(None, -7, -3, 5, (4, -1, -3))
t(None, -7, -3, 10, (9, 3, -3))
t(None, -7, -3, 100, (99, 93, -3))
t(None, -7, -3, 2147483647, (2147483646, 2147483640, -3))
t(None, -7, -3, 9223372036854775808, (9223372036854775807, 9223372036854775801, -3))
t(None, -7, -1, 0, (-1, -1, -1))
t(None, -7, -1, 1, (0, -1, -1))
t(None, -7, -1, 5, (4, -1, -1))
t(None, -7, -1, 10, (9, 3, -1))
t(None, -7, -1, 100, (99, 93, -1))
t(None, -7, -1, 2147483647, (2147483646, 2147483640, -1))
t(None, -7, -1, 9223372036854775808, (9223372036854775807, 9223372036854775801, -1))
t(None, -7, 1, 0, (0, 0, 1))
t(None, -7, 1, 1, (0, 0, 1))
t(None, -7, 1, 5, (0, 0, 1))
t(None, -7, 1, 10, (0, 3, 1))
t(None, -7, 1, 100, (0, 93, 1))
t(None, -7, 1, 2147483647, (0, 2147483640, 1))
t(None, -7, 1, 9223372036854775808, (0, 9223372036854775801, 1))
t(None, -7, 5, 0, (0, 0, 5))
t(None, -7, 5, 1, (0, 0, 5))
t(None, -7, 5, 5, (0, 0, 5))
t(None, -7, 5, 10, (0, 3, 5))
t(None, -7, 5, 100, (0, 93, 5))
t(None, -7, 5, 2147483647, (0, 2147483640, 5))
t(None, -7, 5, 9223372036854775808, (0, 9223372036854775801, 5))
t(None, -7, 20, 0, (0, 0, 20))
t(None, -7, 20, 1, (0, 0, 20))
t(None, -7, 20, 5, (0, 0, 20))
t(None, -7, 20, 10, (0, 3, 20))
t(None, -7, 20, 100, (0, 93, 20))
t(None, -7, 20, 2147483647, (0, 2147483640, 20))
t(None, -7, 20, 9223372036854775808, (0, 9223372036854775801, 20))
t(None, -7, 2147483647, 0, (0, 0, 2147483647))
t(None, -7, 2147483647, 1, (0, 0, 2147483647))
t(None, -7, 2147483647, 5, (0, 0, 2147483647))
t(None, -7, 2147483647, 10, (0, 3, 2147483647))
t(None, -7, 2147483647, 100, (0, 93, 2147483647))
t(None, -7, 2147483647, 2147483647, (0, 2147483640, 2147483647))
t(None, -7, 2147483647, 9223372036854775808, (0, 9223372036854775801, 2147483647))
t(None, -7, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(None, -7, 9223372036854775808, 1, (0, 0, 9223372036854775808))
t(None, -7, 9223372036854775808, 5, (0, 0, 9223372036854775808))
t(None, -7, 9223372036854775808, 10, (0, 3, 9223372036854775808))
t(None, -7, 9223372036854775808, 100, (0, 93, 9223372036854775808))
t(None, -7, 9223372036854775808, 2147483647, (0, 2147483640, 9223372036854775808))
t(None, -7, 9223372036854775808, 9223372036854775808, (0, 9223372036854775801, 9223372036854775808))
t(None, -2, None, 0, (0, 0, 1))
t(None, -2, None, 1, (0, 0, 1))
t(None, -2, None, 5, (0, 3, 1))
t(None, -2, None, 10, (0, 8, 1))
t(None, -2, None, 100, (0, 98, 1))
t(None, -2, None, 2147483647, (0, 2147483645, 1))
t(None, -2, None, 9223372036854775808, (0, 9223372036854775806, 1))
t(None, -2, -5, 0, (-1, -1, -5))
t(None, -2, -5, 1, (0, -1, -5))
t(None, -2, -5, 5, (4, 3, -5))
t(None, -2, -5, 10, (9, 8, -5))
t(None, -2, -5, 100, (99, 98, -5))
t(None, -2, -5, 2147483647, (2147483646, 2147483645, -5))
t(None, -2, -5, 9223372036854775808, (9223372036854775807, 9223372036854775806, -5))
t(None, -2, -3, 0, (-1, -1, -3))
t(None, -2, -3, 1, (0, -1, -3))
t(None, -2, -3, 5, (4, 3, -3))
t(None, -2, -3, 10, (9, 8, -3))
t(None, -2, -3, 100, (99, 98, -3))
t(None, -2, -3, 2147483647, (2147483646, 2147483645, -3))
t(None, -2, -3, 9223372036854775808, (9223372036854775807, 9223372036854775806, -3))
t(None, -2, -1, 0, (-1, -1, -1))
t(None, -2, -1, 1, (0, -1, -1))
t(None, -2, -1, 5, (4, 3, -1))
t(None, -2, -1, 10, (9, 8, -1))
t(None, -2, -1, 100, (99, 98, -1))
t(None, -2, -1, 2147483647, (2147483646, 2147483645, -1))
t(None, -2, -1, 9223372036854775808, (9223372036854775807, 9223372036854775806, -1))
t(None, -2, 1, 0, (0, 0, 1))
t(None, -2, 1, 1, (0, 0, 1))
t(None, -2, 1, 5, (0, 3, 1))
t(None, -2, 1, 10, (0, 8, 1))
t(None, -2, 1, 100, (0, 98, 1))
t(None, -2, 1, 2147483647, (0, 2147483645, 1))
t(None, -2, 1, 9223372036854775808, (0, 9223372036854775806, 1))
t(None, -2, 5, 0, (0, 0, 5))
t(None, -2, 5, 1, (0, 0, 5))
t(None, -2, 5, 5, (0, 3, 5))
t(None, -2, 5, 10, (0, 8, 5))
t(None, -2, 5, 100, (0, 98, 5))
t(None, -2, 5, 2147483647, (0, 2147483645, 5))
t(None, -2, 5, 9223372036854775808, (0, 9223372036854775806, 5))
t(None, -2, 20, 0, (0, 0, 20))
t(None, -2, 20, 1, (0, 0, 20))
t(None, -2, 20, 5, (0, 3, 20))
t(None, -2, 20, 10, (0, 8, 20))
t(None, -2, 20, 100, (0, 98, 20))
t(None, -2, 20, 2147483647, (0, 2147483645, 20))
t(None, -2, 20, 9223372036854775808, (0, 9223372036854775806, 20))
t(None, -2, 2147483647, 0, (0, 0, 2147483647))
t(None, -2, 2147483647, 1, (0, 0, 2147483647))
t(None, -2, 2147483647, 5, (0, 3, 2147483647))
t(None, -2, 2147483647, 10, (0, 8, 2147483647))
t(None, -2, 2147483647, 100, (0, 98, 2147483647))
t(None, -2, 2147483647, 2147483647, (0, 2147483645, 2147483647))
t(None, -2, 2147483647, 9223372036854775808, (0, 9223372036854775806, 2147483647))
t(None, -2, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(None, -2, 9223372036854775808, 1, (0, 0, 9223372036854775808))
t(None, -2, 9223372036854775808, 5, (0, 3, 9223372036854775808))
t(None, -2, 9223372036854775808, 10, (0, 8, 9223372036854775808))
t(None, -2, 9223372036854775808, 100, (0, 98, 9223372036854775808))
t(None, -2, 9223372036854775808, 2147483647, (0, 2147483645, 9223372036854775808))
t(None, -2, 9223372036854775808, 9223372036854775808, (0, 9223372036854775806, 9223372036854775808))
t(None, 0, None, 0, (0, 0, 1))
t(None, 0, None, 1, (0, 0, 1))
t(None, 0, None, 5, (0, 0, 1))
t(None, 0, None, 10, (0, 0, 1))
t(None, 0, None, 100, (0, 0, 1))
t(None, 0, None, 2147483647, (0, 0, 1))
t(None, 0, None, 9223372036854775808, (0, 0, 1))
t(None, 0, -5, 0, (-1, -1, -5))
t(None, 0, -5, 1, (0, 0, -5))
t(None, 0, -5, 5, (4, 0, -5))
t(None, 0, -5, 10, (9, 0, -5))
t(None, 0, -5, 100, (99, 0, -5))
t(None, 0, -5, 2147483647, (2147483646, 0, -5))
t(None, 0, -5, 9223372036854775808, (9223372036854775807, 0, -5))
t(None, 0, -3, 0, (-1, -1, -3))
t(None, 0, -3, 1, (0, 0, -3))
t(None, 0, -3, 5, (4, 0, -3))
t(None, 0, -3, 10, (9, 0, -3))
t(None, 0, -3, 100, (99, 0, -3))
t(None, 0, -3, 2147483647, (2147483646, 0, -3))
t(None, 0, -3, 9223372036854775808, (9223372036854775807, 0, -3))
t(None, 0, -1, 0, (-1, -1, -1))
t(None, 0, -1, 1, (0, 0, -1))
t(None, 0, -1, 5, (4, 0, -1))
t(None, 0, -1, 10, (9, 0, -1))
t(None, 0, -1, 100, (99, 0, -1))
t(None, 0, -1, 2147483647, (2147483646, 0, -1))
t(None, 0, -1, 9223372036854775808, (9223372036854775807, 0, -1))
t(None, 0, 1, 0, (0, 0, 1))
t(None, 0, 1, 1, (0, 0, 1))
t(None, 0, 1, 5, (0, 0, 1))
t(None, 0, 1, 10, (0, 0, 1))
t(None, 0, 1, 100, (0, 0, 1))
t(None, 0, 1, 2147483647, (0, 0, 1))
t(None, 0, 1, 9223372036854775808, (0, 0, 1))
t(None, 0, 5, 0, (0, 0, 5))
t(None, 0, 5, 1, (0, 0, 5))
t(None, 0, 5, 5, (0, 0, 5))
t(None, 0, 5, 10, (0, 0, 5))
t(None, 0, 5, 100, (0, 0, 5))
t(None, 0, 5, 2147483647, (0, 0, 5))
t(None, 0, 5, 9223372036854775808, (0, 0, 5))
t(None, 0, 20, 0, (0, 0, 20))
t(None, 0, 20, 1, (0, 0, 20))
t(None, 0, 20, 5, (0, 0, 20))
t(None, 0, 20, 10, (0, 0, 20))
t(None, 0, 20, 100, (0, 0, 20))
t(None, 0, 20, 2147483647, (0, 0, 20))
t(None, 0, 20, 9223372036854775808, (0, 0, 20))
t(None, 0, 2147483647, 0, (0, 0, 2147483647))
t(None, 0, 2147483647, 1, (0, 0, 2147483647))
t(None, 0, 2147483647, 5, (0, 0, 2147483647))
t(None, 0, 2147483647, 10, (0, 0, 2147483647))
t(None, 0, 2147483647, 100, (0, 0, 2147483647))
t(None, 0, 2147483647, 2147483647, (0, 0, 2147483647))
t(None, 0, 2147483647, 9223372036854775808, (0, 0, 2147483647))
t(None, 0, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(None, 0, 9223372036854775808, 1, (0, 0, 9223372036854775808))
t(None, 0, 9223372036854775808, 5, (0, 0, 9223372036854775808))
t(None, 0, 9223372036854775808, 10, (0, 0, 9223372036854775808))
t(None, 0, 9223372036854775808, 100, (0, 0, 9223372036854775808))
t(None, 0, 9223372036854775808, 2147483647, (0, 0, 9223372036854775808))
t(None, 0, 9223372036854775808, 9223372036854775808, (0, 0, 9223372036854775808))
t(None, 1, None, 0, (0, 0, 1))
t(None, 1, None, 1, (0, 1, 1))
t(None, 1, None, 5, (0, 1, 1))
t(None, 1, None, 10, (0, 1, 1))
t(None, 1, None, 100, (0, 1, 1))
t(None, 1, None, 2147483647, (0, 1, 1))
t(None, 1, None, 9223372036854775808, (0, 1, 1))
t(None, 1, -5, 0, (-1, -1, -5))
t(None, 1, -5, 1, (0, 0, -5))
t(None, 1, -5, 5, (4, 1, -5))
t(None, 1, -5, 10, (9, 1, -5))
t(None, 1, -5, 100, (99, 1, -5))
t(None, 1, -5, 2147483647, (2147483646, 1, -5))
t(None, 1, -5, 9223372036854775808, (9223372036854775807, 1, -5))
t(None, 1, -3, 0, (-1, -1, -3))
t(None, 1, -3, 1, (0, 0, -3))
t(None, 1, -3, 5, (4, 1, -3))
t(None, 1, -3, 10, (9, 1, -3))
t(None, 1, -3, 100, (99, 1, -3))
t(None, 1, -3, 2147483647, (2147483646, 1, -3))
t(None, 1, -3, 9223372036854775808, (9223372036854775807, 1, -3))
t(None, 1, -1, 0, (-1, -1, -1))
t(None, 1, -1, 1, (0, 0, -1))
t(None, 1, -1, 5, (4, 1, -1))
t(None, 1, -1, 10, (9, 1, -1))
t(None, 1, -1, 100, (99, 1, -1))
t(None, 1, -1, 2147483647, (2147483646, 1, -1))
t(None, 1, -1, 9223372036854775808, (9223372036854775807, 1, -1))
t(None, 1, 1, 0, (0, 0, 1))
t(None, 1, 1, 1, (0, 1, 1))
t(None, 1, 1, 5, (0, 1, 1))
t(None, 1, 1, 10, (0, 1, 1))
t(None, 1, 1, 100, (0, 1, 1))
t(None, 1, 1, 2147483647, (0, 1, 1))
t(None, 1, 1, 9223372036854775808, (0, 1, 1))
t(None, 1, 5, 0, (0, 0, 5))
t(None, 1, 5, 1, (0, 1, 5))
t(None, 1, 5, 5, (0, 1, 5))
t(None, 1, 5, 10, (0, 1, 5))
t(None, 1, 5, 100, (0, 1, 5))
t(None, 1, 5, 2147483647, (0, 1, 5))
t(None, 1, 5, 9223372036854775808, (0, 1, 5))
t(None, 1, 20, 0, (0, 0, 20))
t(None, 1, 20, 1, (0, 1, 20))
t(None, 1, 20, 5, (0, 1, 20))
t(None, 1, 20, 10, (0, 1, 20))
t(None, 1, 20, 100, (0, 1, 20))
t(None, 1, 20, 2147483647, (0, 1, 20))
t(None, 1, 20, 9223372036854775808, (0, 1, 20))
t(None, 1, 2147483647, 0, (0, 0, 2147483647))
t(None, 1, 2147483647, 1, (0, 1, 2147483647))
t(None, 1, 2147483647, 5, (0, 1, 2147483647))
t(None, 1, 2147483647, 10, (0, 1, 2147483647))
t(None, 1, 2147483647, 100, (0, 1, 2147483647))
t(None, 1, 2147483647, 2147483647, (0, 1, 2147483647))
t(None, 1, 2147483647, 9223372036854775808, (0, 1, 2147483647))
t(None, 1, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(None, 1, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(None, 1, 9223372036854775808, 5, (0, 1, 9223372036854775808))
t(None, 1, 9223372036854775808, 10, (0, 1, 9223372036854775808))
t(None, 1, 9223372036854775808, 100, (0, 1, 9223372036854775808))
t(None, 1, 9223372036854775808, 2147483647, (0, 1, 9223372036854775808))
t(None, 1, 9223372036854775808, 9223372036854775808, (0, 1, 9223372036854775808))
t(None, 6, None, 0, (0, 0, 1))
t(None, 6, None, 1, (0, 1, 1))
t(None, 6, None, 5, (0, 5, 1))
t(None, 6, None, 10, (0, 6, 1))
t(None, 6, None, 100, (0, 6, 1))
t(None, 6, None, 2147483647, (0, 6, 1))
t(None, 6, None, 9223372036854775808, (0, 6, 1))
t(None, 6, -5, 0, (-1, -1, -5))
t(None, 6, -5, 1, (0, 0, -5))
t(None, 6, -5, 5, (4, 4, -5))
t(None, 6, -5, 10, (9, 6, -5))
t(None, 6, -5, 100, (99, 6, -5))
t(None, 6, -5, 2147483647, (2147483646, 6, -5))
t(None, 6, -5, 9223372036854775808, (9223372036854775807, 6, -5))
t(None, 6, -3, 0, (-1, -1, -3))
t(None, 6, -3, 1, (0, 0, -3))
t(None, 6, -3, 5, (4, 4, -3))
t(None, 6, -3, 10, (9, 6, -3))
t(None, 6, -3, 100, (99, 6, -3))
t(None, 6, -3, 2147483647, (2147483646, 6, -3))
t(None, 6, -3, 9223372036854775808, (9223372036854775807, 6, -3))
t(None, 6, -1, 0, (-1, -1, -1))
t(None, 6, -1, 1, (0, 0, -1))
t(None, 6, -1, 5, (4, 4, -1))
t(None, 6, -1, 10, (9, 6, -1))
t(None, 6, -1, 100, (99, 6, -1))
t(None, 6, -1, 2147483647, (2147483646, 6, -1))
t(None, 6, -1, 9223372036854775808, (9223372036854775807, 6, -1))
t(None, 6, 1, 0, (0, 0, 1))
t(None, 6, 1, 1, (0, 1, 1))
t(None, 6, 1, 5, (0, 5, 1))
t(None, 6, 1, 10, (0, 6, 1))
t(None, 6, 1, 100, (0, 6, 1))
t(None, 6, 1, 2147483647, (0, 6, 1))
t(None, 6, 1, 9223372036854775808, (0, 6, 1))
t(None, 6, 5, 0, (0, 0, 5))
t(None, 6, 5, 1, (0, 1, 5))
t(None, 6, 5, 5, (0, 5, 5))
t(None, 6, 5, 10, (0, 6, 5))
t(None, 6, 5, 100, (0, 6, 5))
t(None, 6, 5, 2147483647, (0, 6, 5))
t(None, 6, 5, 9223372036854775808, (0, 6, 5))
t(None, 6, 20, 0, (0, 0, 20))
t(None, 6, 20, 1, (0, 1, 20))
t(None, 6, 20, 5, (0, 5, 20))
t(None, 6, 20, 10, (0, 6, 20))
t(None, 6, 20, 100, (0, 6, 20))
t(None, 6, 20, 2147483647, (0, 6, 20))
t(None, 6, 20, 9223372036854775808, (0, 6, 20))
t(None, 6, 2147483647, 0, (0, 0, 2147483647))
t(None, 6, 2147483647, 1, (0, 1, 2147483647))
t(None, 6, 2147483647, 5, (0, 5, 2147483647))
t(None, 6, 2147483647, 10, (0, 6, 2147483647))
t(None, 6, 2147483647, 100, (0, 6, 2147483647))
t(None, 6, 2147483647, 2147483647, (0, 6, 2147483647))
t(None, 6, 2147483647, 9223372036854775808, (0, 6, 2147483647))
t(None, 6, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(None, 6, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(None, 6, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(None, 6, 9223372036854775808, 10, (0, 6, 9223372036854775808))
t(None, 6, 9223372036854775808, 100, (0, 6, 9223372036854775808))
t(None, 6, 9223372036854775808, 2147483647, (0, 6, 9223372036854775808))
t(None, 6, 9223372036854775808, 9223372036854775808, (0, 6, 9223372036854775808))
t(None, 10, None, 0, (0, 0, 1))
t(None, 10, None, 1, (0, 1, 1))
t(None, 10, None, 5, (0, 5, 1))
t(None, 10, None, 10, (0, 10, 1))
t(None, 10, None, 100, (0, 10, 1))
t(None, 10, None, 2147483647, (0, 10, 1))
t(None, 10, None, 9223372036854775808, (0, 10, 1))
t(None, 10, -5, 0, (-1, -1, -5))
t(None, 10, -5, 1, (0, 0, -5))
t(None, 10, -5, 5, (4, 4, -5))
t(None, 10, -5, 10, (9, 9, -5))
t(None, 10, -5, 100, (99, 10, -5))
t(None, 10, -5, 2147483647, (2147483646, 10, -5))
t(None, 10, -5, 9223372036854775808, (9223372036854775807, 10, -5))
t(None, 10, -3, 0, (-1, -1, -3))
t(None, 10, -3, 1, (0, 0, -3))
t(None, 10, -3, 5, (4, 4, -3))
t(None, 10, -3, 10, (9, 9, -3))
t(None, 10, -3, 100, (99, 10, -3))
t(None, 10, -3, 2147483647, (2147483646, 10, -3))
t(None, 10, -3, 9223372036854775808, (9223372036854775807, 10, -3))
t(None, 10, -1, 0, (-1, -1, -1))
t(None, 10, -1, 1, (0, 0, -1))
t(None, 10, -1, 5, (4, 4, -1))
t(None, 10, -1, 10, (9, 9, -1))
t(None, 10, -1, 100, (99, 10, -1))
t(None, 10, -1, 2147483647, (2147483646, 10, -1))
t(None, 10, -1, 9223372036854775808, (9223372036854775807, 10, -1))
t(None, 10, 1, 0, (0, 0, 1))
t(None, 10, 1, 1, (0, 1, 1))
t(None, 10, 1, 5, (0, 5, 1))
t(None, 10, 1, 10, (0, 10, 1))
t(None, 10, 1, 100, (0, 10, 1))
t(None, 10, 1, 2147483647, (0, 10, 1))
t(None, 10, 1, 9223372036854775808, (0, 10, 1))
t(None, 10, 5, 0, (0, 0, 5))
t(None, 10, 5, 1, (0, 1, 5))
t(None, 10, 5, 5, (0, 5, 5))
t(None, 10, 5, 10, (0, 10, 5))
t(None, 10, 5, 100, (0, 10, 5))
t(None, 10, 5, 2147483647, (0, 10, 5))
t(None, 10, 5, 9223372036854775808, (0, 10, 5))
t(None, 10, 20, 0, (0, 0, 20))
t(None, 10, 20, 1, (0, 1, 20))
t(None, 10, 20, 5, (0, 5, 20))
t(None, 10, 20, 10, (0, 10, 20))
t(None, 10, 20, 100, (0, 10, 20))
t(None, 10, 20, 2147483647, (0, 10, 20))
t(None, 10, 20, 9223372036854775808, (0, 10, 20))
t(None, 10, 2147483647, 0, (0, 0, 2147483647))
t(None, 10, 2147483647, 1, (0, 1, 2147483647))
t(None, 10, 2147483647, 5, (0, 5, 2147483647))
t(None, 10, 2147483647, 10, (0, 10, 2147483647))
t(None, 10, 2147483647, 100, (0, 10, 2147483647))
t(None, 10, 2147483647, 2147483647, (0, 10, 2147483647))
t(None, 10, 2147483647, 9223372036854775808, (0, 10, 2147483647))
t(None, 10, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(None, 10, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(None, 10, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(None, 10, 9223372036854775808, 10, (0, 10, 9223372036854775808))
t(None, 10, 9223372036854775808, 100, (0, 10, 9223372036854775808))
t(None, 10, 9223372036854775808, 2147483647, (0, 10, 9223372036854775808))
t(None, 10, 9223372036854775808, 9223372036854775808, (0, 10, 9223372036854775808))
t(None, 2147483647, None, 0, (0, 0, 1))
t(None, 2147483647, None, 1, (0, 1, 1))
t(None, 2147483647, None, 5, (0, 5, 1))
t(None, 2147483647, None, 10, (0, 10, 1))
t(None, 2147483647, None, 100, (0, 100, 1))
t(None, 2147483647, None, 2147483647, (0, 2147483647, 1))
t(None, 2147483647, None, 9223372036854775808, (0, 2147483647, 1))
t(None, 2147483647, -5, 0, (-1, -1, -5))
t(None, 2147483647, -5, 1, (0, 0, -5))
t(None, 2147483647, -5, 5, (4, 4, -5))
t(None, 2147483647, -5, 10, (9, 9, -5))
t(None, 2147483647, -5, 100, (99, 99, -5))
t(None, 2147483647, -5, 2147483647, (2147483646, 2147483646, -5))
t(None, 2147483647, -5, 9223372036854775808, (9223372036854775807, 2147483647, -5))
t(None, 2147483647, -3, 0, (-1, -1, -3))
t(None, 2147483647, -3, 1, (0, 0, -3))
t(None, 2147483647, -3, 5, (4, 4, -3))
t(None, 2147483647, -3, 10, (9, 9, -3))
t(None, 2147483647, -3, 100, (99, 99, -3))
t(None, 2147483647, -3, 2147483647, (2147483646, 2147483646, -3))
t(None, 2147483647, -3, 9223372036854775808, (9223372036854775807, 2147483647, -3))
t(None, 2147483647, -1, 0, (-1, -1, -1))
t(None, 2147483647, -1, 1, (0, 0, -1))
t(None, 2147483647, -1, 5, (4, 4, -1))
t(None, 2147483647, -1, 10, (9, 9, -1))
t(None, 2147483647, -1, 100, (99, 99, -1))
t(None, 2147483647, -1, 2147483647, (2147483646, 2147483646, -1))
t(None, 2147483647, -1, 9223372036854775808, (9223372036854775807, 2147483647, -1))
t(None, 2147483647, 1, 0, (0, 0, 1))
t(None, 2147483647, 1, 1, (0, 1, 1))
t(None, 2147483647, 1, 5, (0, 5, 1))
t(None, 2147483647, 1, 10, (0, 10, 1))
t(None, 2147483647, 1, 100, (0, 100, 1))
t(None, 2147483647, 1, 2147483647, (0, 2147483647, 1))
t(None, 2147483647, 1, 9223372036854775808, (0, 2147483647, 1))
t(None, 2147483647, 5, 0, (0, 0, 5))
t(None, 2147483647, 5, 1, (0, 1, 5))
t(None, 2147483647, 5, 5, (0, 5, 5))
t(None, 2147483647, 5, 10, (0, 10, 5))
t(None, 2147483647, 5, 100, (0, 100, 5))
t(None, 2147483647, 5, 2147483647, (0, 2147483647, 5))
t(None, 2147483647, 5, 9223372036854775808, (0, 2147483647, 5))
t(None, 2147483647, 20, 0, (0, 0, 20))
t(None, 2147483647, 20, 1, (0, 1, 20))
t(None, 2147483647, 20, 5, (0, 5, 20))
t(None, 2147483647, 20, 10, (0, 10, 20))
t(None, 2147483647, 20, 100, (0, 100, 20))
t(None, 2147483647, 20, 2147483647, (0, 2147483647, 20))
t(None, 2147483647, 20, 9223372036854775808, (0, 2147483647, 20))
t(None, 2147483647, 2147483647, 0, (0, 0, 2147483647))
t(None, 2147483647, 2147483647, 1, (0, 1, 2147483647))
t(None, 2147483647, 2147483647, 5, (0, 5, 2147483647))
t(None, 2147483647, 2147483647, 10, (0, 10, 2147483647))
t(None, 2147483647, 2147483647, 100, (0, 100, 2147483647))
t(None, 2147483647, 2147483647, 2147483647, (0, 2147483647, 2147483647))
t(None, 2147483647, 2147483647, 9223372036854775808, (0, 2147483647, 2147483647))
t(None, 2147483647, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(None, 2147483647, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(None, 2147483647, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(None, 2147483647, 9223372036854775808, 10, (0, 10, 9223372036854775808))
t(None, 2147483647, 9223372036854775808, 100, (0, 100, 9223372036854775808))
t(None, 2147483647, 9223372036854775808, 2147483647, (0, 2147483647, 9223372036854775808))
t(None, 2147483647, 9223372036854775808, 9223372036854775808, (0, 2147483647, 9223372036854775808))
t(None, 9223372036854775808, None, 0, (0, 0, 1))
t(None, 9223372036854775808, None, 1, (0, 1, 1))
t(None, 9223372036854775808, None, 5, (0, 5, 1))
t(None, 9223372036854775808, None, 10, (0, 10, 1))
t(None, 9223372036854775808, None, 100, (0, 100, 1))
t(None, 9223372036854775808, None, 2147483647, (0, 2147483647, 1))
t(None, 9223372036854775808, None, 9223372036854775808, (0, 9223372036854775808, 1))
t(None, 9223372036854775808, -5, 0, (-1, -1, -5))
t(None, 9223372036854775808, -5, 1, (0, 0, -5))
t(None, 9223372036854775808, -5, 5, (4, 4, -5))
t(None, 9223372036854775808, -5, 10, (9, 9, -5))
t(None, 9223372036854775808, -5, 100, (99, 99, -5))
t(None, 9223372036854775808, -5, 2147483647, (2147483646, 2147483646, -5))
t(None, 9223372036854775808, -5, 9223372036854775808, (9223372036854775807, 9223372036854775807, -5))
t(None, 9223372036854775808, -3, 0, (-1, -1, -3))
t(None, 9223372036854775808, -3, 1, (0, 0, -3))
t(None, 9223372036854775808, -3, 5, (4, 4, -3))
t(None, 9223372036854775808, -3, 10, (9, 9, -3))
t(None, 9223372036854775808, -3, 100, (99, 99, -3))
t(None, 9223372036854775808, -3, 2147483647, (2147483646, 2147483646, -3))
t(None, 9223372036854775808, -3, 9223372036854775808, (9223372036854775807, 9223372036854775807, -3))
t(None, 9223372036854775808, -1, 0, (-1, -1, -1))
t(None, 9223372036854775808, -1, 1, (0, 0, -1))
t(None, 9223372036854775808, -1, 5, (4, 4, -1))
t(None, 9223372036854775808, -1, 10, (9, 9, -1))
t(None, 9223372036854775808, -1, 100, (99, 99, -1))
t(None, 9223372036854775808, -1, 2147483647, (2147483646, 2147483646, -1))
t(None, 9223372036854775808, -1, 9223372036854775808, (9223372036854775807, 9223372036854775807, -1))
t(None, 9223372036854775808, 1, 0, (0, 0, 1))
t(None, 9223372036854775808, 1, 1, (0, 1, 1))
t(None, 9223372036854775808, 1, 5, (0, 5, 1))
t(None, 9223372036854775808, 1, 10, (0, 10, 1))
t(None, 9223372036854775808, 1, 100, (0, 100, 1))
t(None, 9223372036854775808, 1, 2147483647, (0, 2147483647, 1))
t(None, 9223372036854775808, 1, 9223372036854775808, (0, 9223372036854775808, 1))
t(None, 9223372036854775808, 5, 0, (0, 0, 5))
t(None, 9223372036854775808, 5, 1, (0, 1, 5))
t(None, 9223372036854775808, 5, 5, (0, 5, 5))
t(None, 9223372036854775808, 5, 10, (0, 10, 5))
t(None, 9223372036854775808, 5, 100, (0, 100, 5))
t(None, 9223372036854775808, 5, 2147483647, (0, 2147483647, 5))
t(None, 9223372036854775808, 5, 9223372036854775808, (0, 9223372036854775808, 5))
t(None, 9223372036854775808, 20, 0, (0, 0, 20))
t(None, 9223372036854775808, 20, 1, (0, 1, 20))
t(None, 9223372036854775808, 20, 5, (0, 5, 20))
t(None, 9223372036854775808, 20, 10, (0, 10, 20))
t(None, 9223372036854775808, 20, 100, (0, 100, 20))
t(None, 9223372036854775808, 20, 2147483647, (0, 2147483647, 20))
t(None, 9223372036854775808, 20, 9223372036854775808, (0, 9223372036854775808, 20))
t(None, 9223372036854775808, 2147483647, 0, (0, 0, 2147483647))
t(None, 9223372036854775808, 2147483647, 1, (0, 1, 2147483647))
t(None, 9223372036854775808, 2147483647, 5, (0, 5, 2147483647))
t(None, 9223372036854775808, 2147483647, 10, (0, 10, 2147483647))
t(None, 9223372036854775808, 2147483647, 100, (0, 100, 2147483647))
t(None, 9223372036854775808, 2147483647, 2147483647, (0, 2147483647, 2147483647))
t(None, 9223372036854775808, 2147483647, 9223372036854775808, (0, 9223372036854775808, 2147483647))
t(None, 9223372036854775808, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(None, 9223372036854775808, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(None, 9223372036854775808, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(None, 9223372036854775808, 9223372036854775808, 10, (0, 10, 9223372036854775808))
t(None, 9223372036854775808, 9223372036854775808, 100, (0, 100, 9223372036854775808))
t(None, 9223372036854775808, 9223372036854775808, 2147483647, (0, 2147483647, 9223372036854775808))
t(None, 9223372036854775808, 9223372036854775808, 9223372036854775808, (0, 9223372036854775808, 9223372036854775808))
t(-7, None, None, 0, (0, 0, 1))
t(-7, None, None, 1, (0, 1, 1))
t(-7, None, None, 5, (0, 5, 1))
t(-7, None, None, 10, (3, 10, 1))
t(-7, None, None, 100, (93, 100, 1))
t(-7, None, None, 2147483647, (2147483640, 2147483647, 1))
t(-7, None, None, 9223372036854775808, (9223372036854775801, 9223372036854775808, 1))
t(-7, None, -5, 0, (-1, -1, -5))
t(-7, None, -5, 1, (-1, -1, -5))
t(-7, None, -5, 5, (-1, -1, -5))
t(-7, None, -5, 10, (3, -1, -5))
t(-7, None, -5, 100, (93, -1, -5))
t(-7, None, -5, 2147483647, (2147483640, -1, -5))
t(-7, None, -5, 9223372036854775808, (9223372036854775801, -1, -5))
t(-7, None, -3, 0, (-1, -1, -3))
t(-7, None, -3, 1, (-1, -1, -3))
t(-7, None, -3, 5, (-1, -1, -3))
t(-7, None, -3, 10, (3, -1, -3))
t(-7, None, -3, 100, (93, -1, -3))
t(-7, None, -3, 2147483647, (2147483640, -1, -3))
t(-7, None, -3, 9223372036854775808, (9223372036854775801, -1, -3))
t(-7, None, -1, 0, (-1, -1, -1))
t(-7, None, -1, 1, (-1, -1, -1))
t(-7, None, -1, 5, (-1, -1, -1))
t(-7, None, -1, 10, (3, -1, -1))
t(-7, None, -1, 100, (93, -1, -1))
t(-7, None, -1, 2147483647, (2147483640, -1, -1))
t(-7, None, -1, 9223372036854775808, (9223372036854775801, -1, -1))
t(-7, None, 1, 0, (0, 0, 1))
t(-7, None, 1, 1, (0, 1, 1))
t(-7, None, 1, 5, (0, 5, 1))
t(-7, None, 1, 10, (3, 10, 1))
t(-7, None, 1, 100, (93, 100, 1))
t(-7, None, 1, 2147483647, (2147483640, 2147483647, 1))
t(-7, None, 1, 9223372036854775808, (9223372036854775801, 9223372036854775808, 1))
t(-7, None, 5, 0, (0, 0, 5))
t(-7, None, 5, 1, (0, 1, 5))
t(-7, None, 5, 5, (0, 5, 5))
t(-7, None, 5, 10, (3, 10, 5))
t(-7, None, 5, 100, (93, 100, 5))
t(-7, None, 5, 2147483647, (2147483640, 2147483647, 5))
t(-7, None, 5, 9223372036854775808, (9223372036854775801, 9223372036854775808, 5))
t(-7, None, 20, 0, (0, 0, 20))
t(-7, None, 20, 1, (0, 1, 20))
t(-7, None, 20, 5, (0, 5, 20))
t(-7, None, 20, 10, (3, 10, 20))
t(-7, None, 20, 100, (93, 100, 20))
t(-7, None, 20, 2147483647, (2147483640, 2147483647, 20))
t(-7, None, 20, 9223372036854775808, (9223372036854775801, 9223372036854775808, 20))
t(-7, None, 2147483647, 0, (0, 0, 2147483647))
t(-7, None, 2147483647, 1, (0, 1, 2147483647))
t(-7, None, 2147483647, 5, (0, 5, 2147483647))
t(-7, None, 2147483647, 10, (3, 10, 2147483647))
t(-7, None, 2147483647, 100, (93, 100, 2147483647))
t(-7, None, 2147483647, 2147483647, (2147483640, 2147483647, 2147483647))
t(-7, None, 2147483647, 9223372036854775808, (9223372036854775801, 9223372036854775808, 2147483647))
t(-7, None, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-7, None, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(-7, None, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(-7, None, 9223372036854775808, 10, (3, 10, 9223372036854775808))
t(-7, None, 9223372036854775808, 100, (93, 100, 9223372036854775808))
t(-7, None, 9223372036854775808, 2147483647, (2147483640, 2147483647, 9223372036854775808))
t(-7, None, 9223372036854775808, 9223372036854775808, (9223372036854775801, 9223372036854775808, 9223372036854775808))
t(-7, -7, None, 0, (0, 0, 1))
t(-7, -7, None, 1, (0, 0, 1))
t(-7, -7, None, 5, (0, 0, 1))
t(-7, -7, None, 10, (3, 3, 1))
t(-7, -7, None, 100, (93, 93, 1))
t(-7, -7, None, 2147483647, (2147483640, 2147483640, 1))
t(-7, -7, None, 9223372036854775808, (9223372036854775801, 9223372036854775801, 1))
t(-7, -7, -5, 0, (-1, -1, -5))
t(-7, -7, -5, 1, (-1, -1, -5))
t(-7, -7, -5, 5, (-1, -1, -5))
t(-7, -7, -5, 10, (3, 3, -5))
t(-7, -7, -5, 100, (93, 93, -5))
t(-7, -7, -5, 2147483647, (2147483640, 2147483640, -5))
t(-7, -7, -5, 9223372036854775808, (9223372036854775801, 9223372036854775801, -5))
t(-7, -7, -3, 0, (-1, -1, -3))
t(-7, -7, -3, 1, (-1, -1, -3))
t(-7, -7, -3, 5, (-1, -1, -3))
t(-7, -7, -3, 10, (3, 3, -3))
t(-7, -7, -3, 100, (93, 93, -3))
t(-7, -7, -3, 2147483647, (2147483640, 2147483640, -3))
t(-7, -7, -3, 9223372036854775808, (9223372036854775801, 9223372036854775801, -3))
t(-7, -7, -1, 0, (-1, -1, -1))
t(-7, -7, -1, 1, (-1, -1, -1))
t(-7, -7, -1, 5, (-1, -1, -1))
t(-7, -7, -1, 10, (3, 3, -1))
t(-7, -7, -1, 100, (93, 93, -1))
t(-7, -7, -1, 2147483647, (2147483640, 2147483640, -1))
t(-7, -7, -1, 9223372036854775808, (9223372036854775801, 9223372036854775801, -1))
t(-7, -7, 1, 0, (0, 0, 1))
t(-7, -7, 1, 1, (0, 0, 1))
t(-7, -7, 1, 5, (0, 0, 1))
t(-7, -7, 1, 10, (3, 3, 1))
t(-7, -7, 1, 100, (93, 93, 1))
t(-7, -7, 1, 2147483647, (2147483640, 2147483640, 1))
t(-7, -7, 1, 9223372036854775808, (9223372036854775801, 9223372036854775801, 1))
t(-7, -7, 5, 0, (0, 0, 5))
t(-7, -7, 5, 1, (0, 0, 5))
t(-7, -7, 5, 5, (0, 0, 5))
t(-7, -7, 5, 10, (3, 3, 5))
t(-7, -7, 5, 100, (93, 93, 5))
t(-7, -7, 5, 2147483647, (2147483640, 2147483640, 5))
t(-7, -7, 5, 9223372036854775808, (9223372036854775801, 9223372036854775801, 5))
t(-7, -7, 20, 0, (0, 0, 20))
t(-7, -7, 20, 1, (0, 0, 20))
t(-7, -7, 20, 5, (0, 0, 20))
t(-7, -7, 20, 10, (3, 3, 20))
t(-7, -7, 20, 100, (93, 93, 20))
t(-7, -7, 20, 2147483647, (2147483640, 2147483640, 20))
t(-7, -7, 20, 9223372036854775808, (9223372036854775801, 9223372036854775801, 20))
t(-7, -7, 2147483647, 0, (0, 0, 2147483647))
t(-7, -7, 2147483647, 1, (0, 0, 2147483647))
t(-7, -7, 2147483647, 5, (0, 0, 2147483647))
t(-7, -7, 2147483647, 10, (3, 3, 2147483647))
t(-7, -7, 2147483647, 100, (93, 93, 2147483647))
t(-7, -7, 2147483647, 2147483647, (2147483640, 2147483640, 2147483647))
t(-7, -7, 2147483647, 9223372036854775808, (9223372036854775801, 9223372036854775801, 2147483647))
t(-7, -7, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-7, -7, 9223372036854775808, 1, (0, 0, 9223372036854775808))
t(-7, -7, 9223372036854775808, 5, (0, 0, 9223372036854775808))
t(-7, -7, 9223372036854775808, 10, (3, 3, 9223372036854775808))
t(-7, -7, 9223372036854775808, 100, (93, 93, 9223372036854775808))
t(-7, -7, 9223372036854775808, 2147483647, (2147483640, 2147483640, 9223372036854775808))
t(-7, -7, 9223372036854775808, 9223372036854775808, (9223372036854775801, 9223372036854775801, 9223372036854775808))
t(-7, -2, None, 0, (0, 0, 1))
t(-7, -2, None, 1, (0, 0, 1))
t(-7, -2, None, 5, (0, 3, 1))
t(-7, -2, None, 10, (3, 8, 1))
t(-7, -2, None, 100, (93, 98, 1))
t(-7, -2, None, 2147483647, (2147483640, 2147483645, 1))
t(-7, -2, None, 9223372036854775808, (9223372036854775801, 9223372036854775806, 1))
t(-7, -2, -5, 0, (-1, -1, -5))
t(-7, -2, -5, 1, (-1, -1, -5))
t(-7, -2, -5, 5, (-1, 3, -5))
t(-7, -2, -5, 10, (3, 8, -5))
t(-7, -2, -5, 100, (93, 98, -5))
t(-7, -2, -5, 2147483647, (2147483640, 2147483645, -5))
t(-7, -2, -5, 9223372036854775808, (9223372036854775801, 9223372036854775806, -5))
t(-7, -2, -3, 0, (-1, -1, -3))
t(-7, -2, -3, 1, (-1, -1, -3))
t(-7, -2, -3, 5, (-1, 3, -3))
t(-7, -2, -3, 10, (3, 8, -3))
t(-7, -2, -3, 100, (93, 98, -3))
t(-7, -2, -3, 2147483647, (2147483640, 2147483645, -3))
t(-7, -2, -3, 9223372036854775808, (9223372036854775801, 9223372036854775806, -3))
t(-7, -2, -1, 0, (-1, -1, -1))
t(-7, -2, -1, 1, (-1, -1, -1))
t(-7, -2, -1, 5, (-1, 3, -1))
t(-7, -2, -1, 10, (3, 8, -1))
t(-7, -2, -1, 100, (93, 98, -1))
t(-7, -2, -1, 2147483647, (2147483640, 2147483645, -1))
t(-7, -2, -1, 9223372036854775808, (9223372036854775801, 9223372036854775806, -1))
t(-7, -2, 1, 0, (0, 0, 1))
t(-7, -2, 1, 1, (0, 0, 1))
t(-7, -2, 1, 5, (0, 3, 1))
t(-7, -2, 1, 10, (3, 8, 1))
t(-7, -2, 1, 100, (93, 98, 1))
t(-7, -2, 1, 2147483647, (2147483640, 2147483645, 1))
t(-7, -2, 1, 9223372036854775808, (9223372036854775801, 9223372036854775806, 1))
t(-7, -2, 5, 0, (0, 0, 5))
t(-7, -2, 5, 1, (0, 0, 5))
t(-7, -2, 5, 5, (0, 3, 5))
t(-7, -2, 5, 10, (3, 8, 5))
t(-7, -2, 5, 100, (93, 98, 5))
t(-7, -2, 5, 2147483647, (2147483640, 2147483645, 5))
t(-7, -2, 5, 9223372036854775808, (9223372036854775801, 9223372036854775806, 5))
t(-7, -2, 20, 0, (0, 0, 20))
t(-7, -2, 20, 1, (0, 0, 20))
t(-7, -2, 20, 5, (0, 3, 20))
t(-7, -2, 20, 10, (3, 8, 20))
t(-7, -2, 20, 100, (93, 98, 20))
t(-7, -2, 20, 2147483647, (2147483640, 2147483645, 20))
t(-7, -2, 20, 9223372036854775808, (9223372036854775801, 9223372036854775806, 20))
t(-7, -2, 2147483647, 0, (0, 0, 2147483647))
t(-7, -2, 2147483647, 1, (0, 0, 2147483647))
t(-7, -2, 2147483647, 5, (0, 3, 2147483647))
t(-7, -2, 2147483647, 10, (3, 8, 2147483647))
t(-7, -2, 2147483647, 100, (93, 98, 2147483647))
t(-7, -2, 2147483647, 2147483647, (2147483640, 2147483645, 2147483647))
t(-7, -2, 2147483647, 9223372036854775808, (9223372036854775801, 9223372036854775806, 2147483647))
t(-7, -2, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-7, -2, 9223372036854775808, 1, (0, 0, 9223372036854775808))
t(-7, -2, 9223372036854775808, 5, (0, 3, 9223372036854775808))
t(-7, -2, 9223372036854775808, 10, (3, 8, 9223372036854775808))
t(-7, -2, 9223372036854775808, 100, (93, 98, 9223372036854775808))
t(-7, -2, 9223372036854775808, 2147483647, (2147483640, 2147483645, 9223372036854775808))
t(-7, -2, 9223372036854775808, 9223372036854775808, (9223372036854775801, 9223372036854775806, 9223372036854775808))
t(-7, 0, None, 0, (0, 0, 1))
t(-7, 0, None, 1, (0, 0, 1))
t(-7, 0, None, 5, (0, 0, 1))
t(-7, 0, None, 10, (3, 0, 1))
t(-7, 0, None, 100, (93, 0, 1))
t(-7, 0, None, 2147483647, (2147483640, 0, 1))
t(-7, 0, None, 9223372036854775808, (9223372036854775801, 0, 1))
t(-7, 0, -5, 0, (-1, -1, -5))
t(-7, 0, -5, 1, (-1, 0, -5))
t(-7, 0, -5, 5, (-1, 0, -5))
t(-7, 0, -5, 10, (3, 0, -5))
t(-7, 0, -5, 100, (93, 0, -5))
t(-7, 0, -5, 2147483647, (2147483640, 0, -5))
t(-7, 0, -5, 9223372036854775808, (9223372036854775801, 0, -5))
t(-7, 0, -3, 0, (-1, -1, -3))
t(-7, 0, -3, 1, (-1, 0, -3))
t(-7, 0, -3, 5, (-1, 0, -3))
t(-7, 0, -3, 10, (3, 0, -3))
t(-7, 0, -3, 100, (93, 0, -3))
t(-7, 0, -3, 2147483647, (2147483640, 0, -3))
t(-7, 0, -3, 9223372036854775808, (9223372036854775801, 0, -3))
t(-7, 0, -1, 0, (-1, -1, -1))
t(-7, 0, -1, 1, (-1, 0, -1))
t(-7, 0, -1, 5, (-1, 0, -1))
t(-7, 0, -1, 10, (3, 0, -1))
t(-7, 0, -1, 100, (93, 0, -1))
t(-7, 0, -1, 2147483647, (2147483640, 0, -1))
t(-7, 0, -1, 9223372036854775808, (9223372036854775801, 0, -1))
t(-7, 0, 1, 0, (0, 0, 1))
t(-7, 0, 1, 1, (0, 0, 1))
t(-7, 0, 1, 5, (0, 0, 1))
t(-7, 0, 1, 10, (3, 0, 1))
t(-7, 0, 1, 100, (93, 0, 1))
t(-7, 0, 1, 2147483647, (2147483640, 0, 1))
t(-7, 0, 1, 9223372036854775808, (9223372036854775801, 0, 1))
t(-7, 0, 5, 0, (0, 0, 5))
t(-7, 0, 5, 1, (0, 0, 5))
t(-7, 0, 5, 5, (0, 0, 5))
t(-7, 0, 5, 10, (3, 0, 5))
t(-7, 0, 5, 100, (93, 0, 5))
t(-7, 0, 5, 2147483647, (2147483640, 0, 5))
t(-7, 0, 5, 9223372036854775808, (9223372036854775801, 0, 5))
t(-7, 0, 20, 0, (0, 0, 20))
t(-7, 0, 20, 1, (0, 0, 20))
t(-7, 0, 20, 5, (0, 0, 20))
t(-7, 0, 20, 10, (3, 0, 20))
t(-7, 0, 20, 100, (93, 0, 20))
t(-7, 0, 20, 2147483647, (2147483640, 0, 20))
t(-7, 0, 20, 9223372036854775808, (9223372036854775801, 0, 20))
t(-7, 0, 2147483647, 0, (0, 0, 2147483647))
t(-7, 0, 2147483647, 1, (0, 0, 2147483647))
t(-7, 0, 2147483647, 5, (0, 0, 2147483647))
t(-7, 0, 2147483647, 10, (3, 0, 2147483647))
t(-7, 0, 2147483647, 100, (93, 0, 2147483647))
t(-7, 0, 2147483647, 2147483647, (2147483640, 0, 2147483647))
t(-7, 0, 2147483647, 9223372036854775808, (9223372036854775801, 0, 2147483647))
t(-7, 0, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-7, 0, 9223372036854775808, 1, (0, 0, 9223372036854775808))
t(-7, 0, 9223372036854775808, 5, (0, 0, 9223372036854775808))
t(-7, 0, 9223372036854775808, 10, (3, 0, 9223372036854775808))
t(-7, 0, 9223372036854775808, 100, (93, 0, 9223372036854775808))
t(-7, 0, 9223372036854775808, 2147483647, (2147483640, 0, 9223372036854775808))
t(-7, 0, 9223372036854775808, 9223372036854775808, (9223372036854775801, 0, 9223372036854775808))
t(-7, 1, None, 0, (0, 0, 1))
t(-7, 1, None, 1, (0, 1, 1))
t(-7, 1, None, 5, (0, 1, 1))
t(-7, 1, None, 10, (3, 1, 1))
t(-7, 1, None, 100, (93, 1, 1))
t(-7, 1, None, 2147483647, (2147483640, 1, 1))
t(-7, 1, None, 9223372036854775808, (9223372036854775801, 1, 1))
t(-7, 1, -5, 0, (-1, -1, -5))
t(-7, 1, -5, 1, (-1, 0, -5))
t(-7, 1, -5, 5, (-1, 1, -5))
t(-7, 1, -5, 10, (3, 1, -5))
t(-7, 1, -5, 100, (93, 1, -5))
t(-7, 1, -5, 2147483647, (2147483640, 1, -5))
t(-7, 1, -5, 9223372036854775808, (9223372036854775801, 1, -5))
t(-7, 1, -3, 0, (-1, -1, -3))
t(-7, 1, -3, 1, (-1, 0, -3))
t(-7, 1, -3, 5, (-1, 1, -3))
t(-7, 1, -3, 10, (3, 1, -3))
t(-7, 1, -3, 100, (93, 1, -3))
t(-7, 1, -3, 2147483647, (2147483640, 1, -3))
t(-7, 1, -3, 9223372036854775808, (9223372036854775801, 1, -3))
t(-7, 1, -1, 0, (-1, -1, -1))
t(-7, 1, -1, 1, (-1, 0, -1))
t(-7, 1, -1, 5, (-1, 1, -1))
t(-7, 1, -1, 10, (3, 1, -1))
t(-7, 1, -1, 100, (93, 1, -1))
t(-7, 1, -1, 2147483647, (2147483640, 1, -1))
t(-7, 1, -1, 9223372036854775808, (9223372036854775801, 1, -1))
t(-7, 1, 1, 0, (0, 0, 1))
t(-7, 1, 1, 1, (0, 1, 1))
t(-7, 1, 1, 5, (0, 1, 1))
t(-7, 1, 1, 10, (3, 1, 1))
t(-7, 1, 1, 100, (93, 1, 1))
t(-7, 1, 1, 2147483647, (2147483640, 1, 1))
t(-7, 1, 1, 9223372036854775808, (9223372036854775801, 1, 1))
t(-7, 1, 5, 0, (0, 0, 5))
t(-7, 1, 5, 1, (0, 1, 5))
t(-7, 1, 5, 5, (0, 1, 5))
t(-7, 1, 5, 10, (3, 1, 5))
t(-7, 1, 5, 100, (93, 1, 5))
t(-7, 1, 5, 2147483647, (2147483640, 1, 5))
t(-7, 1, 5, 9223372036854775808, (9223372036854775801, 1, 5))
t(-7, 1, 20, 0, (0, 0, 20))
t(-7, 1, 20, 1, (0, 1, 20))
t(-7, 1, 20, 5, (0, 1, 20))
t(-7, 1, 20, 10, (3, 1, 20))
t(-7, 1, 20, 100, (93, 1, 20))
t(-7, 1, 20, 2147483647, (2147483640, 1, 20))
t(-7, 1, 20, 9223372036854775808, (9223372036854775801, 1, 20))
t(-7, 1, 2147483647, 0, (0, 0, 2147483647))
t(-7, 1, 2147483647, 1, (0, 1, 2147483647))
t(-7, 1, 2147483647, 5, (0, 1, 2147483647))
t(-7, 1, 2147483647, 10, (3, 1, 2147483647))
t(-7, 1, 2147483647, 100, (93, 1, 2147483647))
t(-7, 1, 2147483647, 2147483647, (2147483640, 1, 2147483647))
t(-7, 1, 2147483647, 9223372036854775808, (9223372036854775801, 1, 2147483647))
t(-7, 1, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-7, 1, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(-7, 1, 9223372036854775808, 5, (0, 1, 9223372036854775808))
t(-7, 1, 9223372036854775808, 10, (3, 1, 9223372036854775808))
t(-7, 1, 9223372036854775808, 100, (93, 1, 9223372036854775808))
t(-7, 1, 9223372036854775808, 2147483647, (2147483640, 1, 9223372036854775808))
t(-7, 1, 9223372036854775808, 9223372036854775808, (9223372036854775801, 1, 9223372036854775808))
t(-7, 6, None, 0, (0, 0, 1))
t(-7, 6, None, 1, (0, 1, 1))
t(-7, 6, None, 5, (0, 5, 1))
t(-7, 6, None, 10, (3, 6, 1))
t(-7, 6, None, 100, (93, 6, 1))
t(-7, 6, None, 2147483647, (2147483640, 6, 1))
t(-7, 6, None, 9223372036854775808, (9223372036854775801, 6, 1))
t(-7, 6, -5, 0, (-1, -1, -5))
t(-7, 6, -5, 1, (-1, 0, -5))
t(-7, 6, -5, 5, (-1, 4, -5))
t(-7, 6, -5, 10, (3, 6, -5))
t(-7, 6, -5, 100, (93, 6, -5))
t(-7, 6, -5, 2147483647, (2147483640, 6, -5))
t(-7, 6, -5, 9223372036854775808, (9223372036854775801, 6, -5))
t(-7, 6, -3, 0, (-1, -1, -3))
t(-7, 6, -3, 1, (-1, 0, -3))
t(-7, 6, -3, 5, (-1, 4, -3))
t(-7, 6, -3, 10, (3, 6, -3))
t(-7, 6, -3, 100, (93, 6, -3))
t(-7, 6, -3, 2147483647, (2147483640, 6, -3))
t(-7, 6, -3, 9223372036854775808, (9223372036854775801, 6, -3))
t(-7, 6, -1, 0, (-1, -1, -1))
t(-7, 6, -1, 1, (-1, 0, -1))
t(-7, 6, -1, 5, (-1, 4, -1))
t(-7, 6, -1, 10, (3, 6, -1))
t(-7, 6, -1, 100, (93, 6, -1))
t(-7, 6, -1, 2147483647, (2147483640, 6, -1))
t(-7, 6, -1, 9223372036854775808, (9223372036854775801, 6, -1))
t(-7, 6, 1, 0, (0, 0, 1))
t(-7, 6, 1, 1, (0, 1, 1))
t(-7, 6, 1, 5, (0, 5, 1))
t(-7, 6, 1, 10, (3, 6, 1))
t(-7, 6, 1, 100, (93, 6, 1))
t(-7, 6, 1, 2147483647, (2147483640, 6, 1))
t(-7, 6, 1, 9223372036854775808, (9223372036854775801, 6, 1))
t(-7, 6, 5, 0, (0, 0, 5))
t(-7, 6, 5, 1, (0, 1, 5))
t(-7, 6, 5, 5, (0, 5, 5))
t(-7, 6, 5, 10, (3, 6, 5))
t(-7, 6, 5, 100, (93, 6, 5))
t(-7, 6, 5, 2147483647, (2147483640, 6, 5))
t(-7, 6, 5, 9223372036854775808, (9223372036854775801, 6, 5))
t(-7, 6, 20, 0, (0, 0, 20))
t(-7, 6, 20, 1, (0, 1, 20))
t(-7, 6, 20, 5, (0, 5, 20))
t(-7, 6, 20, 10, (3, 6, 20))
t(-7, 6, 20, 100, (93, 6, 20))
t(-7, 6, 20, 2147483647, (2147483640, 6, 20))
t(-7, 6, 20, 9223372036854775808, (9223372036854775801, 6, 20))
t(-7, 6, 2147483647, 0, (0, 0, 2147483647))
t(-7, 6, 2147483647, 1, (0, 1, 2147483647))
t(-7, 6, 2147483647, 5, (0, 5, 2147483647))
t(-7, 6, 2147483647, 10, (3, 6, 2147483647))
t(-7, 6, 2147483647, 100, (93, 6, 2147483647))
t(-7, 6, 2147483647, 2147483647, (2147483640, 6, 2147483647))
t(-7, 6, 2147483647, 9223372036854775808, (9223372036854775801, 6, 2147483647))
t(-7, 6, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-7, 6, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(-7, 6, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(-7, 6, 9223372036854775808, 10, (3, 6, 9223372036854775808))
t(-7, 6, 9223372036854775808, 100, (93, 6, 9223372036854775808))
t(-7, 6, 9223372036854775808, 2147483647, (2147483640, 6, 9223372036854775808))
t(-7, 6, 9223372036854775808, 9223372036854775808, (9223372036854775801, 6, 9223372036854775808))
t(-7, 10, None, 0, (0, 0, 1))
t(-7, 10, None, 1, (0, 1, 1))
t(-7, 10, None, 5, (0, 5, 1))
t(-7, 10, None, 10, (3, 10, 1))
t(-7, 10, None, 100, (93, 10, 1))
t(-7, 10, None, 2147483647, (2147483640, 10, 1))
t(-7, 10, None, 9223372036854775808, (9223372036854775801, 10, 1))
t(-7, 10, -5, 0, (-1, -1, -5))
t(-7, 10, -5, 1, (-1, 0, -5))
t(-7, 10, -5, 5, (-1, 4, -5))
t(-7, 10, -5, 10, (3, 9, -5))
t(-7, 10, -5, 100, (93, 10, -5))
t(-7, 10, -5, 2147483647, (2147483640, 10, -5))
t(-7, 10, -5, 9223372036854775808, (9223372036854775801, 10, -5))
t(-7, 10, -3, 0, (-1, -1, -3))
t(-7, 10, -3, 1, (-1, 0, -3))
t(-7, 10, -3, 5, (-1, 4, -3))
t(-7, 10, -3, 10, (3, 9, -3))
t(-7, 10, -3, 100, (93, 10, -3))
t(-7, 10, -3, 2147483647, (2147483640, 10, -3))
t(-7, 10, -3, 9223372036854775808, (9223372036854775801, 10, -3))
t(-7, 10, -1, 0, (-1, -1, -1))
t(-7, 10, -1, 1, (-1, 0, -1))
t(-7, 10, -1, 5, (-1, 4, -1))
t(-7, 10, -1, 10, (3, 9, -1))
t(-7, 10, -1, 100, (93, 10, -1))
t(-7, 10, -1, 2147483647, (2147483640, 10, -1))
t(-7, 10, -1, 9223372036854775808, (9223372036854775801, 10, -1))
t(-7, 10, 1, 0, (0, 0, 1))
t(-7, 10, 1, 1, (0, 1, 1))
t(-7, 10, 1, 5, (0, 5, 1))
t(-7, 10, 1, 10, (3, 10, 1))
t(-7, 10, 1, 100, (93, 10, 1))
t(-7, 10, 1, 2147483647, (2147483640, 10, 1))
t(-7, 10, 1, 9223372036854775808, (9223372036854775801, 10, 1))
t(-7, 10, 5, 0, (0, 0, 5))
t(-7, 10, 5, 1, (0, 1, 5))
t(-7, 10, 5, 5, (0, 5, 5))
t(-7, 10, 5, 10, (3, 10, 5))
t(-7, 10, 5, 100, (93, 10, 5))
t(-7, 10, 5, 2147483647, (2147483640, 10, 5))
t(-7, 10, 5, 9223372036854775808, (9223372036854775801, 10, 5))
t(-7, 10, 20, 0, (0, 0, 20))
t(-7, 10, 20, 1, (0, 1, 20))
t(-7, 10, 20, 5, (0, 5, 20))
t(-7, 10, 20, 10, (3, 10, 20))
t(-7, 10, 20, 100, (93, 10, 20))
t(-7, 10, 20, 2147483647, (2147483640, 10, 20))
t(-7, 10, 20, 9223372036854775808, (9223372036854775801, 10, 20))
t(-7, 10, 2147483647, 0, (0, 0, 2147483647))
t(-7, 10, 2147483647, 1, (0, 1, 2147483647))
t(-7, 10, 2147483647, 5, (0, 5, 2147483647))
t(-7, 10, 2147483647, 10, (3, 10, 2147483647))
t(-7, 10, 2147483647, 100, (93, 10, 2147483647))
t(-7, 10, 2147483647, 2147483647, (2147483640, 10, 2147483647))
t(-7, 10, 2147483647, 9223372036854775808, (9223372036854775801, 10, 2147483647))
t(-7, 10, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-7, 10, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(-7, 10, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(-7, 10, 9223372036854775808, 10, (3, 10, 9223372036854775808))
t(-7, 10, 9223372036854775808, 100, (93, 10, 9223372036854775808))
t(-7, 10, 9223372036854775808, 2147483647, (2147483640, 10, 9223372036854775808))
t(-7, 10, 9223372036854775808, 9223372036854775808, (9223372036854775801, 10, 9223372036854775808))
t(-7, 2147483647, None, 0, (0, 0, 1))
t(-7, 2147483647, None, 1, (0, 1, 1))
t(-7, 2147483647, None, 5, (0, 5, 1))
t(-7, 2147483647, None, 10, (3, 10, 1))
t(-7, 2147483647, None, 100, (93, 100, 1))
t(-7, 2147483647, None, 2147483647, (2147483640, 2147483647, 1))
t(-7, 2147483647, None, 9223372036854775808, (9223372036854775801, 2147483647, 1))
t(-7, 2147483647, -5, 0, (-1, -1, -5))
t(-7, 2147483647, -5, 1, (-1, 0, -5))
t(-7, 2147483647, -5, 5, (-1, 4, -5))
t(-7, 2147483647, -5, 10, (3, 9, -5))
t(-7, 2147483647, -5, 100, (93, 99, -5))
t(-7, 2147483647, -5, 2147483647, (2147483640, 2147483646, -5))
t(-7, 2147483647, -5, 9223372036854775808, (9223372036854775801, 2147483647, -5))
t(-7, 2147483647, -3, 0, (-1, -1, -3))
t(-7, 2147483647, -3, 1, (-1, 0, -3))
t(-7, 2147483647, -3, 5, (-1, 4, -3))
t(-7, 2147483647, -3, 10, (3, 9, -3))
t(-7, 2147483647, -3, 100, (93, 99, -3))
t(-7, 2147483647, -3, 2147483647, (2147483640, 2147483646, -3))
t(-7, 2147483647, -3, 9223372036854775808, (9223372036854775801, 2147483647, -3))
t(-7, 2147483647, -1, 0, (-1, -1, -1))
t(-7, 2147483647, -1, 1, (-1, 0, -1))
t(-7, 2147483647, -1, 5, (-1, 4, -1))
t(-7, 2147483647, -1, 10, (3, 9, -1))
t(-7, 2147483647, -1, 100, (93, 99, -1))
t(-7, 2147483647, -1, 2147483647, (2147483640, 2147483646, -1))
t(-7, 2147483647, -1, 9223372036854775808, (9223372036854775801, 2147483647, -1))
t(-7, 2147483647, 1, 0, (0, 0, 1))
t(-7, 2147483647, 1, 1, (0, 1, 1))
t(-7, 2147483647, 1, 5, (0, 5, 1))
t(-7, 2147483647, 1, 10, (3, 10, 1))
t(-7, 2147483647, 1, 100, (93, 100, 1))
t(-7, 2147483647, 1, 2147483647, (2147483640, 2147483647, 1))
t(-7, 2147483647, 1, 9223372036854775808, (9223372036854775801, 2147483647, 1))
t(-7, 2147483647, 5, 0, (0, 0, 5))
t(-7, 2147483647, 5, 1, (0, 1, 5))
t(-7, 2147483647, 5, 5, (0, 5, 5))
t(-7, 2147483647, 5, 10, (3, 10, 5))
t(-7, 2147483647, 5, 100, (93, 100, 5))
t(-7, 2147483647, 5, 2147483647, (2147483640, 2147483647, 5))
t(-7, 2147483647, 5, 9223372036854775808, (9223372036854775801, 2147483647, 5))
t(-7, 2147483647, 20, 0, (0, 0, 20))
t(-7, 2147483647, 20, 1, (0, 1, 20))
t(-7, 2147483647, 20, 5, (0, 5, 20))
t(-7, 2147483647, 20, 10, (3, 10, 20))
t(-7, 2147483647, 20, 100, (93, 100, 20))
t(-7, 2147483647, 20, 2147483647, (2147483640, 2147483647, 20))
t(-7, 2147483647, 20, 9223372036854775808, (9223372036854775801, 2147483647, 20))
t(-7, 2147483647, 2147483647, 0, (0, 0, 2147483647))
t(-7, 2147483647, 2147483647, 1, (0, 1, 2147483647))
t(-7, 2147483647, 2147483647, 5, (0, 5, 2147483647))
t(-7, 2147483647, 2147483647, 10, (3, 10, 2147483647))
t(-7, 2147483647, 2147483647, 100, (93, 100, 2147483647))
t(-7, 2147483647, 2147483647, 2147483647, (2147483640, 2147483647, 2147483647))
t(-7, 2147483647, 2147483647, 9223372036854775808, (9223372036854775801, 2147483647, 2147483647))
t(-7, 2147483647, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-7, 2147483647, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(-7, 2147483647, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(-7, 2147483647, 9223372036854775808, 10, (3, 10, 9223372036854775808))
t(-7, 2147483647, 9223372036854775808, 100, (93, 100, 9223372036854775808))
t(-7, 2147483647, 9223372036854775808, 2147483647, (2147483640, 2147483647, 9223372036854775808))
t(-7, 2147483647, 9223372036854775808, 9223372036854775808, (9223372036854775801, 2147483647, 9223372036854775808))
t(-7, 9223372036854775808, None, 0, (0, 0, 1))
t(-7, 9223372036854775808, None, 1, (0, 1, 1))
t(-7, 9223372036854775808, None, 5, (0, 5, 1))
t(-7, 9223372036854775808, None, 10, (3, 10, 1))
t(-7, 9223372036854775808, None, 100, (93, 100, 1))
t(-7, 9223372036854775808, None, 2147483647, (2147483640, 2147483647, 1))
t(-7, 9223372036854775808, None, 9223372036854775808, (9223372036854775801, 9223372036854775808, 1))
t(-7, 9223372036854775808, -5, 0, (-1, -1, -5))
t(-7, 9223372036854775808, -5, 1, (-1, 0, -5))
t(-7, 9223372036854775808, -5, 5, (-1, 4, -5))
t(-7, 9223372036854775808, -5, 10, (3, 9, -5))
t(-7, 9223372036854775808, -5, 100, (93, 99, -5))
t(-7, 9223372036854775808, -5, 2147483647, (2147483640, 2147483646, -5))
t(-7, 9223372036854775808, -5, 9223372036854775808, (9223372036854775801, 9223372036854775807, -5))
t(-7, 9223372036854775808, -3, 0, (-1, -1, -3))
t(-7, 9223372036854775808, -3, 1, (-1, 0, -3))
t(-7, 9223372036854775808, -3, 5, (-1, 4, -3))
t(-7, 9223372036854775808, -3, 10, (3, 9, -3))
t(-7, 9223372036854775808, -3, 100, (93, 99, -3))
t(-7, 9223372036854775808, -3, 2147483647, (2147483640, 2147483646, -3))
t(-7, 9223372036854775808, -3, 9223372036854775808, (9223372036854775801, 9223372036854775807, -3))
t(-7, 9223372036854775808, -1, 0, (-1, -1, -1))
t(-7, 9223372036854775808, -1, 1, (-1, 0, -1))
t(-7, 9223372036854775808, -1, 5, (-1, 4, -1))
t(-7, 9223372036854775808, -1, 10, (3, 9, -1))
t(-7, 9223372036854775808, -1, 100, (93, 99, -1))
t(-7, 9223372036854775808, -1, 2147483647, (2147483640, 2147483646, -1))
t(-7, 9223372036854775808, -1, 9223372036854775808, (9223372036854775801, 9223372036854775807, -1))
t(-7, 9223372036854775808, 1, 0, (0, 0, 1))
t(-7, 9223372036854775808, 1, 1, (0, 1, 1))
t(-7, 9223372036854775808, 1, 5, (0, 5, 1))
t(-7, 9223372036854775808, 1, 10, (3, 10, 1))
t(-7, 9223372036854775808, 1, 100, (93, 100, 1))
t(-7, 9223372036854775808, 1, 2147483647, (2147483640, 2147483647, 1))
t(-7, 9223372036854775808, 1, 9223372036854775808, (9223372036854775801, 9223372036854775808, 1))
t(-7, 9223372036854775808, 5, 0, (0, 0, 5))
t(-7, 9223372036854775808, 5, 1, (0, 1, 5))
t(-7, 9223372036854775808, 5, 5, (0, 5, 5))
t(-7, 9223372036854775808, 5, 10, (3, 10, 5))
t(-7, 9223372036854775808, 5, 100, (93, 100, 5))
t(-7, 9223372036854775808, 5, 2147483647, (2147483640, 2147483647, 5))
t(-7, 9223372036854775808, 5, 9223372036854775808, (9223372036854775801, 9223372036854775808, 5))
t(-7, 9223372036854775808, 20, 0, (0, 0, 20))
t(-7, 9223372036854775808, 20, 1, (0, 1, 20))
t(-7, 9223372036854775808, 20, 5, (0, 5, 20))
t(-7, 9223372036854775808, 20, 10, (3, 10, 20))
t(-7, 9223372036854775808, 20, 100, (93, 100, 20))
t(-7, 9223372036854775808, 20, 2147483647, (2147483640, 2147483647, 20))
t(-7, 9223372036854775808, 20, 9223372036854775808, (9223372036854775801, 9223372036854775808, 20))
t(-7, 9223372036854775808, 2147483647, 0, (0, 0, 2147483647))
t(-7, 9223372036854775808, 2147483647, 1, (0, 1, 2147483647))
t(-7, 9223372036854775808, 2147483647, 5, (0, 5, 2147483647))
t(-7, 9223372036854775808, 2147483647, 10, (3, 10, 2147483647))
t(-7, 9223372036854775808, 2147483647, 100, (93, 100, 2147483647))
t(-7, 9223372036854775808, 2147483647, 2147483647, (2147483640, 2147483647, 2147483647))
t(-7, 9223372036854775808, 2147483647, 9223372036854775808, (9223372036854775801, 9223372036854775808, 2147483647))
t(-7, 9223372036854775808, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-7, 9223372036854775808, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(-7, 9223372036854775808, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(-7, 9223372036854775808, 9223372036854775808, 10, (3, 10, 9223372036854775808))
t(-7, 9223372036854775808, 9223372036854775808, 100, (93, 100, 9223372036854775808))
t(-7, 9223372036854775808, 9223372036854775808, 2147483647, (2147483640, 2147483647, 9223372036854775808))
t(-7, 9223372036854775808, 9223372036854775808, 9223372036854775808, (9223372036854775801, 9223372036854775808, 9223372036854775808))
t(-2, None, None, 0, (0, 0, 1))
t(-2, None, None, 1, (0, 1, 1))
t(-2, None, None, 5, (3, 5, 1))
t(-2, None, None, 10, (8, 10, 1))
t(-2, None, None, 100, (98, 100, 1))
t(-2, None, None, 2147483647, (2147483645, 2147483647, 1))
t(-2, None, None, 9223372036854775808, (9223372036854775806, 9223372036854775808, 1))
t(-2, None, -5, 0, (-1, -1, -5))
t(-2, None, -5, 1, (-1, -1, -5))
t(-2, None, -5, 5, (3, -1, -5))
t(-2, None, -5, 10, (8, -1, -5))
t(-2, None, -5, 100, (98, -1, -5))
t(-2, None, -5, 2147483647, (2147483645, -1, -5))
t(-2, None, -5, 9223372036854775808, (9223372036854775806, -1, -5))
t(-2, None, -3, 0, (-1, -1, -3))
t(-2, None, -3, 1, (-1, -1, -3))
t(-2, None, -3, 5, (3, -1, -3))
t(-2, None, -3, 10, (8, -1, -3))
t(-2, None, -3, 100, (98, -1, -3))
t(-2, None, -3, 2147483647, (2147483645, -1, -3))
t(-2, None, -3, 9223372036854775808, (9223372036854775806, -1, -3))
t(-2, None, -1, 0, (-1, -1, -1))
t(-2, None, -1, 1, (-1, -1, -1))
t(-2, None, -1, 5, (3, -1, -1))
t(-2, None, -1, 10, (8, -1, -1))
t(-2, None, -1, 100, (98, -1, -1))
t(-2, None, -1, 2147483647, (2147483645, -1, -1))
t(-2, None, -1, 9223372036854775808, (9223372036854775806, -1, -1))
t(-2, None, 1, 0, (0, 0, 1))
t(-2, None, 1, 1, (0, 1, 1))
t(-2, None, 1, 5, (3, 5, 1))
t(-2, None, 1, 10, (8, 10, 1))
t(-2, None, 1, 100, (98, 100, 1))
t(-2, None, 1, 2147483647, (2147483645, 2147483647, 1))
t(-2, None, 1, 9223372036854775808, (9223372036854775806, 9223372036854775808, 1))
t(-2, None, 5, 0, (0, 0, 5))
t(-2, None, 5, 1, (0, 1, 5))
t(-2, None, 5, 5, (3, 5, 5))
t(-2, None, 5, 10, (8, 10, 5))
t(-2, None, 5, 100, (98, 100, 5))
t(-2, None, 5, 2147483647, (2147483645, 2147483647, 5))
t(-2, None, 5, 9223372036854775808, (9223372036854775806, 9223372036854775808, 5))
t(-2, None, 20, 0, (0, 0, 20))
t(-2, None, 20, 1, (0, 1, 20))
t(-2, None, 20, 5, (3, 5, 20))
t(-2, None, 20, 10, (8, 10, 20))
t(-2, None, 20, 100, (98, 100, 20))
t(-2, None, 20, 2147483647, (2147483645, 2147483647, 20))
t(-2, None, 20, 9223372036854775808, (9223372036854775806, 9223372036854775808, 20))
t(-2, None, 2147483647, 0, (0, 0, 2147483647))
t(-2, None, 2147483647, 1, (0, 1, 2147483647))
t(-2, None, 2147483647, 5, (3, 5, 2147483647))
t(-2, None, 2147483647, 10, (8, 10, 2147483647))
t(-2, None, 2147483647, 100, (98, 100, 2147483647))
t(-2, None, 2147483647, 2147483647, (2147483645, 2147483647, 2147483647))
t(-2, None, 2147483647, 9223372036854775808, (9223372036854775806, 9223372036854775808, 2147483647))
t(-2, None, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-2, None, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(-2, None, 9223372036854775808, 5, (3, 5, 9223372036854775808))
t(-2, None, 9223372036854775808, 10, (8, 10, 9223372036854775808))
t(-2, None, 9223372036854775808, 100, (98, 100, 9223372036854775808))
t(-2, None, 9223372036854775808, 2147483647, (2147483645, 2147483647, 9223372036854775808))
t(-2, None, 9223372036854775808, 9223372036854775808, (9223372036854775806, 9223372036854775808, 9223372036854775808))
t(-2, -7, None, 0, (0, 0, 1))
t(-2, -7, None, 1, (0, 0, 1))
t(-2, -7, None, 5, (3, 0, 1))
t(-2, -7, None, 10, (8, 3, 1))
t(-2, -7, None, 100, (98, 93, 1))
t(-2, -7, None, 2147483647, (2147483645, 2147483640, 1))
t(-2, -7, None, 9223372036854775808, (9223372036854775806, 9223372036854775801, 1))
t(-2, -7, -5, 0, (-1, -1, -5))
t(-2, -7, -5, 1, (-1, -1, -5))
t(-2, -7, -5, 5, (3, -1, -5))
t(-2, -7, -5, 10, (8, 3, -5))
t(-2, -7, -5, 100, (98, 93, -5))
t(-2, -7, -5, 2147483647, (2147483645, 2147483640, -5))
t(-2, -7, -5, 9223372036854775808, (9223372036854775806, 9223372036854775801, -5))
t(-2, -7, -3, 0, (-1, -1, -3))
t(-2, -7, -3, 1, (-1, -1, -3))
t(-2, -7, -3, 5, (3, -1, -3))
t(-2, -7, -3, 10, (8, 3, -3))
t(-2, -7, -3, 100, (98, 93, -3))
t(-2, -7, -3, 2147483647, (2147483645, 2147483640, -3))
t(-2, -7, -3, 9223372036854775808, (9223372036854775806, 9223372036854775801, -3))
t(-2, -7, -1, 0, (-1, -1, -1))
t(-2, -7, -1, 1, (-1, -1, -1))
t(-2, -7, -1, 5, (3, -1, -1))
t(-2, -7, -1, 10, (8, 3, -1))
t(-2, -7, -1, 100, (98, 93, -1))
t(-2, -7, -1, 2147483647, (2147483645, 2147483640, -1))
t(-2, -7, -1, 9223372036854775808, (9223372036854775806, 9223372036854775801, -1))
t(-2, -7, 1, 0, (0, 0, 1))
t(-2, -7, 1, 1, (0, 0, 1))
t(-2, -7, 1, 5, (3, 0, 1))
t(-2, -7, 1, 10, (8, 3, 1))
t(-2, -7, 1, 100, (98, 93, 1))
t(-2, -7, 1, 2147483647, (2147483645, 2147483640, 1))
t(-2, -7, 1, 9223372036854775808, (9223372036854775806, 9223372036854775801, 1))
t(-2, -7, 5, 0, (0, 0, 5))
t(-2, -7, 5, 1, (0, 0, 5))
t(-2, -7, 5, 5, (3, 0, 5))
t(-2, -7, 5, 10, (8, 3, 5))
t(-2, -7, 5, 100, (98, 93, 5))
t(-2, -7, 5, 2147483647, (2147483645, 2147483640, 5))
t(-2, -7, 5, 9223372036854775808, (9223372036854775806, 9223372036854775801, 5))
t(-2, -7, 20, 0, (0, 0, 20))
t(-2, -7, 20, 1, (0, 0, 20))
t(-2, -7, 20, 5, (3, 0, 20))
t(-2, -7, 20, 10, (8, 3, 20))
t(-2, -7, 20, 100, (98, 93, 20))
t(-2, -7, 20, 2147483647, (2147483645, 2147483640, 20))
t(-2, -7, 20, 9223372036854775808, (9223372036854775806, 9223372036854775801, 20))
t(-2, -7, 2147483647, 0, (0, 0, 2147483647))
t(-2, -7, 2147483647, 1, (0, 0, 2147483647))
t(-2, -7, 2147483647, 5, (3, 0, 2147483647))
t(-2, -7, 2147483647, 10, (8, 3, 2147483647))
t(-2, -7, 2147483647, 100, (98, 93, 2147483647))
t(-2, -7, 2147483647, 2147483647, (2147483645, 2147483640, 2147483647))
t(-2, -7, 2147483647, 9223372036854775808, (9223372036854775806, 9223372036854775801, 2147483647))
t(-2, -7, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-2, -7, 9223372036854775808, 1, (0, 0, 9223372036854775808))
t(-2, -7, 9223372036854775808, 5, (3, 0, 9223372036854775808))
t(-2, -7, 9223372036854775808, 10, (8, 3, 9223372036854775808))
t(-2, -7, 9223372036854775808, 100, (98, 93, 9223372036854775808))
t(-2, -7, 9223372036854775808, 2147483647, (2147483645, 2147483640, 9223372036854775808))
t(-2, -7, 9223372036854775808, 9223372036854775808, (9223372036854775806, 9223372036854775801, 9223372036854775808))
t(-2, -2, None, 0, (0, 0, 1))
t(-2, -2, None, 1, (0, 0, 1))
t(-2, -2, None, 5, (3, 3, 1))
t(-2, -2, None, 10, (8, 8, 1))
t(-2, -2, None, 100, (98, 98, 1))
t(-2, -2, None, 2147483647, (2147483645, 2147483645, 1))
t(-2, -2, None, 9223372036854775808, (9223372036854775806, 9223372036854775806, 1))
t(-2, -2, -5, 0, (-1, -1, -5))
t(-2, -2, -5, 1, (-1, -1, -5))
t(-2, -2, -5, 5, (3, 3, -5))
t(-2, -2, -5, 10, (8, 8, -5))
t(-2, -2, -5, 100, (98, 98, -5))
t(-2, -2, -5, 2147483647, (2147483645, 2147483645, -5))
t(-2, -2, -5, 9223372036854775808, (9223372036854775806, 9223372036854775806, -5))
t(-2, -2, -3, 0, (-1, -1, -3))
t(-2, -2, -3, 1, (-1, -1, -3))
t(-2, -2, -3, 5, (3, 3, -3))
t(-2, -2, -3, 10, (8, 8, -3))
t(-2, -2, -3, 100, (98, 98, -3))
t(-2, -2, -3, 2147483647, (2147483645, 2147483645, -3))
t(-2, -2, -3, 9223372036854775808, (9223372036854775806, 9223372036854775806, -3))
t(-2, -2, -1, 0, (-1, -1, -1))
t(-2, -2, -1, 1, (-1, -1, -1))
t(-2, -2, -1, 5, (3, 3, -1))
t(-2, -2, -1, 10, (8, 8, -1))
t(-2, -2, -1, 100, (98, 98, -1))
t(-2, -2, -1, 2147483647, (2147483645, 2147483645, -1))
t(-2, -2, -1, 9223372036854775808, (9223372036854775806, 9223372036854775806, -1))
t(-2, -2, 1, 0, (0, 0, 1))
t(-2, -2, 1, 1, (0, 0, 1))
t(-2, -2, 1, 5, (3, 3, 1))
t(-2, -2, 1, 10, (8, 8, 1))
t(-2, -2, 1, 100, (98, 98, 1))
t(-2, -2, 1, 2147483647, (2147483645, 2147483645, 1))
t(-2, -2, 1, 9223372036854775808, (9223372036854775806, 9223372036854775806, 1))
t(-2, -2, 5, 0, (0, 0, 5))
t(-2, -2, 5, 1, (0, 0, 5))
t(-2, -2, 5, 5, (3, 3, 5))
t(-2, -2, 5, 10, (8, 8, 5))
t(-2, -2, 5, 100, (98, 98, 5))
t(-2, -2, 5, 2147483647, (2147483645, 2147483645, 5))
t(-2, -2, 5, 9223372036854775808, (9223372036854775806, 9223372036854775806, 5))
t(-2, -2, 20, 0, (0, 0, 20))
t(-2, -2, 20, 1, (0, 0, 20))
t(-2, -2, 20, 5, (3, 3, 20))
t(-2, -2, 20, 10, (8, 8, 20))
t(-2, -2, 20, 100, (98, 98, 20))
t(-2, -2, 20, 2147483647, (2147483645, 2147483645, 20))
t(-2, -2, 20, 9223372036854775808, (9223372036854775806, 9223372036854775806, 20))
t(-2, -2, 2147483647, 0, (0, 0, 2147483647))
t(-2, -2, 2147483647, 1, (0, 0, 2147483647))
t(-2, -2, 2147483647, 5, (3, 3, 2147483647))
t(-2, -2, 2147483647, 10, (8, 8, 2147483647))
t(-2, -2, 2147483647, 100, (98, 98, 2147483647))
t(-2, -2, 2147483647, 2147483647, (2147483645, 2147483645, 2147483647))
t(-2, -2, 2147483647, 9223372036854775808, (9223372036854775806, 9223372036854775806, 2147483647))
t(-2, -2, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-2, -2, 9223372036854775808, 1, (0, 0, 9223372036854775808))
t(-2, -2, 9223372036854775808, 5, (3, 3, 9223372036854775808))
t(-2, -2, 9223372036854775808, 10, (8, 8, 9223372036854775808))
t(-2, -2, 9223372036854775808, 100, (98, 98, 9223372036854775808))
t(-2, -2, 9223372036854775808, 2147483647, (2147483645, 2147483645, 9223372036854775808))
t(-2, -2, 9223372036854775808, 9223372036854775808, (9223372036854775806, 9223372036854775806, 9223372036854775808))
t(-2, 0, None, 0, (0, 0, 1))
t(-2, 0, None, 1, (0, 0, 1))
t(-2, 0, None, 5, (3, 0, 1))
t(-2, 0, None, 10, (8, 0, 1))
t(-2, 0, None, 100, (98, 0, 1))
t(-2, 0, None, 2147483647, (2147483645, 0, 1))
t(-2, 0, None, 9223372036854775808, (9223372036854775806, 0, 1))
t(-2, 0, -5, 0, (-1, -1, -5))
t(-2, 0, -5, 1, (-1, 0, -5))
t(-2, 0, -5, 5, (3, 0, -5))
t(-2, 0, -5, 10, (8, 0, -5))
t(-2, 0, -5, 100, (98, 0, -5))
t(-2, 0, -5, 2147483647, (2147483645, 0, -5))
t(-2, 0, -5, 9223372036854775808, (9223372036854775806, 0, -5))
t(-2, 0, -3, 0, (-1, -1, -3))
t(-2, 0, -3, 1, (-1, 0, -3))
t(-2, 0, -3, 5, (3, 0, -3))
t(-2, 0, -3, 10, (8, 0, -3))
t(-2, 0, -3, 100, (98, 0, -3))
t(-2, 0, -3, 2147483647, (2147483645, 0, -3))
t(-2, 0, -3, 9223372036854775808, (9223372036854775806, 0, -3))
t(-2, 0, -1, 0, (-1, -1, -1))
t(-2, 0, -1, 1, (-1, 0, -1))
t(-2, 0, -1, 5, (3, 0, -1))
t(-2, 0, -1, 10, (8, 0, -1))
t(-2, 0, -1, 100, (98, 0, -1))
t(-2, 0, -1, 2147483647, (2147483645, 0, -1))
t(-2, 0, -1, 9223372036854775808, (9223372036854775806, 0, -1))
t(-2, 0, 1, 0, (0, 0, 1))
t(-2, 0, 1, 1, (0, 0, 1))
t(-2, 0, 1, 5, (3, 0, 1))
t(-2, 0, 1, 10, (8, 0, 1))
t(-2, 0, 1, 100, (98, 0, 1))
t(-2, 0, 1, 2147483647, (2147483645, 0, 1))
t(-2, 0, 1, 9223372036854775808, (9223372036854775806, 0, 1))
t(-2, 0, 5, 0, (0, 0, 5))
t(-2, 0, 5, 1, (0, 0, 5))
t(-2, 0, 5, 5, (3, 0, 5))
t(-2, 0, 5, 10, (8, 0, 5))
t(-2, 0, 5, 100, (98, 0, 5))
t(-2, 0, 5, 2147483647, (2147483645, 0, 5))
t(-2, 0, 5, 9223372036854775808, (9223372036854775806, 0, 5))
t(-2, 0, 20, 0, (0, 0, 20))
t(-2, 0, 20, 1, (0, 0, 20))
t(-2, 0, 20, 5, (3, 0, 20))
t(-2, 0, 20, 10, (8, 0, 20))
t(-2, 0, 20, 100, (98, 0, 20))
t(-2, 0, 20, 2147483647, (2147483645, 0, 20))
t(-2, 0, 20, 9223372036854775808, (9223372036854775806, 0, 20))
t(-2, 0, 2147483647, 0, (0, 0, 2147483647))
t(-2, 0, 2147483647, 1, (0, 0, 2147483647))
t(-2, 0, 2147483647, 5, (3, 0, 2147483647))
t(-2, 0, 2147483647, 10, (8, 0, 2147483647))
t(-2, 0, 2147483647, 100, (98, 0, 2147483647))
t(-2, 0, 2147483647, 2147483647, (2147483645, 0, 2147483647))
t(-2, 0, 2147483647, 9223372036854775808, (9223372036854775806, 0, 2147483647))
t(-2, 0, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-2, 0, 9223372036854775808, 1, (0, 0, 9223372036854775808))
t(-2, 0, 9223372036854775808, 5, (3, 0, 9223372036854775808))
t(-2, 0, 9223372036854775808, 10, (8, 0, 9223372036854775808))
t(-2, 0, 9223372036854775808, 100, (98, 0, 9223372036854775808))
t(-2, 0, 9223372036854775808, 2147483647, (2147483645, 0, 9223372036854775808))
t(-2, 0, 9223372036854775808, 9223372036854775808, (9223372036854775806, 0, 9223372036854775808))
t(-2, 1, None, 0, (0, 0, 1))
t(-2, 1, None, 1, (0, 1, 1))
t(-2, 1, None, 5, (3, 1, 1))
t(-2, 1, None, 10, (8, 1, 1))
t(-2, 1, None, 100, (98, 1, 1))
t(-2, 1, None, 2147483647, (2147483645, 1, 1))
t(-2, 1, None, 9223372036854775808, (9223372036854775806, 1, 1))
t(-2, 1, -5, 0, (-1, -1, -5))
t(-2, 1, -5, 1, (-1, 0, -5))
t(-2, 1, -5, 5, (3, 1, -5))
t(-2, 1, -5, 10, (8, 1, -5))
t(-2, 1, -5, 100, (98, 1, -5))
t(-2, 1, -5, 2147483647, (2147483645, 1, -5))
t(-2, 1, -5, 9223372036854775808, (9223372036854775806, 1, -5))
t(-2, 1, -3, 0, (-1, -1, -3))
t(-2, 1, -3, 1, (-1, 0, -3))
t(-2, 1, -3, 5, (3, 1, -3))
t(-2, 1, -3, 10, (8, 1, -3))
t(-2, 1, -3, 100, (98, 1, -3))
t(-2, 1, -3, 2147483647, (2147483645, 1, -3))
t(-2, 1, -3, 9223372036854775808, (9223372036854775806, 1, -3))
t(-2, 1, -1, 0, (-1, -1, -1))
t(-2, 1, -1, 1, (-1, 0, -1))
t(-2, 1, -1, 5, (3, 1, -1))
t(-2, 1, -1, 10, (8, 1, -1))
t(-2, 1, -1, 100, (98, 1, -1))
t(-2, 1, -1, 2147483647, (2147483645, 1, -1))
t(-2, 1, -1, 9223372036854775808, (9223372036854775806, 1, -1))
t(-2, 1, 1, 0, (0, 0, 1))
t(-2, 1, 1, 1, (0, 1, 1))
t(-2, 1, 1, 5, (3, 1, 1))
t(-2, 1, 1, 10, (8, 1, 1))
t(-2, 1, 1, 100, (98, 1, 1))
t(-2, 1, 1, 2147483647, (2147483645, 1, 1))
t(-2, 1, 1, 9223372036854775808, (9223372036854775806, 1, 1))
t(-2, 1, 5, 0, (0, 0, 5))
t(-2, 1, 5, 1, (0, 1, 5))
t(-2, 1, 5, 5, (3, 1, 5))
t(-2, 1, 5, 10, (8, 1, 5))
t(-2, 1, 5, 100, (98, 1, 5))
t(-2, 1, 5, 2147483647, (2147483645, 1, 5))
t(-2, 1, 5, 9223372036854775808, (9223372036854775806, 1, 5))
t(-2, 1, 20, 0, (0, 0, 20))
t(-2, 1, 20, 1, (0, 1, 20))
t(-2, 1, 20, 5, (3, 1, 20))
t(-2, 1, 20, 10, (8, 1, 20))
t(-2, 1, 20, 100, (98, 1, 20))
t(-2, 1, 20, 2147483647, (2147483645, 1, 20))
t(-2, 1, 20, 9223372036854775808, (9223372036854775806, 1, 20))
t(-2, 1, 2147483647, 0, (0, 0, 2147483647))
t(-2, 1, 2147483647, 1, (0, 1, 2147483647))
t(-2, 1, 2147483647, 5, (3, 1, 2147483647))
t(-2, 1, 2147483647, 10, (8, 1, 2147483647))
t(-2, 1, 2147483647, 100, (98, 1, 2147483647))
t(-2, 1, 2147483647, 2147483647, (2147483645, 1, 2147483647))
t(-2, 1, 2147483647, 9223372036854775808, (9223372036854775806, 1, 2147483647))
t(-2, 1, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-2, 1, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(-2, 1, 9223372036854775808, 5, (3, 1, 9223372036854775808))
t(-2, 1, 9223372036854775808, 10, (8, 1, 9223372036854775808))
t(-2, 1, 9223372036854775808, 100, (98, 1, 9223372036854775808))
t(-2, 1, 9223372036854775808, 2147483647, (2147483645, 1, 9223372036854775808))
t(-2, 1, 9223372036854775808, 9223372036854775808, (9223372036854775806, 1, 9223372036854775808))
t(-2, 6, None, 0, (0, 0, 1))
t(-2, 6, None, 1, (0, 1, 1))
t(-2, 6, None, 5, (3, 5, 1))
t(-2, 6, None, 10, (8, 6, 1))
t(-2, 6, None, 100, (98, 6, 1))
t(-2, 6, None, 2147483647, (2147483645, 6, 1))
t(-2, 6, None, 9223372036854775808, (9223372036854775806, 6, 1))
t(-2, 6, -5, 0, (-1, -1, -5))
t(-2, 6, -5, 1, (-1, 0, -5))
t(-2, 6, -5, 5, (3, 4, -5))
t(-2, 6, -5, 10, (8, 6, -5))
t(-2, 6, -5, 100, (98, 6, -5))
t(-2, 6, -5, 2147483647, (2147483645, 6, -5))
t(-2, 6, -5, 9223372036854775808, (9223372036854775806, 6, -5))
t(-2, 6, -3, 0, (-1, -1, -3))
t(-2, 6, -3, 1, (-1, 0, -3))
t(-2, 6, -3, 5, (3, 4, -3))
t(-2, 6, -3, 10, (8, 6, -3))
t(-2, 6, -3, 100, (98, 6, -3))
t(-2, 6, -3, 2147483647, (2147483645, 6, -3))
t(-2, 6, -3, 9223372036854775808, (9223372036854775806, 6, -3))
t(-2, 6, -1, 0, (-1, -1, -1))
t(-2, 6, -1, 1, (-1, 0, -1))
t(-2, 6, -1, 5, (3, 4, -1))
t(-2, 6, -1, 10, (8, 6, -1))
t(-2, 6, -1, 100, (98, 6, -1))
t(-2, 6, -1, 2147483647, (2147483645, 6, -1))
t(-2, 6, -1, 9223372036854775808, (9223372036854775806, 6, -1))
t(-2, 6, 1, 0, (0, 0, 1))
t(-2, 6, 1, 1, (0, 1, 1))
t(-2, 6, 1, 5, (3, 5, 1))
t(-2, 6, 1, 10, (8, 6, 1))
t(-2, 6, 1, 100, (98, 6, 1))
t(-2, 6, 1, 2147483647, (2147483645, 6, 1))
t(-2, 6, 1, 9223372036854775808, (9223372036854775806, 6, 1))
t(-2, 6, 5, 0, (0, 0, 5))
t(-2, 6, 5, 1, (0, 1, 5))
t(-2, 6, 5, 5, (3, 5, 5))
t(-2, 6, 5, 10, (8, 6, 5))
t(-2, 6, 5, 100, (98, 6, 5))
t(-2, 6, 5, 2147483647, (2147483645, 6, 5))
t(-2, 6, 5, 9223372036854775808, (9223372036854775806, 6, 5))
t(-2, 6, 20, 0, (0, 0, 20))
t(-2, 6, 20, 1, (0, 1, 20))
t(-2, 6, 20, 5, (3, 5, 20))
t(-2, 6, 20, 10, (8, 6, 20))
t(-2, 6, 20, 100, (98, 6, 20))
t(-2, 6, 20, 2147483647, (2147483645, 6, 20))
t(-2, 6, 20, 9223372036854775808, (9223372036854775806, 6, 20))
t(-2, 6, 2147483647, 0, (0, 0, 2147483647))
t(-2, 6, 2147483647, 1, (0, 1, 2147483647))
t(-2, 6, 2147483647, 5, (3, 5, 2147483647))
t(-2, 6, 2147483647, 10, (8, 6, 2147483647))
t(-2, 6, 2147483647, 100, (98, 6, 2147483647))
t(-2, 6, 2147483647, 2147483647, (2147483645, 6, 2147483647))
t(-2, 6, 2147483647, 9223372036854775808, (9223372036854775806, 6, 2147483647))
t(-2, 6, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-2, 6, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(-2, 6, 9223372036854775808, 5, (3, 5, 9223372036854775808))
t(-2, 6, 9223372036854775808, 10, (8, 6, 9223372036854775808))
t(-2, 6, 9223372036854775808, 100, (98, 6, 9223372036854775808))
t(-2, 6, 9223372036854775808, 2147483647, (2147483645, 6, 9223372036854775808))
t(-2, 6, 9223372036854775808, 9223372036854775808, (9223372036854775806, 6, 9223372036854775808))
t(-2, 10, None, 0, (0, 0, 1))
t(-2, 10, None, 1, (0, 1, 1))
t(-2, 10, None, 5, (3, 5, 1))
t(-2, 10, None, 10, (8, 10, 1))
t(-2, 10, None, 100, (98, 10, 1))
t(-2, 10, None, 2147483647, (2147483645, 10, 1))
t(-2, 10, None, 9223372036854775808, (9223372036854775806, 10, 1))
t(-2, 10, -5, 0, (-1, -1, -5))
t(-2, 10, -5, 1, (-1, 0, -5))
t(-2, 10, -5, 5, (3, 4, -5))
t(-2, 10, -5, 10, (8, 9, -5))
t(-2, 10, -5, 100, (98, 10, -5))
t(-2, 10, -5, 2147483647, (2147483645, 10, -5))
t(-2, 10, -5, 9223372036854775808, (9223372036854775806, 10, -5))
t(-2, 10, -3, 0, (-1, -1, -3))
t(-2, 10, -3, 1, (-1, 0, -3))
t(-2, 10, -3, 5, (3, 4, -3))
t(-2, 10, -3, 10, (8, 9, -3))
t(-2, 10, -3, 100, (98, 10, -3))
t(-2, 10, -3, 2147483647, (2147483645, 10, -3))
t(-2, 10, -3, 9223372036854775808, (9223372036854775806, 10, -3))
t(-2, 10, -1, 0, (-1, -1, -1))
t(-2, 10, -1, 1, (-1, 0, -1))
t(-2, 10, -1, 5, (3, 4, -1))
t(-2, 10, -1, 10, (8, 9, -1))
t(-2, 10, -1, 100, (98, 10, -1))
t(-2, 10, -1, 2147483647, (2147483645, 10, -1))
t(-2, 10, -1, 9223372036854775808, (9223372036854775806, 10, -1))
t(-2, 10, 1, 0, (0, 0, 1))
t(-2, 10, 1, 1, (0, 1, 1))
t(-2, 10, 1, 5, (3, 5, 1))
t(-2, 10, 1, 10, (8, 10, 1))
t(-2, 10, 1, 100, (98, 10, 1))
t(-2, 10, 1, 2147483647, (2147483645, 10, 1))
t(-2, 10, 1, 9223372036854775808, (9223372036854775806, 10, 1))
t(-2, 10, 5, 0, (0, 0, 5))
t(-2, 10, 5, 1, (0, 1, 5))
t(-2, 10, 5, 5, (3, 5, 5))
t(-2, 10, 5, 10, (8, 10, 5))
t(-2, 10, 5, 100, (98, 10, 5))
t(-2, 10, 5, 2147483647, (2147483645, 10, 5))
t(-2, 10, 5, 9223372036854775808, (9223372036854775806, 10, 5))
t(-2, 10, 20, 0, (0, 0, 20))
t(-2, 10, 20, 1, (0, 1, 20))
t(-2, 10, 20, 5, (3, 5, 20))
t(-2, 10, 20, 10, (8, 10, 20))
t(-2, 10, 20, 100, (98, 10, 20))
t(-2, 10, 20, 2147483647, (2147483645, 10, 20))
t(-2, 10, 20, 9223372036854775808, (9223372036854775806, 10, 20))
t(-2, 10, 2147483647, 0, (0, 0, 2147483647))
t(-2, 10, 2147483647, 1, (0, 1, 2147483647))
t(-2, 10, 2147483647, 5, (3, 5, 2147483647))
t(-2, 10, 2147483647, 10, (8, 10, 2147483647))
t(-2, 10, 2147483647, 100, (98, 10, 2147483647))
t(-2, 10, 2147483647, 2147483647, (2147483645, 10, 2147483647))
t(-2, 10, 2147483647, 9223372036854775808, (9223372036854775806, 10, 2147483647))
t(-2, 10, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-2, 10, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(-2, 10, 9223372036854775808, 5, (3, 5, 9223372036854775808))
t(-2, 10, 9223372036854775808, 10, (8, 10, 9223372036854775808))
t(-2, 10, 9223372036854775808, 100, (98, 10, 9223372036854775808))
t(-2, 10, 9223372036854775808, 2147483647, (2147483645, 10, 9223372036854775808))
t(-2, 10, 9223372036854775808, 9223372036854775808, (9223372036854775806, 10, 9223372036854775808))
t(-2, 2147483647, None, 0, (0, 0, 1))
t(-2, 2147483647, None, 1, (0, 1, 1))
t(-2, 2147483647, None, 5, (3, 5, 1))
t(-2, 2147483647, None, 10, (8, 10, 1))
t(-2, 2147483647, None, 100, (98, 100, 1))
t(-2, 2147483647, None, 2147483647, (2147483645, 2147483647, 1))
t(-2, 2147483647, None, 9223372036854775808, (9223372036854775806, 2147483647, 1))
t(-2, 2147483647, -5, 0, (-1, -1, -5))
t(-2, 2147483647, -5, 1, (-1, 0, -5))
t(-2, 2147483647, -5, 5, (3, 4, -5))
t(-2, 2147483647, -5, 10, (8, 9, -5))
t(-2, 2147483647, -5, 100, (98, 99, -5))
t(-2, 2147483647, -5, 2147483647, (2147483645, 2147483646, -5))
t(-2, 2147483647, -5, 9223372036854775808, (9223372036854775806, 2147483647, -5))
t(-2, 2147483647, -3, 0, (-1, -1, -3))
t(-2, 2147483647, -3, 1, (-1, 0, -3))
t(-2, 2147483647, -3, 5, (3, 4, -3))
t(-2, 2147483647, -3, 10, (8, 9, -3))
t(-2, 2147483647, -3, 100, (98, 99, -3))
t(-2, 2147483647, -3, 2147483647, (2147483645, 2147483646, -3))
t(-2, 2147483647, -3, 9223372036854775808, (9223372036854775806, 2147483647, -3))
t(-2, 2147483647, -1, 0, (-1, -1, -1))
t(-2, 2147483647, -1, 1, (-1, 0, -1))
t(-2, 2147483647, -1, 5, (3, 4, -1))
t(-2, 2147483647, -1, 10, (8, 9, -1))
t(-2, 2147483647, -1, 100, (98, 99, -1))
t(-2, 2147483647, -1, 2147483647, (2147483645, 2147483646, -1))
t(-2, 2147483647, -1, 9223372036854775808, (9223372036854775806, 2147483647, -1))
t(-2, 2147483647, 1, 0, (0, 0, 1))
t(-2, 2147483647, 1, 1, (0, 1, 1))
t(-2, 2147483647, 1, 5, (3, 5, 1))
t(-2, 2147483647, 1, 10, (8, 10, 1))
t(-2, 2147483647, 1, 100, (98, 100, 1))
t(-2, 2147483647, 1, 2147483647, (2147483645, 2147483647, 1))
t(-2, 2147483647, 1, 9223372036854775808, (9223372036854775806, 2147483647, 1))
t(-2, 2147483647, 5, 0, (0, 0, 5))
t(-2, 2147483647, 5, 1, (0, 1, 5))
t(-2, 2147483647, 5, 5, (3, 5, 5))
t(-2, 2147483647, 5, 10, (8, 10, 5))
t(-2, 2147483647, 5, 100, (98, 100, 5))
t(-2, 2147483647, 5, 2147483647, (2147483645, 2147483647, 5))
t(-2, 2147483647, 5, 9223372036854775808, (9223372036854775806, 2147483647, 5))
t(-2, 2147483647, 20, 0, (0, 0, 20))
t(-2, 2147483647, 20, 1, (0, 1, 20))
t(-2, 2147483647, 20, 5, (3, 5, 20))
t(-2, 2147483647, 20, 10, (8, 10, 20))
t(-2, 2147483647, 20, 100, (98, 100, 20))
t(-2, 2147483647, 20, 2147483647, (2147483645, 2147483647, 20))
t(-2, 2147483647, 20, 9223372036854775808, (9223372036854775806, 2147483647, 20))
t(-2, 2147483647, 2147483647, 0, (0, 0, 2147483647))
t(-2, 2147483647, 2147483647, 1, (0, 1, 2147483647))
t(-2, 2147483647, 2147483647, 5, (3, 5, 2147483647))
t(-2, 2147483647, 2147483647, 10, (8, 10, 2147483647))
t(-2, 2147483647, 2147483647, 100, (98, 100, 2147483647))
t(-2, 2147483647, 2147483647, 2147483647, (2147483645, 2147483647, 2147483647))
t(-2, 2147483647, 2147483647, 9223372036854775808, (9223372036854775806, 2147483647, 2147483647))
t(-2, 2147483647, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-2, 2147483647, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(-2, 2147483647, 9223372036854775808, 5, (3, 5, 9223372036854775808))
t(-2, 2147483647, 9223372036854775808, 10, (8, 10, 9223372036854775808))
t(-2, 2147483647, 9223372036854775808, 100, (98, 100, 9223372036854775808))
t(-2, 2147483647, 9223372036854775808, 2147483647, (2147483645, 2147483647, 9223372036854775808))
t(-2, 2147483647, 9223372036854775808, 9223372036854775808, (9223372036854775806, 2147483647, 9223372036854775808))
t(-2, 9223372036854775808, None, 0, (0, 0, 1))
t(-2, 9223372036854775808, None, 1, (0, 1, 1))
t(-2, 9223372036854775808, None, 5, (3, 5, 1))
t(-2, 9223372036854775808, None, 10, (8, 10, 1))
t(-2, 9223372036854775808, None, 100, (98, 100, 1))
t(-2, 9223372036854775808, None, 2147483647, (2147483645, 2147483647, 1))
t(-2, 9223372036854775808, None, 9223372036854775808, (9223372036854775806, 9223372036854775808, 1))
t(-2, 9223372036854775808, -5, 0, (-1, -1, -5))
t(-2, 9223372036854775808, -5, 1, (-1, 0, -5))
t(-2, 9223372036854775808, -5, 5, (3, 4, -5))
t(-2, 9223372036854775808, -5, 10, (8, 9, -5))
t(-2, 9223372036854775808, -5, 100, (98, 99, -5))
t(-2, 9223372036854775808, -5, 2147483647, (2147483645, 2147483646, -5))
t(-2, 9223372036854775808, -5, 9223372036854775808, (9223372036854775806, 9223372036854775807, -5))
t(-2, 9223372036854775808, -3, 0, (-1, -1, -3))
t(-2, 9223372036854775808, -3, 1, (-1, 0, -3))
t(-2, 9223372036854775808, -3, 5, (3, 4, -3))
t(-2, 9223372036854775808, -3, 10, (8, 9, -3))
t(-2, 9223372036854775808, -3, 100, (98, 99, -3))
t(-2, 9223372036854775808, -3, 2147483647, (2147483645, 2147483646, -3))
t(-2, 9223372036854775808, -3, 9223372036854775808, (9223372036854775806, 9223372036854775807, -3))
t(-2, 9223372036854775808, -1, 0, (-1, -1, -1))
t(-2, 9223372036854775808, -1, 1, (-1, 0, -1))
t(-2, 9223372036854775808, -1, 5, (3, 4, -1))
t(-2, 9223372036854775808, -1, 10, (8, 9, -1))
t(-2, 9223372036854775808, -1, 100, (98, 99, -1))
t(-2, 9223372036854775808, -1, 2147483647, (2147483645, 2147483646, -1))
t(-2, 9223372036854775808, -1, 9223372036854775808, (9223372036854775806, 9223372036854775807, -1))
t(-2, 9223372036854775808, 1, 0, (0, 0, 1))
t(-2, 9223372036854775808, 1, 1, (0, 1, 1))
t(-2, 9223372036854775808, 1, 5, (3, 5, 1))
t(-2, 9223372036854775808, 1, 10, (8, 10, 1))
t(-2, 9223372036854775808, 1, 100, (98, 100, 1))
t(-2, 9223372036854775808, 1, 2147483647, (2147483645, 2147483647, 1))
t(-2, 9223372036854775808, 1, 9223372036854775808, (9223372036854775806, 9223372036854775808, 1))
t(-2, 9223372036854775808, 5, 0, (0, 0, 5))
t(-2, 9223372036854775808, 5, 1, (0, 1, 5))
t(-2, 9223372036854775808, 5, 5, (3, 5, 5))
t(-2, 9223372036854775808, 5, 10, (8, 10, 5))
t(-2, 9223372036854775808, 5, 100, (98, 100, 5))
t(-2, 9223372036854775808, 5, 2147483647, (2147483645, 2147483647, 5))
t(-2, 9223372036854775808, 5, 9223372036854775808, (9223372036854775806, 9223372036854775808, 5))
t(-2, 9223372036854775808, 20, 0, (0, 0, 20))
t(-2, 9223372036854775808, 20, 1, (0, 1, 20))
t(-2, 9223372036854775808, 20, 5, (3, 5, 20))
t(-2, 9223372036854775808, 20, 10, (8, 10, 20))
t(-2, 9223372036854775808, 20, 100, (98, 100, 20))
t(-2, 9223372036854775808, 20, 2147483647, (2147483645, 2147483647, 20))
t(-2, 9223372036854775808, 20, 9223372036854775808, (9223372036854775806, 9223372036854775808, 20))
t(-2, 9223372036854775808, 2147483647, 0, (0, 0, 2147483647))
t(-2, 9223372036854775808, 2147483647, 1, (0, 1, 2147483647))
t(-2, 9223372036854775808, 2147483647, 5, (3, 5, 2147483647))
t(-2, 9223372036854775808, 2147483647, 10, (8, 10, 2147483647))
t(-2, 9223372036854775808, 2147483647, 100, (98, 100, 2147483647))
t(-2, 9223372036854775808, 2147483647, 2147483647, (2147483645, 2147483647, 2147483647))
t(-2, 9223372036854775808, 2147483647, 9223372036854775808, (9223372036854775806, 9223372036854775808, 2147483647))
t(-2, 9223372036854775808, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-2, 9223372036854775808, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(-2, 9223372036854775808, 9223372036854775808, 5, (3, 5, 9223372036854775808))
t(-2, 9223372036854775808, 9223372036854775808, 10, (8, 10, 9223372036854775808))
t(-2, 9223372036854775808, 9223372036854775808, 100, (98, 100, 9223372036854775808))
t(-2, 9223372036854775808, 9223372036854775808, 2147483647, (2147483645, 2147483647, 9223372036854775808))
t(-2, 9223372036854775808, 9223372036854775808, 9223372036854775808, (9223372036854775806, 9223372036854775808, 9223372036854775808))
t(0, None, None, 0, (0, 0, 1))
t(0, None, None, 1, (0, 1, 1))
t(0, None, None, 5, (0, 5, 1))
t(0, None, None, 10, (0, 10, 1))
t(0, None, None, 100, (0, 100, 1))
t(0, None, None, 2147483647, (0, 2147483647, 1))
t(0, None, None, 9223372036854775808, (0, 9223372036854775808, 1))
t(0, None, -5, 0, (-1, -1, -5))
t(0, None, -5, 1, (0, -1, -5))
t(0, None, -5, 5, (0, -1, -5))
t(0, None, -5, 10, (0, -1, -5))
t(0, None, -5, 100, (0, -1, -5))
t(0, None, -5, 2147483647, (0, -1, -5))
t(0, None, -5, 9223372036854775808, (0, -1, -5))
t(0, None, -3, 0, (-1, -1, -3))
t(0, None, -3, 1, (0, -1, -3))
t(0, None, -3, 5, (0, -1, -3))
t(0, None, -3, 10, (0, -1, -3))
t(0, None, -3, 100, (0, -1, -3))
t(0, None, -3, 2147483647, (0, -1, -3))
t(0, None, -3, 9223372036854775808, (0, -1, -3))
t(0, None, -1, 0, (-1, -1, -1))
t(0, None, -1, 1, (0, -1, -1))
t(0, None, -1, 5, (0, -1, -1))
t(0, None, -1, 10, (0, -1, -1))
t(0, None, -1, 100, (0, -1, -1))
t(0, None, -1, 2147483647, (0, -1, -1))
t(0, None, -1, 9223372036854775808, (0, -1, -1))
t(0, None, 1, 0, (0, 0, 1))
t(0, None, 1, 1, (0, 1, 1))
t(0, None, 1, 5, (0, 5, 1))
t(0, None, 1, 10, (0, 10, 1))
t(0, None, 1, 100, (0, 100, 1))
t(0, None, 1, 2147483647, (0, 2147483647, 1))
t(0, None, 1, 9223372036854775808, (0, 9223372036854775808, 1))
t(0, None, 5, 0, (0, 0, 5))
t(0, None, 5, 1, (0, 1, 5))
t(0, None, 5, 5, (0, 5, 5))
t(0, None, 5, 10, (0, 10, 5))
t(0, None, 5, 100, (0, 100, 5))
t(0, None, 5, 2147483647, (0, 2147483647, 5))
t(0, None, 5, 9223372036854775808, (0, 9223372036854775808, 5))
t(0, None, 20, 0, (0, 0, 20))
t(0, None, 20, 1, (0, 1, 20))
t(0, None, 20, 5, (0, 5, 20))
t(0, None, 20, 10, (0, 10, 20))
t(0, None, 20, 100, (0, 100, 20))
t(0, None, 20, 2147483647, (0, 2147483647, 20))
t(0, None, 20, 9223372036854775808, (0, 9223372036854775808, 20))
t(0, None, 2147483647, 0, (0, 0, 2147483647))
t(0, None, 2147483647, 1, (0, 1, 2147483647))
t(0, None, 2147483647, 5, (0, 5, 2147483647))
t(0, None, 2147483647, 10, (0, 10, 2147483647))
t(0, None, 2147483647, 100, (0, 100, 2147483647))
t(0, None, 2147483647, 2147483647, (0, 2147483647, 2147483647))
t(0, None, 2147483647, 9223372036854775808, (0, 9223372036854775808, 2147483647))
t(0, None, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(0, None, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(0, None, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(0, None, 9223372036854775808, 10, (0, 10, 9223372036854775808))
t(0, None, 9223372036854775808, 100, (0, 100, 9223372036854775808))
t(0, None, 9223372036854775808, 2147483647, (0, 2147483647, 9223372036854775808))
t(0, None, 9223372036854775808, 9223372036854775808, (0, 9223372036854775808, 9223372036854775808))
t(0, -7, None, 0, (0, 0, 1))
t(0, -7, None, 1, (0, 0, 1))
t(0, -7, None, 5, (0, 0, 1))
t(0, -7, None, 10, (0, 3, 1))
t(0, -7, None, 100, (0, 93, 1))
t(0, -7, None, 2147483647, (0, 2147483640, 1))
t(0, -7, None, 9223372036854775808, (0, 9223372036854775801, 1))
t(0, -7, -5, 0, (-1, -1, -5))
t(0, -7, -5, 1, (0, -1, -5))
t(0, -7, -5, 5, (0, -1, -5))
t(0, -7, -5, 10, (0, 3, -5))
t(0, -7, -5, 100, (0, 93, -5))
t(0, -7, -5, 2147483647, (0, 2147483640, -5))
t(0, -7, -5, 9223372036854775808, (0, 9223372036854775801, -5))
t(0, -7, -3, 0, (-1, -1, -3))
t(0, -7, -3, 1, (0, -1, -3))
t(0, -7, -3, 5, (0, -1, -3))
t(0, -7, -3, 10, (0, 3, -3))
t(0, -7, -3, 100, (0, 93, -3))
t(0, -7, -3, 2147483647, (0, 2147483640, -3))
t(0, -7, -3, 9223372036854775808, (0, 9223372036854775801, -3))
t(0, -7, -1, 0, (-1, -1, -1))
t(0, -7, -1, 1, (0, -1, -1))
t(0, -7, -1, 5, (0, -1, -1))
t(0, -7, -1, 10, (0, 3, -1))
t(0, -7, -1, 100, (0, 93, -1))
t(0, -7, -1, 2147483647, (0, 2147483640, -1))
t(0, -7, -1, 9223372036854775808, (0, 9223372036854775801, -1))
t(0, -7, 1, 0, (0, 0, 1))
t(0, -7, 1, 1, (0, 0, 1))
t(0, -7, 1, 5, (0, 0, 1))
t(0, -7, 1, 10, (0, 3, 1))
t(0, -7, 1, 100, (0, 93, 1))
t(0, -7, 1, 2147483647, (0, 2147483640, 1))
t(0, -7, 1, 9223372036854775808, (0, 9223372036854775801, 1))
t(0, -7, 5, 0, (0, 0, 5))
t(0, -7, 5, 1, (0, 0, 5))
t(0, -7, 5, 5, (0, 0, 5))
t(0, -7, 5, 10, (0, 3, 5))
t(0, -7, 5, 100, (0, 93, 5))
t(0, -7, 5, 2147483647, (0, 2147483640, 5))
t(0, -7, 5, 9223372036854775808, (0, 9223372036854775801, 5))
t(0, -7, 20, 0, (0, 0, 20))
t(0, -7, 20, 1, (0, 0, 20))
t(0, -7, 20, 5, (0, 0, 20))
t(0, -7, 20, 10, (0, 3, 20))
t(0, -7, 20, 100, (0, 93, 20))
t(0, -7, 20, 2147483647, (0, 2147483640, 20))
t(0, -7, 20, 9223372036854775808, (0, 9223372036854775801, 20))
t(0, -7, 2147483647, 0, (0, 0, 2147483647))
t(0, -7, 2147483647, 1, (0, 0, 2147483647))
t(0, -7, 2147483647, 5, (0, 0, 2147483647))
t(0, -7, 2147483647, 10, (0, 3, 2147483647))
t(0, -7, 2147483647, 100, (0, 93, 2147483647))
t(0, -7, 2147483647, 2147483647, (0, 2147483640, 2147483647))
t(0, -7, 2147483647, 9223372036854775808, (0, 9223372036854775801, 2147483647))
t(0, -7, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(0, -7, 9223372036854775808, 1, (0, 0, 9223372036854775808))
t(0, -7, 9223372036854775808, 5, (0, 0, 9223372036854775808))
t(0, -7, 9223372036854775808, 10, (0, 3, 9223372036854775808))
t(0, -7, 9223372036854775808, 100, (0, 93, 9223372036854775808))
t(0, -7, 9223372036854775808, 2147483647, (0, 2147483640, 9223372036854775808))
t(0, -7, 9223372036854775808, 9223372036854775808, (0, 9223372036854775801, 9223372036854775808))
t(0, -2, None, 0, (0, 0, 1))
t(0, -2, None, 1, (0, 0, 1))
t(0, -2, None, 5, (0, 3, 1))
t(0, -2, None, 10, (0, 8, 1))
t(0, -2, None, 100, (0, 98, 1))
t(0, -2, None, 2147483647, (0, 2147483645, 1))
t(0, -2, None, 9223372036854775808, (0, 9223372036854775806, 1))
t(0, -2, -5, 0, (-1, -1, -5))
t(0, -2, -5, 1, (0, -1, -5))
t(0, -2, -5, 5, (0, 3, -5))
t(0, -2, -5, 10, (0, 8, -5))
t(0, -2, -5, 100, (0, 98, -5))
t(0, -2, -5, 2147483647, (0, 2147483645, -5))
t(0, -2, -5, 9223372036854775808, (0, 9223372036854775806, -5))
t(0, -2, -3, 0, (-1, -1, -3))
t(0, -2, -3, 1, (0, -1, -3))
t(0, -2, -3, 5, (0, 3, -3))
t(0, -2, -3, 10, (0, 8, -3))
t(0, -2, -3, 100, (0, 98, -3))
t(0, -2, -3, 2147483647, (0, 2147483645, -3))
t(0, -2, -3, 9223372036854775808, (0, 9223372036854775806, -3))
t(0, -2, -1, 0, (-1, -1, -1))
t(0, -2, -1, 1, (0, -1, -1))
t(0, -2, -1, 5, (0, 3, -1))
t(0, -2, -1, 10, (0, 8, -1))
t(0, -2, -1, 100, (0, 98, -1))
t(0, -2, -1, 2147483647, (0, 2147483645, -1))
t(0, -2, -1, 9223372036854775808, (0, 9223372036854775806, -1))
t(0, -2, 1, 0, (0, 0, 1))
t(0, -2, 1, 1, (0, 0, 1))
t(0, -2, 1, 5, (0, 3, 1))
t(0, -2, 1, 10, (0, 8, 1))
t(0, -2, 1, 100, (0, 98, 1))
t(0, -2, 1, 2147483647, (0, 2147483645, 1))
t(0, -2, 1, 9223372036854775808, (0, 9223372036854775806, 1))
t(0, -2, 5, 0, (0, 0, 5))
t(0, -2, 5, 1, (0, 0, 5))
t(0, -2, 5, 5, (0, 3, 5))
t(0, -2, 5, 10, (0, 8, 5))
t(0, -2, 5, 100, (0, 98, 5))
t(0, -2, 5, 2147483647, (0, 2147483645, 5))
t(0, -2, 5, 9223372036854775808, (0, 9223372036854775806, 5))
t(0, -2, 20, 0, (0, 0, 20))
t(0, -2, 20, 1, (0, 0, 20))
t(0, -2, 20, 5, (0, 3, 20))
t(0, -2, 20, 10, (0, 8, 20))
t(0, -2, 20, 100, (0, 98, 20))
t(0, -2, 20, 2147483647, (0, 2147483645, 20))
t(0, -2, 20, 9223372036854775808, (0, 9223372036854775806, 20))
t(0, -2, 2147483647, 0, (0, 0, 2147483647))
t(0, -2, 2147483647, 1, (0, 0, 2147483647))
t(0, -2, 2147483647, 5, (0, 3, 2147483647))
t(0, -2, 2147483647, 10, (0, 8, 2147483647))
t(0, -2, 2147483647, 100, (0, 98, 2147483647))
t(0, -2, 2147483647, 2147483647, (0, 2147483645, 2147483647))
t(0, -2, 2147483647, 9223372036854775808, (0, 9223372036854775806, 2147483647))
t(0, -2, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(0, -2, 9223372036854775808, 1, (0, 0, 9223372036854775808))
t(0, -2, 9223372036854775808, 5, (0, 3, 9223372036854775808))
t(0, -2, 9223372036854775808, 10, (0, 8, 9223372036854775808))
t(0, -2, 9223372036854775808, 100, (0, 98, 9223372036854775808))
t(0, -2, 9223372036854775808, 2147483647, (0, 2147483645, 9223372036854775808))
t(0, -2, 9223372036854775808, 9223372036854775808, (0, 9223372036854775806, 9223372036854775808))
t(0, 0, None, 0, (0, 0, 1))
t(0, 0, None, 1, (0, 0, 1))
t(0, 0, None, 5, (0, 0, 1))
t(0, 0, None, 10, (0, 0, 1))
t(0, 0, None, 100, (0, 0, 1))
t(0, 0, None, 2147483647, (0, 0, 1))
t(0, 0, None, 9223372036854775808, (0, 0, 1))
t(0, 0, -5, 0, (-1, -1, -5))
t(0, 0, -5, 1, (0, 0, -5))
t(0, 0, -5, 5, (0, 0, -5))
t(0, 0, -5, 10, (0, 0, -5))
t(0, 0, -5, 100, (0, 0, -5))
t(0, 0, -5, 2147483647, (0, 0, -5))
t(0, 0, -5, 9223372036854775808, (0, 0, -5))
t(0, 0, -3, 0, (-1, -1, -3))
t(0, 0, -3, 1, (0, 0, -3))
t(0, 0, -3, 5, (0, 0, -3))
t(0, 0, -3, 10, (0, 0, -3))
t(0, 0, -3, 100, (0, 0, -3))
t(0, 0, -3, 2147483647, (0, 0, -3))
t(0, 0, -3, 9223372036854775808, (0, 0, -3))
t(0, 0, -1, 0, (-1, -1, -1))
t(0, 0, -1, 1, (0, 0, -1))
t(0, 0, -1, 5, (0, 0, -1))
t(0, 0, -1, 10, (0, 0, -1))
t(0, 0, -1, 100, (0, 0, -1))
t(0, 0, -1, 2147483647, (0, 0, -1))
t(0, 0, -1, 9223372036854775808, (0, 0, -1))
t(0, 0, 1, 0, (0, 0, 1))
t(0, 0, 1, 1, (0, 0, 1))
t(0, 0, 1, 5, (0, 0, 1))
t(0, 0, 1, 10, (0, 0, 1))
t(0, 0, 1, 100, (0, 0, 1))
t(0, 0, 1, 2147483647, (0, 0, 1))
t(0, 0, 1, 9223372036854775808, (0, 0, 1))
t(0, 0, 5, 0, (0, 0, 5))
t(0, 0, 5, 1, (0, 0, 5))
t(0, 0, 5, 5, (0, 0, 5))
t(0, 0, 5, 10, (0, 0, 5))
t(0, 0, 5, 100, (0, 0, 5))
t(0, 0, 5, 2147483647, (0, 0, 5))
t(0, 0, 5, 9223372036854775808, (0, 0, 5))
t(0, 0, 20, 0, (0, 0, 20))
t(0, 0, 20, 1, (0, 0, 20))
t(0, 0, 20, 5, (0, 0, 20))
t(0, 0, 20, 10, (0, 0, 20))
t(0, 0, 20, 100, (0, 0, 20))
t(0, 0, 20, 2147483647, (0, 0, 20))
t(0, 0, 20, 9223372036854775808, (0, 0, 20))
t(0, 0, 2147483647, 0, (0, 0, 2147483647))
t(0, 0, 2147483647, 1, (0, 0, 2147483647))
t(0, 0, 2147483647, 5, (0, 0, 2147483647))
t(0, 0, 2147483647, 10, (0, 0, 2147483647))
t(0, 0, 2147483647, 100, (0, 0, 2147483647))
t(0, 0, 2147483647, 2147483647, (0, 0, 2147483647))
t(0, 0, 2147483647, 9223372036854775808, (0, 0, 2147483647))
t(0, 0, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(0, 0, 9223372036854775808, 1, (0, 0, 9223372036854775808))
t(0, 0, 9223372036854775808, 5, (0, 0, 9223372036854775808))
t(0, 0, 9223372036854775808, 10, (0, 0, 9223372036854775808))
t(0, 0, 9223372036854775808, 100, (0, 0, 9223372036854775808))
t(0, 0, 9223372036854775808, 2147483647, (0, 0, 9223372036854775808))
t(0, 0, 9223372036854775808, 9223372036854775808, (0, 0, 9223372036854775808))
t(0, 1, None, 0, (0, 0, 1))
t(0, 1, None, 1, (0, 1, 1))
t(0, 1, None, 5, (0, 1, 1))
t(0, 1, None, 10, (0, 1, 1))
t(0, 1, None, 100, (0, 1, 1))
t(0, 1, None, 2147483647, (0, 1, 1))
t(0, 1, None, 9223372036854775808, (0, 1, 1))
t(0, 1, -5, 0, (-1, -1, -5))
t(0, 1, -5, 1, (0, 0, -5))
t(0, 1, -5, 5, (0, 1, -5))
t(0, 1, -5, 10, (0, 1, -5))
t(0, 1, -5, 100, (0, 1, -5))
t(0, 1, -5, 2147483647, (0, 1, -5))
t(0, 1, -5, 9223372036854775808, (0, 1, -5))
t(0, 1, -3, 0, (-1, -1, -3))
t(0, 1, -3, 1, (0, 0, -3))
t(0, 1, -3, 5, (0, 1, -3))
t(0, 1, -3, 10, (0, 1, -3))
t(0, 1, -3, 100, (0, 1, -3))
t(0, 1, -3, 2147483647, (0, 1, -3))
t(0, 1, -3, 9223372036854775808, (0, 1, -3))
t(0, 1, -1, 0, (-1, -1, -1))
t(0, 1, -1, 1, (0, 0, -1))
t(0, 1, -1, 5, (0, 1, -1))
t(0, 1, -1, 10, (0, 1, -1))
t(0, 1, -1, 100, (0, 1, -1))
t(0, 1, -1, 2147483647, (0, 1, -1))
t(0, 1, -1, 9223372036854775808, (0, 1, -1))
t(0, 1, 1, 0, (0, 0, 1))
t(0, 1, 1, 1, (0, 1, 1))
t(0, 1, 1, 5, (0, 1, 1))
t(0, 1, 1, 10, (0, 1, 1))
t(0, 1, 1, 100, (0, 1, 1))
t(0, 1, 1, 2147483647, (0, 1, 1))
t(0, 1, 1, 9223372036854775808, (0, 1, 1))
t(0, 1, 5, 0, (0, 0, 5))
t(0, 1, 5, 1, (0, 1, 5))
t(0, 1, 5, 5, (0, 1, 5))
t(0, 1, 5, 10, (0, 1, 5))
t(0, 1, 5, 100, (0, 1, 5))
t(0, 1, 5, 2147483647, (0, 1, 5))
t(0, 1, 5, 9223372036854775808, (0, 1, 5))
t(0, 1, 20, 0, (0, 0, 20))
t(0, 1, 20, 1, (0, 1, 20))
t(0, 1, 20, 5, (0, 1, 20))
t(0, 1, 20, 10, (0, 1, 20))
t(0, 1, 20, 100, (0, 1, 20))
t(0, 1, 20, 2147483647, (0, 1, 20))
t(0, 1, 20, 9223372036854775808, (0, 1, 20))
t(0, 1, 2147483647, 0, (0, 0, 2147483647))
t(0, 1, 2147483647, 1, (0, 1, 2147483647))
t(0, 1, 2147483647, 5, (0, 1, 2147483647))
t(0, 1, 2147483647, 10, (0, 1, 2147483647))
t(0, 1, 2147483647, 100, (0, 1, 2147483647))
t(0, 1, 2147483647, 2147483647, (0, 1, 2147483647))
t(0, 1, 2147483647, 9223372036854775808, (0, 1, 2147483647))
t(0, 1, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(0, 1, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(0, 1, 9223372036854775808, 5, (0, 1, 9223372036854775808))
t(0, 1, 9223372036854775808, 10, (0, 1, 9223372036854775808))
t(0, 1, 9223372036854775808, 100, (0, 1, 9223372036854775808))
t(0, 1, 9223372036854775808, 2147483647, (0, 1, 9223372036854775808))
t(0, 1, 9223372036854775808, 9223372036854775808, (0, 1, 9223372036854775808))
t(0, 6, None, 0, (0, 0, 1))
t(0, 6, None, 1, (0, 1, 1))
t(0, 6, None, 5, (0, 5, 1))
t(0, 6, None, 10, (0, 6, 1))
t(0, 6, None, 100, (0, 6, 1))
t(0, 6, None, 2147483647, (0, 6, 1))
t(0, 6, None, 9223372036854775808, (0, 6, 1))
t(0, 6, -5, 0, (-1, -1, -5))
t(0, 6, -5, 1, (0, 0, -5))
t(0, 6, -5, 5, (0, 4, -5))
t(0, 6, -5, 10, (0, 6, -5))
t(0, 6, -5, 100, (0, 6, -5))
t(0, 6, -5, 2147483647, (0, 6, -5))
t(0, 6, -5, 9223372036854775808, (0, 6, -5))
t(0, 6, -3, 0, (-1, -1, -3))
t(0, 6, -3, 1, (0, 0, -3))
t(0, 6, -3, 5, (0, 4, -3))
t(0, 6, -3, 10, (0, 6, -3))
t(0, 6, -3, 100, (0, 6, -3))
t(0, 6, -3, 2147483647, (0, 6, -3))
t(0, 6, -3, 9223372036854775808, (0, 6, -3))
t(0, 6, -1, 0, (-1, -1, -1))
t(0, 6, -1, 1, (0, 0, -1))
t(0, 6, -1, 5, (0, 4, -1))
t(0, 6, -1, 10, (0, 6, -1))
t(0, 6, -1, 100, (0, 6, -1))
t(0, 6, -1, 2147483647, (0, 6, -1))
t(0, 6, -1, 9223372036854775808, (0, 6, -1))
t(0, 6, 1, 0, (0, 0, 1))
t(0, 6, 1, 1, (0, 1, 1))
t(0, 6, 1, 5, (0, 5, 1))
t(0, 6, 1, 10, (0, 6, 1))
t(0, 6, 1, 100, (0, 6, 1))
t(0, 6, 1, 2147483647, (0, 6, 1))
t(0, 6, 1, 9223372036854775808, (0, 6, 1))
t(0, 6, 5, 0, (0, 0, 5))
t(0, 6, 5, 1, (0, 1, 5))
t(0, 6, 5, 5, (0, 5, 5))
t(0, 6, 5, 10, (0, 6, 5))
t(0, 6, 5, 100, (0, 6, 5))
t(0, 6, 5, 2147483647, (0, 6, 5))
t(0, 6, 5, 9223372036854775808, (0, 6, 5))
t(0, 6, 20, 0, (0, 0, 20))
t(0, 6, 20, 1, (0, 1, 20))
t(0, 6, 20, 5, (0, 5, 20))
t(0, 6, 20, 10, (0, 6, 20))
t(0, 6, 20, 100, (0, 6, 20))
t(0, 6, 20, 2147483647, (0, 6, 20))
t(0, 6, 20, 9223372036854775808, (0, 6, 20))
t(0, 6, 2147483647, 0, (0, 0, 2147483647))
t(0, 6, 2147483647, 1, (0, 1, 2147483647))
t(0, 6, 2147483647, 5, (0, 5, 2147483647))
t(0, 6, 2147483647, 10, (0, 6, 2147483647))
t(0, 6, 2147483647, 100, (0, 6, 2147483647))
t(0, 6, 2147483647, 2147483647, (0, 6, 2147483647))
t(0, 6, 2147483647, 9223372036854775808, (0, 6, 2147483647))
t(0, 6, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(0, 6, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(0, 6, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(0, 6, 9223372036854775808, 10, (0, 6, 9223372036854775808))
t(0, 6, 9223372036854775808, 100, (0, 6, 9223372036854775808))
t(0, 6, 9223372036854775808, 2147483647, (0, 6, 9223372036854775808))
t(0, 6, 9223372036854775808, 9223372036854775808, (0, 6, 9223372036854775808))
t(0, 10, None, 0, (0, 0, 1))
t(0, 10, None, 1, (0, 1, 1))
t(0, 10, None, 5, (0, 5, 1))
t(0, 10, None, 10, (0, 10, 1))
t(0, 10, None, 100, (0, 10, 1))
t(0, 10, None, 2147483647, (0, 10, 1))
t(0, 10, None, 9223372036854775808, (0, 10, 1))
t(0, 10, -5, 0, (-1, -1, -5))
t(0, 10, -5, 1, (0, 0, -5))
t(0, 10, -5, 5, (0, 4, -5))
t(0, 10, -5, 10, (0, 9, -5))
t(0, 10, -5, 100, (0, 10, -5))
t(0, 10, -5, 2147483647, (0, 10, -5))
t(0, 10, -5, 9223372036854775808, (0, 10, -5))
t(0, 10, -3, 0, (-1, -1, -3))
t(0, 10, -3, 1, (0, 0, -3))
t(0, 10, -3, 5, (0, 4, -3))
t(0, 10, -3, 10, (0, 9, -3))
t(0, 10, -3, 100, (0, 10, -3))
t(0, 10, -3, 2147483647, (0, 10, -3))
t(0, 10, -3, 9223372036854775808, (0, 10, -3))
t(0, 10, -1, 0, (-1, -1, -1))
t(0, 10, -1, 1, (0, 0, -1))
t(0, 10, -1, 5, (0, 4, -1))
t(0, 10, -1, 10, (0, 9, -1))
t(0, 10, -1, 100, (0, 10, -1))
t(0, 10, -1, 2147483647, (0, 10, -1))
t(0, 10, -1, 9223372036854775808, (0, 10, -1))
t(0, 10, 1, 0, (0, 0, 1))
t(0, 10, 1, 1, (0, 1, 1))
t(0, 10, 1, 5, (0, 5, 1))
t(0, 10, 1, 10, (0, 10, 1))
t(0, 10, 1, 100, (0, 10, 1))
t(0, 10, 1, 2147483647, (0, 10, 1))
t(0, 10, 1, 9223372036854775808, (0, 10, 1))
t(0, 10, 5, 0, (0, 0, 5))
t(0, 10, 5, 1, (0, 1, 5))
t(0, 10, 5, 5, (0, 5, 5))
t(0, 10, 5, 10, (0, 10, 5))
t(0, 10, 5, 100, (0, 10, 5))
t(0, 10, 5, 2147483647, (0, 10, 5))
t(0, 10, 5, 9223372036854775808, (0, 10, 5))
t(0, 10, 20, 0, (0, 0, 20))
t(0, 10, 20, 1, (0, 1, 20))
t(0, 10, 20, 5, (0, 5, 20))
t(0, 10, 20, 10, (0, 10, 20))
t(0, 10, 20, 100, (0, 10, 20))
t(0, 10, 20, 2147483647, (0, 10, 20))
t(0, 10, 20, 9223372036854775808, (0, 10, 20))
t(0, 10, 2147483647, 0, (0, 0, 2147483647))
t(0, 10, 2147483647, 1, (0, 1, 2147483647))
t(0, 10, 2147483647, 5, (0, 5, 2147483647))
t(0, 10, 2147483647, 10, (0, 10, 2147483647))
t(0, 10, 2147483647, 100, (0, 10, 2147483647))
t(0, 10, 2147483647, 2147483647, (0, 10, 2147483647))
t(0, 10, 2147483647, 9223372036854775808, (0, 10, 2147483647))
t(0, 10, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(0, 10, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(0, 10, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(0, 10, 9223372036854775808, 10, (0, 10, 9223372036854775808))
t(0, 10, 9223372036854775808, 100, (0, 10, 9223372036854775808))
t(0, 10, 9223372036854775808, 2147483647, (0, 10, 9223372036854775808))
t(0, 10, 9223372036854775808, 9223372036854775808, (0, 10, 9223372036854775808))
t(0, 2147483647, None, 0, (0, 0, 1))
t(0, 2147483647, None, 1, (0, 1, 1))
t(0, 2147483647, None, 5, (0, 5, 1))
t(0, 2147483647, None, 10, (0, 10, 1))
t(0, 2147483647, None, 100, (0, 100, 1))
t(0, 2147483647, None, 2147483647, (0, 2147483647, 1))
t(0, 2147483647, None, 9223372036854775808, (0, 2147483647, 1))
t(0, 2147483647, -5, 0, (-1, -1, -5))
t(0, 2147483647, -5, 1, (0, 0, -5))
t(0, 2147483647, -5, 5, (0, 4, -5))
t(0, 2147483647, -5, 10, (0, 9, -5))
t(0, 2147483647, -5, 100, (0, 99, -5))
t(0, 2147483647, -5, 2147483647, (0, 2147483646, -5))
t(0, 2147483647, -5, 9223372036854775808, (0, 2147483647, -5))
t(0, 2147483647, -3, 0, (-1, -1, -3))
t(0, 2147483647, -3, 1, (0, 0, -3))
t(0, 2147483647, -3, 5, (0, 4, -3))
t(0, 2147483647, -3, 10, (0, 9, -3))
t(0, 2147483647, -3, 100, (0, 99, -3))
t(0, 2147483647, -3, 2147483647, (0, 2147483646, -3))
t(0, 2147483647, -3, 9223372036854775808, (0, 2147483647, -3))
t(0, 2147483647, -1, 0, (-1, -1, -1))
t(0, 2147483647, -1, 1, (0, 0, -1))
t(0, 2147483647, -1, 5, (0, 4, -1))
t(0, 2147483647, -1, 10, (0, 9, -1))
t(0, 2147483647, -1, 100, (0, 99, -1))
t(0, 2147483647, -1, 2147483647, (0, 2147483646, -1))
t(0, 2147483647, -1, 9223372036854775808, (0, 2147483647, -1))
t(0, 2147483647, 1, 0, (0, 0, 1))
t(0, 2147483647, 1, 1, (0, 1, 1))
t(0, 2147483647, 1, 5, (0, 5, 1))
t(0, 2147483647, 1, 10, (0, 10, 1))
t(0, 2147483647, 1, 100, (0, 100, 1))
t(0, 2147483647, 1, 2147483647, (0, 2147483647, 1))
t(0, 2147483647, 1, 9223372036854775808, (0, 2147483647, 1))
t(0, 2147483647, 5, 0, (0, 0, 5))
t(0, 2147483647, 5, 1, (0, 1, 5))
t(0, 2147483647, 5, 5, (0, 5, 5))
t(0, 2147483647, 5, 10, (0, 10, 5))
t(0, 2147483647, 5, 100, (0, 100, 5))
t(0, 2147483647, 5, 2147483647, (0, 2147483647, 5))
t(0, 2147483647, 5, 9223372036854775808, (0, 2147483647, 5))
t(0, 2147483647, 20, 0, (0, 0, 20))
t(0, 2147483647, 20, 1, (0, 1, 20))
t(0, 2147483647, 20, 5, (0, 5, 20))
t(0, 2147483647, 20, 10, (0, 10, 20))
t(0, 2147483647, 20, 100, (0, 100, 20))
t(0, 2147483647, 20, 2147483647, (0, 2147483647, 20))
t(0, 2147483647, 20, 9223372036854775808, (0, 2147483647, 20))
t(0, 2147483647, 2147483647, 0, (0, 0, 2147483647))
t(0, 2147483647, 2147483647, 1, (0, 1, 2147483647))
t(0, 2147483647, 2147483647, 5, (0, 5, 2147483647))
t(0, 2147483647, 2147483647, 10, (0, 10, 2147483647))
t(0, 2147483647, 2147483647, 100, (0, 100, 2147483647))
t(0, 2147483647, 2147483647, 2147483647, (0, 2147483647, 2147483647))
t(0, 2147483647, 2147483647, 9223372036854775808, (0, 2147483647, 2147483647))
t(0, 2147483647, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(0, 2147483647, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(0, 2147483647, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(0, 2147483647, 9223372036854775808, 10, (0, 10, 9223372036854775808))
t(0, 2147483647, 9223372036854775808, 100, (0, 100, 9223372036854775808))
t(0, 2147483647, 9223372036854775808, 2147483647, (0, 2147483647, 9223372036854775808))
t(0, 2147483647, 9223372036854775808, 9223372036854775808, (0, 2147483647, 9223372036854775808))
t(0, 9223372036854775808, None, 0, (0, 0, 1))
t(0, 9223372036854775808, None, 1, (0, 1, 1))
t(0, 9223372036854775808, None, 5, (0, 5, 1))
t(0, 9223372036854775808, None, 10, (0, 10, 1))
t(0, 9223372036854775808, None, 100, (0, 100, 1))
t(0, 9223372036854775808, None, 2147483647, (0, 2147483647, 1))
t(0, 9223372036854775808, None, 9223372036854775808, (0, 9223372036854775808, 1))
t(0, 9223372036854775808, -5, 0, (-1, -1, -5))
t(0, 9223372036854775808, -5, 1, (0, 0, -5))
t(0, 9223372036854775808, -5, 5, (0, 4, -5))
t(0, 9223372036854775808, -5, 10, (0, 9, -5))
t(0, 9223372036854775808, -5, 100, (0, 99, -5))
t(0, 9223372036854775808, -5, 2147483647, (0, 2147483646, -5))
t(0, 9223372036854775808, -5, 9223372036854775808, (0, 9223372036854775807, -5))
t(0, 9223372036854775808, -3, 0, (-1, -1, -3))
t(0, 9223372036854775808, -3, 1, (0, 0, -3))
t(0, 9223372036854775808, -3, 5, (0, 4, -3))
t(0, 9223372036854775808, -3, 10, (0, 9, -3))
t(0, 9223372036854775808, -3, 100, (0, 99, -3))
t(0, 9223372036854775808, -3, 2147483647, (0, 2147483646, -3))
t(0, 9223372036854775808, -3, 9223372036854775808, (0, 9223372036854775807, -3))
t(0, 9223372036854775808, -1, 0, (-1, -1, -1))
t(0, 9223372036854775808, -1, 1, (0, 0, -1))
t(0, 9223372036854775808, -1, 5, (0, 4, -1))
t(0, 9223372036854775808, -1, 10, (0, 9, -1))
t(0, 9223372036854775808, -1, 100, (0, 99, -1))
t(0, 9223372036854775808, -1, 2147483647, (0, 2147483646, -1))
t(0, 9223372036854775808, -1, 9223372036854775808, (0, 9223372036854775807, -1))
t(0, 9223372036854775808, 1, 0, (0, 0, 1))
t(0, 9223372036854775808, 1, 1, (0, 1, 1))
t(0, 9223372036854775808, 1, 5, (0, 5, 1))
t(0, 9223372036854775808, 1, 10, (0, 10, 1))
t(0, 9223372036854775808, 1, 100, (0, 100, 1))
t(0, 9223372036854775808, 1, 2147483647, (0, 2147483647, 1))
t(0, 9223372036854775808, 1, 9223372036854775808, (0, 9223372036854775808, 1))
t(0, 9223372036854775808, 5, 0, (0, 0, 5))
t(0, 9223372036854775808, 5, 1, (0, 1, 5))
t(0, 9223372036854775808, 5, 5, (0, 5, 5))
t(0, 9223372036854775808, 5, 10, (0, 10, 5))
t(0, 9223372036854775808, 5, 100, (0, 100, 5))
t(0, 9223372036854775808, 5, 2147483647, (0, 2147483647, 5))
t(0, 9223372036854775808, 5, 9223372036854775808, (0, 9223372036854775808, 5))
t(0, 9223372036854775808, 20, 0, (0, 0, 20))
t(0, 9223372036854775808, 20, 1, (0, 1, 20))
t(0, 9223372036854775808, 20, 5, (0, 5, 20))
t(0, 9223372036854775808, 20, 10, (0, 10, 20))
t(0, 9223372036854775808, 20, 100, (0, 100, 20))
t(0, 9223372036854775808, 20, 2147483647, (0, 2147483647, 20))
t(0, 9223372036854775808, 20, 9223372036854775808, (0, 9223372036854775808, 20))
t(0, 9223372036854775808, 2147483647, 0, (0, 0, 2147483647))
t(0, 9223372036854775808, 2147483647, 1, (0, 1, 2147483647))
t(0, 9223372036854775808, 2147483647, 5, (0, 5, 2147483647))
t(0, 9223372036854775808, 2147483647, 10, (0, 10, 2147483647))
t(0, 9223372036854775808, 2147483647, 100, (0, 100, 2147483647))
t(0, 9223372036854775808, 2147483647, 2147483647, (0, 2147483647, 2147483647))
t(0, 9223372036854775808, 2147483647, 9223372036854775808, (0, 9223372036854775808, 2147483647))
t(0, 9223372036854775808, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(0, 9223372036854775808, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(0, 9223372036854775808, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(0, 9223372036854775808, 9223372036854775808, 10, (0, 10, 9223372036854775808))
t(0, 9223372036854775808, 9223372036854775808, 100, (0, 100, 9223372036854775808))
t(0, 9223372036854775808, 9223372036854775808, 2147483647, (0, 2147483647, 9223372036854775808))
t(0, 9223372036854775808, 9223372036854775808, 9223372036854775808, (0, 9223372036854775808, 9223372036854775808))
t(1, None, None, 0, (0, 0, 1))
t(1, None, None, 1, (1, 1, 1))
t(1, None, None, 5, (1, 5, 1))
t(1, None, None, 10, (1, 10, 1))
t(1, None, None, 100, (1, 100, 1))
t(1, None, None, 2147483647, (1, 2147483647, 1))
t(1, None, None, 9223372036854775808, (1, 9223372036854775808, 1))
t(1, None, -5, 0, (-1, -1, -5))
t(1, None, -5, 1, (0, -1, -5))
t(1, None, -5, 5, (1, -1, -5))
t(1, None, -5, 10, (1, -1, -5))
t(1, None, -5, 100, (1, -1, -5))
t(1, None, -5, 2147483647, (1, -1, -5))
t(1, None, -5, 9223372036854775808, (1, -1, -5))
t(1, None, -3, 0, (-1, -1, -3))
t(1, None, -3, 1, (0, -1, -3))
t(1, None, -3, 5, (1, -1, -3))
t(1, None, -3, 10, (1, -1, -3))
t(1, None, -3, 100, (1, -1, -3))
t(1, None, -3, 2147483647, (1, -1, -3))
t(1, None, -3, 9223372036854775808, (1, -1, -3))
t(1, None, -1, 0, (-1, -1, -1))
t(1, None, -1, 1, (0, -1, -1))
t(1, None, -1, 5, (1, -1, -1))
t(1, None, -1, 10, (1, -1, -1))
t(1, None, -1, 100, (1, -1, -1))
t(1, None, -1, 2147483647, (1, -1, -1))
t(1, None, -1, 9223372036854775808, (1, -1, -1))
t(1, None, 1, 0, (0, 0, 1))
t(1, None, 1, 1, (1, 1, 1))
t(1, None, 1, 5, (1, 5, 1))
t(1, None, 1, 10, (1, 10, 1))
t(1, None, 1, 100, (1, 100, 1))
t(1, None, 1, 2147483647, (1, 2147483647, 1))
t(1, None, 1, 9223372036854775808, (1, 9223372036854775808, 1))
t(1, None, 5, 0, (0, 0, 5))
t(1, None, 5, 1, (1, 1, 5))
t(1, None, 5, 5, (1, 5, 5))
t(1, None, 5, 10, (1, 10, 5))
t(1, None, 5, 100, (1, 100, 5))
t(1, None, 5, 2147483647, (1, 2147483647, 5))
t(1, None, 5, 9223372036854775808, (1, 9223372036854775808, 5))
t(1, None, 20, 0, (0, 0, 20))
t(1, None, 20, 1, (1, 1, 20))
t(1, None, 20, 5, (1, 5, 20))
t(1, None, 20, 10, (1, 10, 20))
t(1, None, 20, 100, (1, 100, 20))
t(1, None, 20, 2147483647, (1, 2147483647, 20))
t(1, None, 20, 9223372036854775808, (1, 9223372036854775808, 20))
t(1, None, 2147483647, 0, (0, 0, 2147483647))
t(1, None, 2147483647, 1, (1, 1, 2147483647))
t(1, None, 2147483647, 5, (1, 5, 2147483647))
t(1, None, 2147483647, 10, (1, 10, 2147483647))
t(1, None, 2147483647, 100, (1, 100, 2147483647))
t(1, None, 2147483647, 2147483647, (1, 2147483647, 2147483647))
t(1, None, 2147483647, 9223372036854775808, (1, 9223372036854775808, 2147483647))
t(1, None, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(1, None, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(1, None, 9223372036854775808, 5, (1, 5, 9223372036854775808))
t(1, None, 9223372036854775808, 10, (1, 10, 9223372036854775808))
t(1, None, 9223372036854775808, 100, (1, 100, 9223372036854775808))
t(1, None, 9223372036854775808, 2147483647, (1, 2147483647, 9223372036854775808))
t(1, None, 9223372036854775808, 9223372036854775808, (1, 9223372036854775808, 9223372036854775808))
t(1, -7, None, 0, (0, 0, 1))
t(1, -7, None, 1, (1, 0, 1))
t(1, -7, None, 5, (1, 0, 1))
t(1, -7, None, 10, (1, 3, 1))
t(1, -7, None, 100, (1, 93, 1))
t(1, -7, None, 2147483647, (1, 2147483640, 1))
t(1, -7, None, 9223372036854775808, (1, 9223372036854775801, 1))
t(1, -7, -5, 0, (-1, -1, -5))
t(1, -7, -5, 1, (0, -1, -5))
t(1, -7, -5, 5, (1, -1, -5))
t(1, -7, -5, 10, (1, 3, -5))
t(1, -7, -5, 100, (1, 93, -5))
t(1, -7, -5, 2147483647, (1, 2147483640, -5))
t(1, -7, -5, 9223372036854775808, (1, 9223372036854775801, -5))
t(1, -7, -3, 0, (-1, -1, -3))
t(1, -7, -3, 1, (0, -1, -3))
t(1, -7, -3, 5, (1, -1, -3))
t(1, -7, -3, 10, (1, 3, -3))
t(1, -7, -3, 100, (1, 93, -3))
t(1, -7, -3, 2147483647, (1, 2147483640, -3))
t(1, -7, -3, 9223372036854775808, (1, 9223372036854775801, -3))
t(1, -7, -1, 0, (-1, -1, -1))
t(1, -7, -1, 1, (0, -1, -1))
t(1, -7, -1, 5, (1, -1, -1))
t(1, -7, -1, 10, (1, 3, -1))
t(1, -7, -1, 100, (1, 93, -1))
t(1, -7, -1, 2147483647, (1, 2147483640, -1))
t(1, -7, -1, 9223372036854775808, (1, 9223372036854775801, -1))
t(1, -7, 1, 0, (0, 0, 1))
t(1, -7, 1, 1, (1, 0, 1))
t(1, -7, 1, 5, (1, 0, 1))
t(1, -7, 1, 10, (1, 3, 1))
t(1, -7, 1, 100, (1, 93, 1))
t(1, -7, 1, 2147483647, (1, 2147483640, 1))
t(1, -7, 1, 9223372036854775808, (1, 9223372036854775801, 1))
t(1, -7, 5, 0, (0, 0, 5))
t(1, -7, 5, 1, (1, 0, 5))
t(1, -7, 5, 5, (1, 0, 5))
t(1, -7, 5, 10, (1, 3, 5))
t(1, -7, 5, 100, (1, 93, 5))
t(1, -7, 5, 2147483647, (1, 2147483640, 5))
t(1, -7, 5, 9223372036854775808, (1, 9223372036854775801, 5))
t(1, -7, 20, 0, (0, 0, 20))
t(1, -7, 20, 1, (1, 0, 20))
t(1, -7, 20, 5, (1, 0, 20))
t(1, -7, 20, 10, (1, 3, 20))
t(1, -7, 20, 100, (1, 93, 20))
t(1, -7, 20, 2147483647, (1, 2147483640, 20))
t(1, -7, 20, 9223372036854775808, (1, 9223372036854775801, 20))
t(1, -7, 2147483647, 0, (0, 0, 2147483647))
t(1, -7, 2147483647, 1, (1, 0, 2147483647))
t(1, -7, 2147483647, 5, (1, 0, 2147483647))
t(1, -7, 2147483647, 10, (1, 3, 2147483647))
t(1, -7, 2147483647, 100, (1, 93, 2147483647))
t(1, -7, 2147483647, 2147483647, (1, 2147483640, 2147483647))
t(1, -7, 2147483647, 9223372036854775808, (1, 9223372036854775801, 2147483647))
t(1, -7, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(1, -7, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(1, -7, 9223372036854775808, 5, (1, 0, 9223372036854775808))
t(1, -7, 9223372036854775808, 10, (1, 3, 9223372036854775808))
t(1, -7, 9223372036854775808, 100, (1, 93, 9223372036854775808))
t(1, -7, 9223372036854775808, 2147483647, (1, 2147483640, 9223372036854775808))
t(1, -7, 9223372036854775808, 9223372036854775808, (1, 9223372036854775801, 9223372036854775808))
t(1, -2, None, 0, (0, 0, 1))
t(1, -2, None, 1, (1, 0, 1))
t(1, -2, None, 5, (1, 3, 1))
t(1, -2, None, 10, (1, 8, 1))
t(1, -2, None, 100, (1, 98, 1))
t(1, -2, None, 2147483647, (1, 2147483645, 1))
t(1, -2, None, 9223372036854775808, (1, 9223372036854775806, 1))
t(1, -2, -5, 0, (-1, -1, -5))
t(1, -2, -5, 1, (0, -1, -5))
t(1, -2, -5, 5, (1, 3, -5))
t(1, -2, -5, 10, (1, 8, -5))
t(1, -2, -5, 100, (1, 98, -5))
t(1, -2, -5, 2147483647, (1, 2147483645, -5))
t(1, -2, -5, 9223372036854775808, (1, 9223372036854775806, -5))
t(1, -2, -3, 0, (-1, -1, -3))
t(1, -2, -3, 1, (0, -1, -3))
t(1, -2, -3, 5, (1, 3, -3))
t(1, -2, -3, 10, (1, 8, -3))
t(1, -2, -3, 100, (1, 98, -3))
t(1, -2, -3, 2147483647, (1, 2147483645, -3))
t(1, -2, -3, 9223372036854775808, (1, 9223372036854775806, -3))
t(1, -2, -1, 0, (-1, -1, -1))
t(1, -2, -1, 1, (0, -1, -1))
t(1, -2, -1, 5, (1, 3, -1))
t(1, -2, -1, 10, (1, 8, -1))
t(1, -2, -1, 100, (1, 98, -1))
t(1, -2, -1, 2147483647, (1, 2147483645, -1))
t(1, -2, -1, 9223372036854775808, (1, 9223372036854775806, -1))
t(1, -2, 1, 0, (0, 0, 1))
t(1, -2, 1, 1, (1, 0, 1))
t(1, -2, 1, 5, (1, 3, 1))
t(1, -2, 1, 10, (1, 8, 1))
t(1, -2, 1, 100, (1, 98, 1))
t(1, -2, 1, 2147483647, (1, 2147483645, 1))
t(1, -2, 1, 9223372036854775808, (1, 9223372036854775806, 1))
t(1, -2, 5, 0, (0, 0, 5))
t(1, -2, 5, 1, (1, 0, 5))
t(1, -2, 5, 5, (1, 3, 5))
t(1, -2, 5, 10, (1, 8, 5))
t(1, -2, 5, 100, (1, 98, 5))
t(1, -2, 5, 2147483647, (1, 2147483645, 5))
t(1, -2, 5, 9223372036854775808, (1, 9223372036854775806, 5))
t(1, -2, 20, 0, (0, 0, 20))
t(1, -2, 20, 1, (1, 0, 20))
t(1, -2, 20, 5, (1, 3, 20))
t(1, -2, 20, 10, (1, 8, 20))
t(1, -2, 20, 100, (1, 98, 20))
t(1, -2, 20, 2147483647, (1, 2147483645, 20))
t(1, -2, 20, 9223372036854775808, (1, 9223372036854775806, 20))
t(1, -2, 2147483647, 0, (0, 0, 2147483647))
t(1, -2, 2147483647, 1, (1, 0, 2147483647))
t(1, -2, 2147483647, 5, (1, 3, 2147483647))
t(1, -2, 2147483647, 10, (1, 8, 2147483647))
t(1, -2, 2147483647, 100, (1, 98, 2147483647))
t(1, -2, 2147483647, 2147483647, (1, 2147483645, 2147483647))
t(1, -2, 2147483647, 9223372036854775808, (1, 9223372036854775806, 2147483647))
t(1, -2, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(1, -2, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(1, -2, 9223372036854775808, 5, (1, 3, 9223372036854775808))
t(1, -2, 9223372036854775808, 10, (1, 8, 9223372036854775808))
t(1, -2, 9223372036854775808, 100, (1, 98, 9223372036854775808))
t(1, -2, 9223372036854775808, 2147483647, (1, 2147483645, 9223372036854775808))
t(1, -2, 9223372036854775808, 9223372036854775808, (1, 9223372036854775806, 9223372036854775808))
t(1, 0, None, 0, (0, 0, 1))
t(1, 0, None, 1, (1, 0, 1))
t(1, 0, None, 5, (1, 0, 1))
t(1, 0, None, 10, (1, 0, 1))
t(1, 0, None, 100, (1, 0, 1))
t(1, 0, None, 2147483647, (1, 0, 1))
t(1, 0, None, 9223372036854775808, (1, 0, 1))
t(1, 0, -5, 0, (-1, -1, -5))
t(1, 0, -5, 1, (0, 0, -5))
t(1, 0, -5, 5, (1, 0, -5))
t(1, 0, -5, 10, (1, 0, -5))
t(1, 0, -5, 100, (1, 0, -5))
t(1, 0, -5, 2147483647, (1, 0, -5))
t(1, 0, -5, 9223372036854775808, (1, 0, -5))
t(1, 0, -3, 0, (-1, -1, -3))
t(1, 0, -3, 1, (0, 0, -3))
t(1, 0, -3, 5, (1, 0, -3))
t(1, 0, -3, 10, (1, 0, -3))
t(1, 0, -3, 100, (1, 0, -3))
t(1, 0, -3, 2147483647, (1, 0, -3))
t(1, 0, -3, 9223372036854775808, (1, 0, -3))
t(1, 0, -1, 0, (-1, -1, -1))
t(1, 0, -1, 1, (0, 0, -1))
t(1, 0, -1, 5, (1, 0, -1))
t(1, 0, -1, 10, (1, 0, -1))
t(1, 0, -1, 100, (1, 0, -1))
t(1, 0, -1, 2147483647, (1, 0, -1))
t(1, 0, -1, 9223372036854775808, (1, 0, -1))
t(1, 0, 1, 0, (0, 0, 1))
t(1, 0, 1, 1, (1, 0, 1))
t(1, 0, 1, 5, (1, 0, 1))
t(1, 0, 1, 10, (1, 0, 1))
t(1, 0, 1, 100, (1, 0, 1))
t(1, 0, 1, 2147483647, (1, 0, 1))
t(1, 0, 1, 9223372036854775808, (1, 0, 1))
t(1, 0, 5, 0, (0, 0, 5))
t(1, 0, 5, 1, (1, 0, 5))
t(1, 0, 5, 5, (1, 0, 5))
t(1, 0, 5, 10, (1, 0, 5))
t(1, 0, 5, 100, (1, 0, 5))
t(1, 0, 5, 2147483647, (1, 0, 5))
t(1, 0, 5, 9223372036854775808, (1, 0, 5))
t(1, 0, 20, 0, (0, 0, 20))
t(1, 0, 20, 1, (1, 0, 20))
t(1, 0, 20, 5, (1, 0, 20))
t(1, 0, 20, 10, (1, 0, 20))
t(1, 0, 20, 100, (1, 0, 20))
t(1, 0, 20, 2147483647, (1, 0, 20))
t(1, 0, 20, 9223372036854775808, (1, 0, 20))
t(1, 0, 2147483647, 0, (0, 0, 2147483647))
t(1, 0, 2147483647, 1, (1, 0, 2147483647))
t(1, 0, 2147483647, 5, (1, 0, 2147483647))
t(1, 0, 2147483647, 10, (1, 0, 2147483647))
t(1, 0, 2147483647, 100, (1, 0, 2147483647))
t(1, 0, 2147483647, 2147483647, (1, 0, 2147483647))
t(1, 0, 2147483647, 9223372036854775808, (1, 0, 2147483647))
t(1, 0, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(1, 0, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(1, 0, 9223372036854775808, 5, (1, 0, 9223372036854775808))
t(1, 0, 9223372036854775808, 10, (1, 0, 9223372036854775808))
t(1, 0, 9223372036854775808, 100, (1, 0, 9223372036854775808))
t(1, 0, 9223372036854775808, 2147483647, (1, 0, 9223372036854775808))
t(1, 0, 9223372036854775808, 9223372036854775808, (1, 0, 9223372036854775808))
t(1, 1, None, 0, (0, 0, 1))
t(1, 1, None, 1, (1, 1, 1))
t(1, 1, None, 5, (1, 1, 1))
t(1, 1, None, 10, (1, 1, 1))
t(1, 1, None, 100, (1, 1, 1))
t(1, 1, None, 2147483647, (1, 1, 1))
t(1, 1, None, 9223372036854775808, (1, 1, 1))
t(1, 1, -5, 0, (-1, -1, -5))
t(1, 1, -5, 1, (0, 0, -5))
t(1, 1, -5, 5, (1, 1, -5))
t(1, 1, -5, 10, (1, 1, -5))
t(1, 1, -5, 100, (1, 1, -5))
t(1, 1, -5, 2147483647, (1, 1, -5))
t(1, 1, -5, 9223372036854775808, (1, 1, -5))
t(1, 1, -3, 0, (-1, -1, -3))
t(1, 1, -3, 1, (0, 0, -3))
t(1, 1, -3, 5, (1, 1, -3))
t(1, 1, -3, 10, (1, 1, -3))
t(1, 1, -3, 100, (1, 1, -3))
t(1, 1, -3, 2147483647, (1, 1, -3))
t(1, 1, -3, 9223372036854775808, (1, 1, -3))
t(1, 1, -1, 0, (-1, -1, -1))
t(1, 1, -1, 1, (0, 0, -1))
t(1, 1, -1, 5, (1, 1, -1))
t(1, 1, -1, 10, (1, 1, -1))
t(1, 1, -1, 100, (1, 1, -1))
t(1, 1, -1, 2147483647, (1, 1, -1))
t(1, 1, -1, 9223372036854775808, (1, 1, -1))
t(1, 1, 1, 0, (0, 0, 1))
t(1, 1, 1, 1, (1, 1, 1))
t(1, 1, 1, 5, (1, 1, 1))
t(1, 1, 1, 10, (1, 1, 1))
t(1, 1, 1, 100, (1, 1, 1))
t(1, 1, 1, 2147483647, (1, 1, 1))
t(1, 1, 1, 9223372036854775808, (1, 1, 1))
t(1, 1, 5, 0, (0, 0, 5))
t(1, 1, 5, 1, (1, 1, 5))
t(1, 1, 5, 5, (1, 1, 5))
t(1, 1, 5, 10, (1, 1, 5))
t(1, 1, 5, 100, (1, 1, 5))
t(1, 1, 5, 2147483647, (1, 1, 5))
t(1, 1, 5, 9223372036854775808, (1, 1, 5))
t(1, 1, 20, 0, (0, 0, 20))
t(1, 1, 20, 1, (1, 1, 20))
t(1, 1, 20, 5, (1, 1, 20))
t(1, 1, 20, 10, (1, 1, 20))
t(1, 1, 20, 100, (1, 1, 20))
t(1, 1, 20, 2147483647, (1, 1, 20))
t(1, 1, 20, 9223372036854775808, (1, 1, 20))
t(1, 1, 2147483647, 0, (0, 0, 2147483647))
t(1, 1, 2147483647, 1, (1, 1, 2147483647))
t(1, 1, 2147483647, 5, (1, 1, 2147483647))
t(1, 1, 2147483647, 10, (1, 1, 2147483647))
t(1, 1, 2147483647, 100, (1, 1, 2147483647))
t(1, 1, 2147483647, 2147483647, (1, 1, 2147483647))
t(1, 1, 2147483647, 9223372036854775808, (1, 1, 2147483647))
t(1, 1, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(1, 1, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(1, 1, 9223372036854775808, 5, (1, 1, 9223372036854775808))
t(1, 1, 9223372036854775808, 10, (1, 1, 9223372036854775808))
t(1, 1, 9223372036854775808, 100, (1, 1, 9223372036854775808))
t(1, 1, 9223372036854775808, 2147483647, (1, 1, 9223372036854775808))
t(1, 1, 9223372036854775808, 9223372036854775808, (1, 1, 9223372036854775808))
t(1, 6, None, 0, (0, 0, 1))
t(1, 6, None, 1, (1, 1, 1))
t(1, 6, None, 5, (1, 5, 1))
t(1, 6, None, 10, (1, 6, 1))
t(1, 6, None, 100, (1, 6, 1))
t(1, 6, None, 2147483647, (1, 6, 1))
t(1, 6, None, 9223372036854775808, (1, 6, 1))
t(1, 6, -5, 0, (-1, -1, -5))
t(1, 6, -5, 1, (0, 0, -5))
t(1, 6, -5, 5, (1, 4, -5))
t(1, 6, -5, 10, (1, 6, -5))
t(1, 6, -5, 100, (1, 6, -5))
t(1, 6, -5, 2147483647, (1, 6, -5))
t(1, 6, -5, 9223372036854775808, (1, 6, -5))
t(1, 6, -3, 0, (-1, -1, -3))
t(1, 6, -3, 1, (0, 0, -3))
t(1, 6, -3, 5, (1, 4, -3))
t(1, 6, -3, 10, (1, 6, -3))
t(1, 6, -3, 100, (1, 6, -3))
t(1, 6, -3, 2147483647, (1, 6, -3))
t(1, 6, -3, 9223372036854775808, (1, 6, -3))
t(1, 6, -1, 0, (-1, -1, -1))
t(1, 6, -1, 1, (0, 0, -1))
t(1, 6, -1, 5, (1, 4, -1))
t(1, 6, -1, 10, (1, 6, -1))
t(1, 6, -1, 100, (1, 6, -1))
t(1, 6, -1, 2147483647, (1, 6, -1))
t(1, 6, -1, 9223372036854775808, (1, 6, -1))
t(1, 6, 1, 0, (0, 0, 1))
t(1, 6, 1, 1, (1, 1, 1))
t(1, 6, 1, 5, (1, 5, 1))
t(1, 6, 1, 10, (1, 6, 1))
t(1, 6, 1, 100, (1, 6, 1))
t(1, 6, 1, 2147483647, (1, 6, 1))
t(1, 6, 1, 9223372036854775808, (1, 6, 1))
t(1, 6, 5, 0, (0, 0, 5))
t(1, 6, 5, 1, (1, 1, 5))
t(1, 6, 5, 5, (1, 5, 5))
t(1, 6, 5, 10, (1, 6, 5))
t(1, 6, 5, 100, (1, 6, 5))
t(1, 6, 5, 2147483647, (1, 6, 5))
t(1, 6, 5, 9223372036854775808, (1, 6, 5))
t(1, 6, 20, 0, (0, 0, 20))
t(1, 6, 20, 1, (1, 1, 20))
t(1, 6, 20, 5, (1, 5, 20))
t(1, 6, 20, 10, (1, 6, 20))
t(1, 6, 20, 100, (1, 6, 20))
t(1, 6, 20, 2147483647, (1, 6, 20))
t(1, 6, 20, 9223372036854775808, (1, 6, 20))
t(1, 6, 2147483647, 0, (0, 0, 2147483647))
t(1, 6, 2147483647, 1, (1, 1, 2147483647))
t(1, 6, 2147483647, 5, (1, 5, 2147483647))
t(1, 6, 2147483647, 10, (1, 6, 2147483647))
t(1, 6, 2147483647, 100, (1, 6, 2147483647))
t(1, 6, 2147483647, 2147483647, (1, 6, 2147483647))
t(1, 6, 2147483647, 9223372036854775808, (1, 6, 2147483647))
t(1, 6, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(1, 6, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(1, 6, 9223372036854775808, 5, (1, 5, 9223372036854775808))
t(1, 6, 9223372036854775808, 10, (1, 6, 9223372036854775808))
t(1, 6, 9223372036854775808, 100, (1, 6, 9223372036854775808))
t(1, 6, 9223372036854775808, 2147483647, (1, 6, 9223372036854775808))
t(1, 6, 9223372036854775808, 9223372036854775808, (1, 6, 9223372036854775808))
t(1, 10, None, 0, (0, 0, 1))
t(1, 10, None, 1, (1, 1, 1))
t(1, 10, None, 5, (1, 5, 1))
t(1, 10, None, 10, (1, 10, 1))
t(1, 10, None, 100, (1, 10, 1))
t(1, 10, None, 2147483647, (1, 10, 1))
t(1, 10, None, 9223372036854775808, (1, 10, 1))
t(1, 10, -5, 0, (-1, -1, -5))
t(1, 10, -5, 1, (0, 0, -5))
t(1, 10, -5, 5, (1, 4, -5))
t(1, 10, -5, 10, (1, 9, -5))
t(1, 10, -5, 100, (1, 10, -5))
t(1, 10, -5, 2147483647, (1, 10, -5))
t(1, 10, -5, 9223372036854775808, (1, 10, -5))
t(1, 10, -3, 0, (-1, -1, -3))
t(1, 10, -3, 1, (0, 0, -3))
t(1, 10, -3, 5, (1, 4, -3))
t(1, 10, -3, 10, (1, 9, -3))
t(1, 10, -3, 100, (1, 10, -3))
t(1, 10, -3, 2147483647, (1, 10, -3))
t(1, 10, -3, 9223372036854775808, (1, 10, -3))
t(1, 10, -1, 0, (-1, -1, -1))
t(1, 10, -1, 1, (0, 0, -1))
t(1, 10, -1, 5, (1, 4, -1))
t(1, 10, -1, 10, (1, 9, -1))
t(1, 10, -1, 100, (1, 10, -1))
t(1, 10, -1, 2147483647, (1, 10, -1))
t(1, 10, -1, 9223372036854775808, (1, 10, -1))
t(1, 10, 1, 0, (0, 0, 1))
t(1, 10, 1, 1, (1, 1, 1))
t(1, 10, 1, 5, (1, 5, 1))
t(1, 10, 1, 10, (1, 10, 1))
t(1, 10, 1, 100, (1, 10, 1))
t(1, 10, 1, 2147483647, (1, 10, 1))
t(1, 10, 1, 9223372036854775808, (1, 10, 1))
t(1, 10, 5, 0, (0, 0, 5))
t(1, 10, 5, 1, (1, 1, 5))
t(1, 10, 5, 5, (1, 5, 5))
t(1, 10, 5, 10, (1, 10, 5))
t(1, 10, 5, 100, (1, 10, 5))
t(1, 10, 5, 2147483647, (1, 10, 5))
t(1, 10, 5, 9223372036854775808, (1, 10, 5))
t(1, 10, 20, 0, (0, 0, 20))
t(1, 10, 20, 1, (1, 1, 20))
t(1, 10, 20, 5, (1, 5, 20))
t(1, 10, 20, 10, (1, 10, 20))
t(1, 10, 20, 100, (1, 10, 20))
t(1, 10, 20, 2147483647, (1, 10, 20))
t(1, 10, 20, 9223372036854775808, (1, 10, 20))
t(1, 10, 2147483647, 0, (0, 0, 2147483647))
t(1, 10, 2147483647, 1, (1, 1, 2147483647))
t(1, 10, 2147483647, 5, (1, 5, 2147483647))
t(1, 10, 2147483647, 10, (1, 10, 2147483647))
t(1, 10, 2147483647, 100, (1, 10, 2147483647))
t(1, 10, 2147483647, 2147483647, (1, 10, 2147483647))
t(1, 10, 2147483647, 9223372036854775808, (1, 10, 2147483647))
t(1, 10, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(1, 10, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(1, 10, 9223372036854775808, 5, (1, 5, 9223372036854775808))
t(1, 10, 9223372036854775808, 10, (1, 10, 9223372036854775808))
t(1, 10, 9223372036854775808, 100, (1, 10, 9223372036854775808))
t(1, 10, 9223372036854775808, 2147483647, (1, 10, 9223372036854775808))
t(1, 10, 9223372036854775808, 9223372036854775808, (1, 10, 9223372036854775808))
t(1, 2147483647, None, 0, (0, 0, 1))
t(1, 2147483647, None, 1, (1, 1, 1))
t(1, 2147483647, None, 5, (1, 5, 1))
t(1, 2147483647, None, 10, (1, 10, 1))
t(1, 2147483647, None, 100, (1, 100, 1))
t(1, 2147483647, None, 2147483647, (1, 2147483647, 1))
t(1, 2147483647, None, 9223372036854775808, (1, 2147483647, 1))
t(1, 2147483647, -5, 0, (-1, -1, -5))
t(1, 2147483647, -5, 1, (0, 0, -5))
t(1, 2147483647, -5, 5, (1, 4, -5))
t(1, 2147483647, -5, 10, (1, 9, -5))
t(1, 2147483647, -5, 100, (1, 99, -5))
t(1, 2147483647, -5, 2147483647, (1, 2147483646, -5))
t(1, 2147483647, -5, 9223372036854775808, (1, 2147483647, -5))
t(1, 2147483647, -3, 0, (-1, -1, -3))
t(1, 2147483647, -3, 1, (0, 0, -3))
t(1, 2147483647, -3, 5, (1, 4, -3))
t(1, 2147483647, -3, 10, (1, 9, -3))
t(1, 2147483647, -3, 100, (1, 99, -3))
t(1, 2147483647, -3, 2147483647, (1, 2147483646, -3))
t(1, 2147483647, -3, 9223372036854775808, (1, 2147483647, -3))
t(1, 2147483647, -1, 0, (-1, -1, -1))
t(1, 2147483647, -1, 1, (0, 0, -1))
t(1, 2147483647, -1, 5, (1, 4, -1))
t(1, 2147483647, -1, 10, (1, 9, -1))
t(1, 2147483647, -1, 100, (1, 99, -1))
t(1, 2147483647, -1, 2147483647, (1, 2147483646, -1))
t(1, 2147483647, -1, 9223372036854775808, (1, 2147483647, -1))
t(1, 2147483647, 1, 0, (0, 0, 1))
t(1, 2147483647, 1, 1, (1, 1, 1))
t(1, 2147483647, 1, 5, (1, 5, 1))
t(1, 2147483647, 1, 10, (1, 10, 1))
t(1, 2147483647, 1, 100, (1, 100, 1))
t(1, 2147483647, 1, 2147483647, (1, 2147483647, 1))
t(1, 2147483647, 1, 9223372036854775808, (1, 2147483647, 1))
t(1, 2147483647, 5, 0, (0, 0, 5))
t(1, 2147483647, 5, 1, (1, 1, 5))
t(1, 2147483647, 5, 5, (1, 5, 5))
t(1, 2147483647, 5, 10, (1, 10, 5))
t(1, 2147483647, 5, 100, (1, 100, 5))
t(1, 2147483647, 5, 2147483647, (1, 2147483647, 5))
t(1, 2147483647, 5, 9223372036854775808, (1, 2147483647, 5))
t(1, 2147483647, 20, 0, (0, 0, 20))
t(1, 2147483647, 20, 1, (1, 1, 20))
t(1, 2147483647, 20, 5, (1, 5, 20))
t(1, 2147483647, 20, 10, (1, 10, 20))
t(1, 2147483647, 20, 100, (1, 100, 20))
t(1, 2147483647, 20, 2147483647, (1, 2147483647, 20))
t(1, 2147483647, 20, 9223372036854775808, (1, 2147483647, 20))
t(1, 2147483647, 2147483647, 0, (0, 0, 2147483647))
t(1, 2147483647, 2147483647, 1, (1, 1, 2147483647))
t(1, 2147483647, 2147483647, 5, (1, 5, 2147483647))
t(1, 2147483647, 2147483647, 10, (1, 10, 2147483647))
t(1, 2147483647, 2147483647, 100, (1, 100, 2147483647))
t(1, 2147483647, 2147483647, 2147483647, (1, 2147483647, 2147483647))
t(1, 2147483647, 2147483647, 9223372036854775808, (1, 2147483647, 2147483647))
t(1, 2147483647, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(1, 2147483647, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(1, 2147483647, 9223372036854775808, 5, (1, 5, 9223372036854775808))
t(1, 2147483647, 9223372036854775808, 10, (1, 10, 9223372036854775808))
t(1, 2147483647, 9223372036854775808, 100, (1, 100, 9223372036854775808))
t(1, 2147483647, 9223372036854775808, 2147483647, (1, 2147483647, 9223372036854775808))
t(1, 2147483647, 9223372036854775808, 9223372036854775808, (1, 2147483647, 9223372036854775808))
t(1, 9223372036854775808, None, 0, (0, 0, 1))
t(1, 9223372036854775808, None, 1, (1, 1, 1))
t(1, 9223372036854775808, None, 5, (1, 5, 1))
t(1, 9223372036854775808, None, 10, (1, 10, 1))
t(1, 9223372036854775808, None, 100, (1, 100, 1))
t(1, 9223372036854775808, None, 2147483647, (1, 2147483647, 1))
t(1, 9223372036854775808, None, 9223372036854775808, (1, 9223372036854775808, 1))
t(1, 9223372036854775808, -5, 0, (-1, -1, -5))
t(1, 9223372036854775808, -5, 1, (0, 0, -5))
t(1, 9223372036854775808, -5, 5, (1, 4, -5))
t(1, 9223372036854775808, -5, 10, (1, 9, -5))
t(1, 9223372036854775808, -5, 100, (1, 99, -5))
t(1, 9223372036854775808, -5, 2147483647, (1, 2147483646, -5))
t(1, 9223372036854775808, -5, 9223372036854775808, (1, 9223372036854775807, -5))
t(1, 9223372036854775808, -3, 0, (-1, -1, -3))
t(1, 9223372036854775808, -3, 1, (0, 0, -3))
t(1, 9223372036854775808, -3, 5, (1, 4, -3))
t(1, 9223372036854775808, -3, 10, (1, 9, -3))
t(1, 9223372036854775808, -3, 100, (1, 99, -3))
t(1, 9223372036854775808, -3, 2147483647, (1, 2147483646, -3))
t(1, 9223372036854775808, -3, 9223372036854775808, (1, 9223372036854775807, -3))
t(1, 9223372036854775808, -1, 0, (-1, -1, -1))
t(1, 9223372036854775808, -1, 1, (0, 0, -1))
t(1, 9223372036854775808, -1, 5, (1, 4, -1))
t(1, 9223372036854775808, -1, 10, (1, 9, -1))
t(1, 9223372036854775808, -1, 100, (1, 99, -1))
t(1, 9223372036854775808, -1, 2147483647, (1, 2147483646, -1))
t(1, 9223372036854775808, -1, 9223372036854775808, (1, 9223372036854775807, -1))
t(1, 9223372036854775808, 1, 0, (0, 0, 1))
t(1, 9223372036854775808, 1, 1, (1, 1, 1))
t(1, 9223372036854775808, 1, 5, (1, 5, 1))
t(1, 9223372036854775808, 1, 10, (1, 10, 1))
t(1, 9223372036854775808, 1, 100, (1, 100, 1))
t(1, 9223372036854775808, 1, 2147483647, (1, 2147483647, 1))
t(1, 9223372036854775808, 1, 9223372036854775808, (1, 9223372036854775808, 1))
t(1, 9223372036854775808, 5, 0, (0, 0, 5))
t(1, 9223372036854775808, 5, 1, (1, 1, 5))
t(1, 9223372036854775808, 5, 5, (1, 5, 5))
t(1, 9223372036854775808, 5, 10, (1, 10, 5))
t(1, 9223372036854775808, 5, 100, (1, 100, 5))
t(1, 9223372036854775808, 5, 2147483647, (1, 2147483647, 5))
t(1, 9223372036854775808, 5, 9223372036854775808, (1, 9223372036854775808, 5))
t(1, 9223372036854775808, 20, 0, (0, 0, 20))
t(1, 9223372036854775808, 20, 1, (1, 1, 20))
t(1, 9223372036854775808, 20, 5, (1, 5, 20))
t(1, 9223372036854775808, 20, 10, (1, 10, 20))
t(1, 9223372036854775808, 20, 100, (1, 100, 20))
t(1, 9223372036854775808, 20, 2147483647, (1, 2147483647, 20))
t(1, 9223372036854775808, 20, 9223372036854775808, (1, 9223372036854775808, 20))
t(1, 9223372036854775808, 2147483647, 0, (0, 0, 2147483647))
t(1, 9223372036854775808, 2147483647, 1, (1, 1, 2147483647))
t(1, 9223372036854775808, 2147483647, 5, (1, 5, 2147483647))
t(1, 9223372036854775808, 2147483647, 10, (1, 10, 2147483647))
t(1, 9223372036854775808, 2147483647, 100, (1, 100, 2147483647))
t(1, 9223372036854775808, 2147483647, 2147483647, (1, 2147483647, 2147483647))
t(1, 9223372036854775808, 2147483647, 9223372036854775808, (1, 9223372036854775808, 2147483647))
t(1, 9223372036854775808, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(1, 9223372036854775808, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(1, 9223372036854775808, 9223372036854775808, 5, (1, 5, 9223372036854775808))
t(1, 9223372036854775808, 9223372036854775808, 10, (1, 10, 9223372036854775808))
t(1, 9223372036854775808, 9223372036854775808, 100, (1, 100, 9223372036854775808))
t(1, 9223372036854775808, 9223372036854775808, 2147483647, (1, 2147483647, 9223372036854775808))
t(1, 9223372036854775808, 9223372036854775808, 9223372036854775808, (1, 9223372036854775808, 9223372036854775808))
t(6, None, None, 0, (0, 0, 1))
t(6, None, None, 1, (1, 1, 1))
t(6, None, None, 5, (5, 5, 1))
t(6, None, None, 10, (6, 10, 1))
t(6, None, None, 100, (6, 100, 1))
t(6, None, None, 2147483647, (6, 2147483647, 1))
t(6, None, None, 9223372036854775808, (6, 9223372036854775808, 1))
t(6, None, -5, 0, (-1, -1, -5))
t(6, None, -5, 1, (0, -1, -5))
t(6, None, -5, 5, (4, -1, -5))
t(6, None, -5, 10, (6, -1, -5))
t(6, None, -5, 100, (6, -1, -5))
t(6, None, -5, 2147483647, (6, -1, -5))
t(6, None, -5, 9223372036854775808, (6, -1, -5))
t(6, None, -3, 0, (-1, -1, -3))
t(6, None, -3, 1, (0, -1, -3))
t(6, None, -3, 5, (4, -1, -3))
t(6, None, -3, 10, (6, -1, -3))
t(6, None, -3, 100, (6, -1, -3))
t(6, None, -3, 2147483647, (6, -1, -3))
t(6, None, -3, 9223372036854775808, (6, -1, -3))
t(6, None, -1, 0, (-1, -1, -1))
t(6, None, -1, 1, (0, -1, -1))
t(6, None, -1, 5, (4, -1, -1))
t(6, None, -1, 10, (6, -1, -1))
t(6, None, -1, 100, (6, -1, -1))
t(6, None, -1, 2147483647, (6, -1, -1))
t(6, None, -1, 9223372036854775808, (6, -1, -1))
t(6, None, 1, 0, (0, 0, 1))
t(6, None, 1, 1, (1, 1, 1))
t(6, None, 1, 5, (5, 5, 1))
t(6, None, 1, 10, (6, 10, 1))
t(6, None, 1, 100, (6, 100, 1))
t(6, None, 1, 2147483647, (6, 2147483647, 1))
t(6, None, 1, 9223372036854775808, (6, 9223372036854775808, 1))
t(6, None, 5, 0, (0, 0, 5))
t(6, None, 5, 1, (1, 1, 5))
t(6, None, 5, 5, (5, 5, 5))
t(6, None, 5, 10, (6, 10, 5))
t(6, None, 5, 100, (6, 100, 5))
t(6, None, 5, 2147483647, (6, 2147483647, 5))
t(6, None, 5, 9223372036854775808, (6, 9223372036854775808, 5))
t(6, None, 20, 0, (0, 0, 20))
t(6, None, 20, 1, (1, 1, 20))
t(6, None, 20, 5, (5, 5, 20))
t(6, None, 20, 10, (6, 10, 20))
t(6, None, 20, 100, (6, 100, 20))
t(6, None, 20, 2147483647, (6, 2147483647, 20))
t(6, None, 20, 9223372036854775808, (6, 9223372036854775808, 20))
t(6, None, 2147483647, 0, (0, 0, 2147483647))
t(6, None, 2147483647, 1, (1, 1, 2147483647))
t(6, None, 2147483647, 5, (5, 5, 2147483647))
t(6, None, 2147483647, 10, (6, 10, 2147483647))
t(6, None, 2147483647, 100, (6, 100, 2147483647))
t(6, None, 2147483647, 2147483647, (6, 2147483647, 2147483647))
t(6, None, 2147483647, 9223372036854775808, (6, 9223372036854775808, 2147483647))
t(6, None, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(6, None, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(6, None, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(6, None, 9223372036854775808, 10, (6, 10, 9223372036854775808))
t(6, None, 9223372036854775808, 100, (6, 100, 9223372036854775808))
t(6, None, 9223372036854775808, 2147483647, (6, 2147483647, 9223372036854775808))
t(6, None, 9223372036854775808, 9223372036854775808, (6, 9223372036854775808, 9223372036854775808))
t(6, -7, None, 0, (0, 0, 1))
t(6, -7, None, 1, (1, 0, 1))
t(6, -7, None, 5, (5, 0, 1))
t(6, -7, None, 10, (6, 3, 1))
t(6, -7, None, 100, (6, 93, 1))
t(6, -7, None, 2147483647, (6, 2147483640, 1))
t(6, -7, None, 9223372036854775808, (6, 9223372036854775801, 1))
t(6, -7, -5, 0, (-1, -1, -5))
t(6, -7, -5, 1, (0, -1, -5))
t(6, -7, -5, 5, (4, -1, -5))
t(6, -7, -5, 10, (6, 3, -5))
t(6, -7, -5, 100, (6, 93, -5))
t(6, -7, -5, 2147483647, (6, 2147483640, -5))
t(6, -7, -5, 9223372036854775808, (6, 9223372036854775801, -5))
t(6, -7, -3, 0, (-1, -1, -3))
t(6, -7, -3, 1, (0, -1, -3))
t(6, -7, -3, 5, (4, -1, -3))
t(6, -7, -3, 10, (6, 3, -3))
t(6, -7, -3, 100, (6, 93, -3))
t(6, -7, -3, 2147483647, (6, 2147483640, -3))
t(6, -7, -3, 9223372036854775808, (6, 9223372036854775801, -3))
t(6, -7, -1, 0, (-1, -1, -1))
t(6, -7, -1, 1, (0, -1, -1))
t(6, -7, -1, 5, (4, -1, -1))
t(6, -7, -1, 10, (6, 3, -1))
t(6, -7, -1, 100, (6, 93, -1))
t(6, -7, -1, 2147483647, (6, 2147483640, -1))
t(6, -7, -1, 9223372036854775808, (6, 9223372036854775801, -1))
t(6, -7, 1, 0, (0, 0, 1))
t(6, -7, 1, 1, (1, 0, 1))
t(6, -7, 1, 5, (5, 0, 1))
t(6, -7, 1, 10, (6, 3, 1))
t(6, -7, 1, 100, (6, 93, 1))
t(6, -7, 1, 2147483647, (6, 2147483640, 1))
t(6, -7, 1, 9223372036854775808, (6, 9223372036854775801, 1))
t(6, -7, 5, 0, (0, 0, 5))
t(6, -7, 5, 1, (1, 0, 5))
t(6, -7, 5, 5, (5, 0, 5))
t(6, -7, 5, 10, (6, 3, 5))
t(6, -7, 5, 100, (6, 93, 5))
t(6, -7, 5, 2147483647, (6, 2147483640, 5))
t(6, -7, 5, 9223372036854775808, (6, 9223372036854775801, 5))
t(6, -7, 20, 0, (0, 0, 20))
t(6, -7, 20, 1, (1, 0, 20))
t(6, -7, 20, 5, (5, 0, 20))
t(6, -7, 20, 10, (6, 3, 20))
t(6, -7, 20, 100, (6, 93, 20))
t(6, -7, 20, 2147483647, (6, 2147483640, 20))
t(6, -7, 20, 9223372036854775808, (6, 9223372036854775801, 20))
t(6, -7, 2147483647, 0, (0, 0, 2147483647))
t(6, -7, 2147483647, 1, (1, 0, 2147483647))
t(6, -7, 2147483647, 5, (5, 0, 2147483647))
t(6, -7, 2147483647, 10, (6, 3, 2147483647))
t(6, -7, 2147483647, 100, (6, 93, 2147483647))
t(6, -7, 2147483647, 2147483647, (6, 2147483640, 2147483647))
t(6, -7, 2147483647, 9223372036854775808, (6, 9223372036854775801, 2147483647))
t(6, -7, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(6, -7, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(6, -7, 9223372036854775808, 5, (5, 0, 9223372036854775808))
t(6, -7, 9223372036854775808, 10, (6, 3, 9223372036854775808))
t(6, -7, 9223372036854775808, 100, (6, 93, 9223372036854775808))
t(6, -7, 9223372036854775808, 2147483647, (6, 2147483640, 9223372036854775808))
t(6, -7, 9223372036854775808, 9223372036854775808, (6, 9223372036854775801, 9223372036854775808))
t(6, -2, None, 0, (0, 0, 1))
t(6, -2, None, 1, (1, 0, 1))
t(6, -2, None, 5, (5, 3, 1))
t(6, -2, None, 10, (6, 8, 1))
t(6, -2, None, 100, (6, 98, 1))
t(6, -2, None, 2147483647, (6, 2147483645, 1))
t(6, -2, None, 9223372036854775808, (6, 9223372036854775806, 1))
t(6, -2, -5, 0, (-1, -1, -5))
t(6, -2, -5, 1, (0, -1, -5))
t(6, -2, -5, 5, (4, 3, -5))
t(6, -2, -5, 10, (6, 8, -5))
t(6, -2, -5, 100, (6, 98, -5))
t(6, -2, -5, 2147483647, (6, 2147483645, -5))
t(6, -2, -5, 9223372036854775808, (6, 9223372036854775806, -5))
t(6, -2, -3, 0, (-1, -1, -3))
t(6, -2, -3, 1, (0, -1, -3))
t(6, -2, -3, 5, (4, 3, -3))
t(6, -2, -3, 10, (6, 8, -3))
t(6, -2, -3, 100, (6, 98, -3))
t(6, -2, -3, 2147483647, (6, 2147483645, -3))
t(6, -2, -3, 9223372036854775808, (6, 9223372036854775806, -3))
t(6, -2, -1, 0, (-1, -1, -1))
t(6, -2, -1, 1, (0, -1, -1))
t(6, -2, -1, 5, (4, 3, -1))
t(6, -2, -1, 10, (6, 8, -1))
t(6, -2, -1, 100, (6, 98, -1))
t(6, -2, -1, 2147483647, (6, 2147483645, -1))
t(6, -2, -1, 9223372036854775808, (6, 9223372036854775806, -1))
t(6, -2, 1, 0, (0, 0, 1))
t(6, -2, 1, 1, (1, 0, 1))
t(6, -2, 1, 5, (5, 3, 1))
t(6, -2, 1, 10, (6, 8, 1))
t(6, -2, 1, 100, (6, 98, 1))
t(6, -2, 1, 2147483647, (6, 2147483645, 1))
t(6, -2, 1, 9223372036854775808, (6, 9223372036854775806, 1))
t(6, -2, 5, 0, (0, 0, 5))
t(6, -2, 5, 1, (1, 0, 5))
t(6, -2, 5, 5, (5, 3, 5))
t(6, -2, 5, 10, (6, 8, 5))
t(6, -2, 5, 100, (6, 98, 5))
t(6, -2, 5, 2147483647, (6, 2147483645, 5))
t(6, -2, 5, 9223372036854775808, (6, 9223372036854775806, 5))
t(6, -2, 20, 0, (0, 0, 20))
t(6, -2, 20, 1, (1, 0, 20))
t(6, -2, 20, 5, (5, 3, 20))
t(6, -2, 20, 10, (6, 8, 20))
t(6, -2, 20, 100, (6, 98, 20))
t(6, -2, 20, 2147483647, (6, 2147483645, 20))
t(6, -2, 20, 9223372036854775808, (6, 9223372036854775806, 20))
t(6, -2, 2147483647, 0, (0, 0, 2147483647))
t(6, -2, 2147483647, 1, (1, 0, 2147483647))
t(6, -2, 2147483647, 5, (5, 3, 2147483647))
t(6, -2, 2147483647, 10, (6, 8, 2147483647))
t(6, -2, 2147483647, 100, (6, 98, 2147483647))
t(6, -2, 2147483647, 2147483647, (6, 2147483645, 2147483647))
t(6, -2, 2147483647, 9223372036854775808, (6, 9223372036854775806, 2147483647))
t(6, -2, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(6, -2, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(6, -2, 9223372036854775808, 5, (5, 3, 9223372036854775808))
t(6, -2, 9223372036854775808, 10, (6, 8, 9223372036854775808))
t(6, -2, 9223372036854775808, 100, (6, 98, 9223372036854775808))
t(6, -2, 9223372036854775808, 2147483647, (6, 2147483645, 9223372036854775808))
t(6, -2, 9223372036854775808, 9223372036854775808, (6, 9223372036854775806, 9223372036854775808))
t(6, 0, None, 0, (0, 0, 1))
t(6, 0, None, 1, (1, 0, 1))
t(6, 0, None, 5, (5, 0, 1))
t(6, 0, None, 10, (6, 0, 1))
t(6, 0, None, 100, (6, 0, 1))
t(6, 0, None, 2147483647, (6, 0, 1))
t(6, 0, None, 9223372036854775808, (6, 0, 1))
t(6, 0, -5, 0, (-1, -1, -5))
t(6, 0, -5, 1, (0, 0, -5))
t(6, 0, -5, 5, (4, 0, -5))
t(6, 0, -5, 10, (6, 0, -5))
t(6, 0, -5, 100, (6, 0, -5))
t(6, 0, -5, 2147483647, (6, 0, -5))
t(6, 0, -5, 9223372036854775808, (6, 0, -5))
t(6, 0, -3, 0, (-1, -1, -3))
t(6, 0, -3, 1, (0, 0, -3))
t(6, 0, -3, 5, (4, 0, -3))
t(6, 0, -3, 10, (6, 0, -3))
t(6, 0, -3, 100, (6, 0, -3))
t(6, 0, -3, 2147483647, (6, 0, -3))
t(6, 0, -3, 9223372036854775808, (6, 0, -3))
t(6, 0, -1, 0, (-1, -1, -1))
t(6, 0, -1, 1, (0, 0, -1))
t(6, 0, -1, 5, (4, 0, -1))
t(6, 0, -1, 10, (6, 0, -1))
t(6, 0, -1, 100, (6, 0, -1))
t(6, 0, -1, 2147483647, (6, 0, -1))
t(6, 0, -1, 9223372036854775808, (6, 0, -1))
t(6, 0, 1, 0, (0, 0, 1))
t(6, 0, 1, 1, (1, 0, 1))
t(6, 0, 1, 5, (5, 0, 1))
t(6, 0, 1, 10, (6, 0, 1))
t(6, 0, 1, 100, (6, 0, 1))
t(6, 0, 1, 2147483647, (6, 0, 1))
t(6, 0, 1, 9223372036854775808, (6, 0, 1))
t(6, 0, 5, 0, (0, 0, 5))
t(6, 0, 5, 1, (1, 0, 5))
t(6, 0, 5, 5, (5, 0, 5))
t(6, 0, 5, 10, (6, 0, 5))
t(6, 0, 5, 100, (6, 0, 5))
t(6, 0, 5, 2147483647, (6, 0, 5))
t(6, 0, 5, 9223372036854775808, (6, 0, 5))
t(6, 0, 20, 0, (0, 0, 20))
t(6, 0, 20, 1, (1, 0, 20))
t(6, 0, 20, 5, (5, 0, 20))
t(6, 0, 20, 10, (6, 0, 20))
t(6, 0, 20, 100, (6, 0, 20))
t(6, 0, 20, 2147483647, (6, 0, 20))
t(6, 0, 20, 9223372036854775808, (6, 0, 20))
t(6, 0, 2147483647, 0, (0, 0, 2147483647))
t(6, 0, 2147483647, 1, (1, 0, 2147483647))
t(6, 0, 2147483647, 5, (5, 0, 2147483647))
t(6, 0, 2147483647, 10, (6, 0, 2147483647))
t(6, 0, 2147483647, 100, (6, 0, 2147483647))
t(6, 0, 2147483647, 2147483647, (6, 0, 2147483647))
t(6, 0, 2147483647, 9223372036854775808, (6, 0, 2147483647))
t(6, 0, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(6, 0, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(6, 0, 9223372036854775808, 5, (5, 0, 9223372036854775808))
t(6, 0, 9223372036854775808, 10, (6, 0, 9223372036854775808))
t(6, 0, 9223372036854775808, 100, (6, 0, 9223372036854775808))
t(6, 0, 9223372036854775808, 2147483647, (6, 0, 9223372036854775808))
t(6, 0, 9223372036854775808, 9223372036854775808, (6, 0, 9223372036854775808))
t(6, 1, None, 0, (0, 0, 1))
t(6, 1, None, 1, (1, 1, 1))
t(6, 1, None, 5, (5, 1, 1))
t(6, 1, None, 10, (6, 1, 1))
t(6, 1, None, 100, (6, 1, 1))
t(6, 1, None, 2147483647, (6, 1, 1))
t(6, 1, None, 9223372036854775808, (6, 1, 1))
t(6, 1, -5, 0, (-1, -1, -5))
t(6, 1, -5, 1, (0, 0, -5))
t(6, 1, -5, 5, (4, 1, -5))
t(6, 1, -5, 10, (6, 1, -5))
t(6, 1, -5, 100, (6, 1, -5))
t(6, 1, -5, 2147483647, (6, 1, -5))
t(6, 1, -5, 9223372036854775808, (6, 1, -5))
t(6, 1, -3, 0, (-1, -1, -3))
t(6, 1, -3, 1, (0, 0, -3))
t(6, 1, -3, 5, (4, 1, -3))
t(6, 1, -3, 10, (6, 1, -3))
t(6, 1, -3, 100, (6, 1, -3))
t(6, 1, -3, 2147483647, (6, 1, -3))
t(6, 1, -3, 9223372036854775808, (6, 1, -3))
t(6, 1, -1, 0, (-1, -1, -1))
t(6, 1, -1, 1, (0, 0, -1))
t(6, 1, -1, 5, (4, 1, -1))
t(6, 1, -1, 10, (6, 1, -1))
t(6, 1, -1, 100, (6, 1, -1))
t(6, 1, -1, 2147483647, (6, 1, -1))
t(6, 1, -1, 9223372036854775808, (6, 1, -1))
t(6, 1, 1, 0, (0, 0, 1))
t(6, 1, 1, 1, (1, 1, 1))
t(6, 1, 1, 5, (5, 1, 1))
t(6, 1, 1, 10, (6, 1, 1))
t(6, 1, 1, 100, (6, 1, 1))
t(6, 1, 1, 2147483647, (6, 1, 1))
t(6, 1, 1, 9223372036854775808, (6, 1, 1))
t(6, 1, 5, 0, (0, 0, 5))
t(6, 1, 5, 1, (1, 1, 5))
t(6, 1, 5, 5, (5, 1, 5))
t(6, 1, 5, 10, (6, 1, 5))
t(6, 1, 5, 100, (6, 1, 5))
t(6, 1, 5, 2147483647, (6, 1, 5))
t(6, 1, 5, 9223372036854775808, (6, 1, 5))
t(6, 1, 20, 0, (0, 0, 20))
t(6, 1, 20, 1, (1, 1, 20))
t(6, 1, 20, 5, (5, 1, 20))
t(6, 1, 20, 10, (6, 1, 20))
t(6, 1, 20, 100, (6, 1, 20))
t(6, 1, 20, 2147483647, (6, 1, 20))
t(6, 1, 20, 9223372036854775808, (6, 1, 20))
t(6, 1, 2147483647, 0, (0, 0, 2147483647))
t(6, 1, 2147483647, 1, (1, 1, 2147483647))
t(6, 1, 2147483647, 5, (5, 1, 2147483647))
t(6, 1, 2147483647, 10, (6, 1, 2147483647))
t(6, 1, 2147483647, 100, (6, 1, 2147483647))
t(6, 1, 2147483647, 2147483647, (6, 1, 2147483647))
t(6, 1, 2147483647, 9223372036854775808, (6, 1, 2147483647))
t(6, 1, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(6, 1, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(6, 1, 9223372036854775808, 5, (5, 1, 9223372036854775808))
t(6, 1, 9223372036854775808, 10, (6, 1, 9223372036854775808))
t(6, 1, 9223372036854775808, 100, (6, 1, 9223372036854775808))
t(6, 1, 9223372036854775808, 2147483647, (6, 1, 9223372036854775808))
t(6, 1, 9223372036854775808, 9223372036854775808, (6, 1, 9223372036854775808))
t(6, 6, None, 0, (0, 0, 1))
t(6, 6, None, 1, (1, 1, 1))
t(6, 6, None, 5, (5, 5, 1))
t(6, 6, None, 10, (6, 6, 1))
t(6, 6, None, 100, (6, 6, 1))
t(6, 6, None, 2147483647, (6, 6, 1))
t(6, 6, None, 9223372036854775808, (6, 6, 1))
t(6, 6, -5, 0, (-1, -1, -5))
t(6, 6, -5, 1, (0, 0, -5))
t(6, 6, -5, 5, (4, 4, -5))
t(6, 6, -5, 10, (6, 6, -5))
t(6, 6, -5, 100, (6, 6, -5))
t(6, 6, -5, 2147483647, (6, 6, -5))
t(6, 6, -5, 9223372036854775808, (6, 6, -5))
t(6, 6, -3, 0, (-1, -1, -3))
t(6, 6, -3, 1, (0, 0, -3))
t(6, 6, -3, 5, (4, 4, -3))
t(6, 6, -3, 10, (6, 6, -3))
t(6, 6, -3, 100, (6, 6, -3))
t(6, 6, -3, 2147483647, (6, 6, -3))
t(6, 6, -3, 9223372036854775808, (6, 6, -3))
t(6, 6, -1, 0, (-1, -1, -1))
t(6, 6, -1, 1, (0, 0, -1))
t(6, 6, -1, 5, (4, 4, -1))
t(6, 6, -1, 10, (6, 6, -1))
t(6, 6, -1, 100, (6, 6, -1))
t(6, 6, -1, 2147483647, (6, 6, -1))
t(6, 6, -1, 9223372036854775808, (6, 6, -1))
t(6, 6, 1, 0, (0, 0, 1))
t(6, 6, 1, 1, (1, 1, 1))
t(6, 6, 1, 5, (5, 5, 1))
t(6, 6, 1, 10, (6, 6, 1))
t(6, 6, 1, 100, (6, 6, 1))
t(6, 6, 1, 2147483647, (6, 6, 1))
t(6, 6, 1, 9223372036854775808, (6, 6, 1))
t(6, 6, 5, 0, (0, 0, 5))
t(6, 6, 5, 1, (1, 1, 5))
t(6, 6, 5, 5, (5, 5, 5))
t(6, 6, 5, 10, (6, 6, 5))
t(6, 6, 5, 100, (6, 6, 5))
t(6, 6, 5, 2147483647, (6, 6, 5))
t(6, 6, 5, 9223372036854775808, (6, 6, 5))
t(6, 6, 20, 0, (0, 0, 20))
t(6, 6, 20, 1, (1, 1, 20))
t(6, 6, 20, 5, (5, 5, 20))
t(6, 6, 20, 10, (6, 6, 20))
t(6, 6, 20, 100, (6, 6, 20))
t(6, 6, 20, 2147483647, (6, 6, 20))
t(6, 6, 20, 9223372036854775808, (6, 6, 20))
t(6, 6, 2147483647, 0, (0, 0, 2147483647))
t(6, 6, 2147483647, 1, (1, 1, 2147483647))
t(6, 6, 2147483647, 5, (5, 5, 2147483647))
t(6, 6, 2147483647, 10, (6, 6, 2147483647))
t(6, 6, 2147483647, 100, (6, 6, 2147483647))
t(6, 6, 2147483647, 2147483647, (6, 6, 2147483647))
t(6, 6, 2147483647, 9223372036854775808, (6, 6, 2147483647))
t(6, 6, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(6, 6, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(6, 6, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(6, 6, 9223372036854775808, 10, (6, 6, 9223372036854775808))
t(6, 6, 9223372036854775808, 100, (6, 6, 9223372036854775808))
t(6, 6, 9223372036854775808, 2147483647, (6, 6, 9223372036854775808))
t(6, 6, 9223372036854775808, 9223372036854775808, (6, 6, 9223372036854775808))
t(6, 10, None, 0, (0, 0, 1))
t(6, 10, None, 1, (1, 1, 1))
t(6, 10, None, 5, (5, 5, 1))
t(6, 10, None, 10, (6, 10, 1))
t(6, 10, None, 100, (6, 10, 1))
t(6, 10, None, 2147483647, (6, 10, 1))
t(6, 10, None, 9223372036854775808, (6, 10, 1))
t(6, 10, -5, 0, (-1, -1, -5))
t(6, 10, -5, 1, (0, 0, -5))
t(6, 10, -5, 5, (4, 4, -5))
t(6, 10, -5, 10, (6, 9, -5))
t(6, 10, -5, 100, (6, 10, -5))
t(6, 10, -5, 2147483647, (6, 10, -5))
t(6, 10, -5, 9223372036854775808, (6, 10, -5))
t(6, 10, -3, 0, (-1, -1, -3))
t(6, 10, -3, 1, (0, 0, -3))
t(6, 10, -3, 5, (4, 4, -3))
t(6, 10, -3, 10, (6, 9, -3))
t(6, 10, -3, 100, (6, 10, -3))
t(6, 10, -3, 2147483647, (6, 10, -3))
t(6, 10, -3, 9223372036854775808, (6, 10, -3))
t(6, 10, -1, 0, (-1, -1, -1))
t(6, 10, -1, 1, (0, 0, -1))
t(6, 10, -1, 5, (4, 4, -1))
t(6, 10, -1, 10, (6, 9, -1))
t(6, 10, -1, 100, (6, 10, -1))
t(6, 10, -1, 2147483647, (6, 10, -1))
t(6, 10, -1, 9223372036854775808, (6, 10, -1))
t(6, 10, 1, 0, (0, 0, 1))
t(6, 10, 1, 1, (1, 1, 1))
t(6, 10, 1, 5, (5, 5, 1))
t(6, 10, 1, 10, (6, 10, 1))
t(6, 10, 1, 100, (6, 10, 1))
t(6, 10, 1, 2147483647, (6, 10, 1))
t(6, 10, 1, 9223372036854775808, (6, 10, 1))
t(6, 10, 5, 0, (0, 0, 5))
t(6, 10, 5, 1, (1, 1, 5))
t(6, 10, 5, 5, (5, 5, 5))
t(6, 10, 5, 10, (6, 10, 5))
t(6, 10, 5, 100, (6, 10, 5))
t(6, 10, 5, 2147483647, (6, 10, 5))
t(6, 10, 5, 9223372036854775808, (6, 10, 5))
t(6, 10, 20, 0, (0, 0, 20))
t(6, 10, 20, 1, (1, 1, 20))
t(6, 10, 20, 5, (5, 5, 20))
t(6, 10, 20, 10, (6, 10, 20))
t(6, 10, 20, 100, (6, 10, 20))
t(6, 10, 20, 2147483647, (6, 10, 20))
t(6, 10, 20, 9223372036854775808, (6, 10, 20))
t(6, 10, 2147483647, 0, (0, 0, 2147483647))
t(6, 10, 2147483647, 1, (1, 1, 2147483647))
t(6, 10, 2147483647, 5, (5, 5, 2147483647))
t(6, 10, 2147483647, 10, (6, 10, 2147483647))
t(6, 10, 2147483647, 100, (6, 10, 2147483647))
t(6, 10, 2147483647, 2147483647, (6, 10, 2147483647))
t(6, 10, 2147483647, 9223372036854775808, (6, 10, 2147483647))
t(6, 10, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(6, 10, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(6, 10, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(6, 10, 9223372036854775808, 10, (6, 10, 9223372036854775808))
t(6, 10, 9223372036854775808, 100, (6, 10, 9223372036854775808))
t(6, 10, 9223372036854775808, 2147483647, (6, 10, 9223372036854775808))
t(6, 10, 9223372036854775808, 9223372036854775808, (6, 10, 9223372036854775808))
t(6, 2147483647, None, 0, (0, 0, 1))
t(6, 2147483647, None, 1, (1, 1, 1))
t(6, 2147483647, None, 5, (5, 5, 1))
t(6, 2147483647, None, 10, (6, 10, 1))
t(6, 2147483647, None, 100, (6, 100, 1))
t(6, 2147483647, None, 2147483647, (6, 2147483647, 1))
t(6, 2147483647, None, 9223372036854775808, (6, 2147483647, 1))
t(6, 2147483647, -5, 0, (-1, -1, -5))
t(6, 2147483647, -5, 1, (0, 0, -5))
t(6, 2147483647, -5, 5, (4, 4, -5))
t(6, 2147483647, -5, 10, (6, 9, -5))
t(6, 2147483647, -5, 100, (6, 99, -5))
t(6, 2147483647, -5, 2147483647, (6, 2147483646, -5))
t(6, 2147483647, -5, 9223372036854775808, (6, 2147483647, -5))
t(6, 2147483647, -3, 0, (-1, -1, -3))
t(6, 2147483647, -3, 1, (0, 0, -3))
t(6, 2147483647, -3, 5, (4, 4, -3))
t(6, 2147483647, -3, 10, (6, 9, -3))
t(6, 2147483647, -3, 100, (6, 99, -3))
t(6, 2147483647, -3, 2147483647, (6, 2147483646, -3))
t(6, 2147483647, -3, 9223372036854775808, (6, 2147483647, -3))
t(6, 2147483647, -1, 0, (-1, -1, -1))
t(6, 2147483647, -1, 1, (0, 0, -1))
t(6, 2147483647, -1, 5, (4, 4, -1))
t(6, 2147483647, -1, 10, (6, 9, -1))
t(6, 2147483647, -1, 100, (6, 99, -1))
t(6, 2147483647, -1, 2147483647, (6, 2147483646, -1))
t(6, 2147483647, -1, 9223372036854775808, (6, 2147483647, -1))
t(6, 2147483647, 1, 0, (0, 0, 1))
t(6, 2147483647, 1, 1, (1, 1, 1))
t(6, 2147483647, 1, 5, (5, 5, 1))
t(6, 2147483647, 1, 10, (6, 10, 1))
t(6, 2147483647, 1, 100, (6, 100, 1))
t(6, 2147483647, 1, 2147483647, (6, 2147483647, 1))
t(6, 2147483647, 1, 9223372036854775808, (6, 2147483647, 1))
t(6, 2147483647, 5, 0, (0, 0, 5))
t(6, 2147483647, 5, 1, (1, 1, 5))
t(6, 2147483647, 5, 5, (5, 5, 5))
t(6, 2147483647, 5, 10, (6, 10, 5))
t(6, 2147483647, 5, 100, (6, 100, 5))
t(6, 2147483647, 5, 2147483647, (6, 2147483647, 5))
t(6, 2147483647, 5, 9223372036854775808, (6, 2147483647, 5))
t(6, 2147483647, 20, 0, (0, 0, 20))
t(6, 2147483647, 20, 1, (1, 1, 20))
t(6, 2147483647, 20, 5, (5, 5, 20))
t(6, 2147483647, 20, 10, (6, 10, 20))
t(6, 2147483647, 20, 100, (6, 100, 20))
t(6, 2147483647, 20, 2147483647, (6, 2147483647, 20))
t(6, 2147483647, 20, 9223372036854775808, (6, 2147483647, 20))
t(6, 2147483647, 2147483647, 0, (0, 0, 2147483647))
t(6, 2147483647, 2147483647, 1, (1, 1, 2147483647))
t(6, 2147483647, 2147483647, 5, (5, 5, 2147483647))
t(6, 2147483647, 2147483647, 10, (6, 10, 2147483647))
t(6, 2147483647, 2147483647, 100, (6, 100, 2147483647))
t(6, 2147483647, 2147483647, 2147483647, (6, 2147483647, 2147483647))
t(6, 2147483647, 2147483647, 9223372036854775808, (6, 2147483647, 2147483647))
t(6, 2147483647, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(6, 2147483647, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(6, 2147483647, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(6, 2147483647, 9223372036854775808, 10, (6, 10, 9223372036854775808))
t(6, 2147483647, 9223372036854775808, 100, (6, 100, 9223372036854775808))
t(6, 2147483647, 9223372036854775808, 2147483647, (6, 2147483647, 9223372036854775808))
t(6, 2147483647, 9223372036854775808, 9223372036854775808, (6, 2147483647, 9223372036854775808))
t(6, 9223372036854775808, None, 0, (0, 0, 1))
t(6, 9223372036854775808, None, 1, (1, 1, 1))
t(6, 9223372036854775808, None, 5, (5, 5, 1))
t(6, 9223372036854775808, None, 10, (6, 10, 1))
t(6, 9223372036854775808, None, 100, (6, 100, 1))
t(6, 9223372036854775808, None, 2147483647, (6, 2147483647, 1))
t(6, 9223372036854775808, None, 9223372036854775808, (6, 9223372036854775808, 1))
t(6, 9223372036854775808, -5, 0, (-1, -1, -5))
t(6, 9223372036854775808, -5, 1, (0, 0, -5))
t(6, 9223372036854775808, -5, 5, (4, 4, -5))
t(6, 9223372036854775808, -5, 10, (6, 9, -5))
t(6, 9223372036854775808, -5, 100, (6, 99, -5))
t(6, 9223372036854775808, -5, 2147483647, (6, 2147483646, -5))
t(6, 9223372036854775808, -5, 9223372036854775808, (6, 9223372036854775807, -5))
t(6, 9223372036854775808, -3, 0, (-1, -1, -3))
t(6, 9223372036854775808, -3, 1, (0, 0, -3))
t(6, 9223372036854775808, -3, 5, (4, 4, -3))
t(6, 9223372036854775808, -3, 10, (6, 9, -3))
t(6, 9223372036854775808, -3, 100, (6, 99, -3))
t(6, 9223372036854775808, -3, 2147483647, (6, 2147483646, -3))
t(6, 9223372036854775808, -3, 9223372036854775808, (6, 9223372036854775807, -3))
t(6, 9223372036854775808, -1, 0, (-1, -1, -1))
t(6, 9223372036854775808, -1, 1, (0, 0, -1))
t(6, 9223372036854775808, -1, 5, (4, 4, -1))
t(6, 9223372036854775808, -1, 10, (6, 9, -1))
t(6, 9223372036854775808, -1, 100, (6, 99, -1))
t(6, 9223372036854775808, -1, 2147483647, (6, 2147483646, -1))
t(6, 9223372036854775808, -1, 9223372036854775808, (6, 9223372036854775807, -1))
t(6, 9223372036854775808, 1, 0, (0, 0, 1))
t(6, 9223372036854775808, 1, 1, (1, 1, 1))
t(6, 9223372036854775808, 1, 5, (5, 5, 1))
t(6, 9223372036854775808, 1, 10, (6, 10, 1))
t(6, 9223372036854775808, 1, 100, (6, 100, 1))
t(6, 9223372036854775808, 1, 2147483647, (6, 2147483647, 1))
t(6, 9223372036854775808, 1, 9223372036854775808, (6, 9223372036854775808, 1))
t(6, 9223372036854775808, 5, 0, (0, 0, 5))
t(6, 9223372036854775808, 5, 1, (1, 1, 5))
t(6, 9223372036854775808, 5, 5, (5, 5, 5))
t(6, 9223372036854775808, 5, 10, (6, 10, 5))
t(6, 9223372036854775808, 5, 100, (6, 100, 5))
t(6, 9223372036854775808, 5, 2147483647, (6, 2147483647, 5))
t(6, 9223372036854775808, 5, 9223372036854775808, (6, 9223372036854775808, 5))
t(6, 9223372036854775808, 20, 0, (0, 0, 20))
t(6, 9223372036854775808, 20, 1, (1, 1, 20))
t(6, 9223372036854775808, 20, 5, (5, 5, 20))
t(6, 9223372036854775808, 20, 10, (6, 10, 20))
t(6, 9223372036854775808, 20, 100, (6, 100, 20))
t(6, 9223372036854775808, 20, 2147483647, (6, 2147483647, 20))
t(6, 9223372036854775808, 20, 9223372036854775808, (6, 9223372036854775808, 20))
t(6, 9223372036854775808, 2147483647, 0, (0, 0, 2147483647))
t(6, 9223372036854775808, 2147483647, 1, (1, 1, 2147483647))
t(6, 9223372036854775808, 2147483647, 5, (5, 5, 2147483647))
t(6, 9223372036854775808, 2147483647, 10, (6, 10, 2147483647))
t(6, 9223372036854775808, 2147483647, 100, (6, 100, 2147483647))
t(6, 9223372036854775808, 2147483647, 2147483647, (6, 2147483647, 2147483647))
t(6, 9223372036854775808, 2147483647, 9223372036854775808, (6, 9223372036854775808, 2147483647))
t(6, 9223372036854775808, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(6, 9223372036854775808, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(6, 9223372036854775808, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(6, 9223372036854775808, 9223372036854775808, 10, (6, 10, 9223372036854775808))
t(6, 9223372036854775808, 9223372036854775808, 100, (6, 100, 9223372036854775808))
t(6, 9223372036854775808, 9223372036854775808, 2147483647, (6, 2147483647, 9223372036854775808))
t(6, 9223372036854775808, 9223372036854775808, 9223372036854775808, (6, 9223372036854775808, 9223372036854775808))
t(10, None, None, 0, (0, 0, 1))
t(10, None, None, 1, (1, 1, 1))
t(10, None, None, 5, (5, 5, 1))
t(10, None, None, 10, (10, 10, 1))
t(10, None, None, 100, (10, 100, 1))
t(10, None, None, 2147483647, (10, 2147483647, 1))
t(10, None, None, 9223372036854775808, (10, 9223372036854775808, 1))
t(10, None, -5, 0, (-1, -1, -5))
t(10, None, -5, 1, (0, -1, -5))
t(10, None, -5, 5, (4, -1, -5))
t(10, None, -5, 10, (9, -1, -5))
t(10, None, -5, 100, (10, -1, -5))
t(10, None, -5, 2147483647, (10, -1, -5))
t(10, None, -5, 9223372036854775808, (10, -1, -5))
t(10, None, -3, 0, (-1, -1, -3))
t(10, None, -3, 1, (0, -1, -3))
t(10, None, -3, 5, (4, -1, -3))
t(10, None, -3, 10, (9, -1, -3))
t(10, None, -3, 100, (10, -1, -3))
t(10, None, -3, 2147483647, (10, -1, -3))
t(10, None, -3, 9223372036854775808, (10, -1, -3))
t(10, None, -1, 0, (-1, -1, -1))
t(10, None, -1, 1, (0, -1, -1))
t(10, None, -1, 5, (4, -1, -1))
t(10, None, -1, 10, (9, -1, -1))
t(10, None, -1, 100, (10, -1, -1))
t(10, None, -1, 2147483647, (10, -1, -1))
t(10, None, -1, 9223372036854775808, (10, -1, -1))
t(10, None, 1, 0, (0, 0, 1))
t(10, None, 1, 1, (1, 1, 1))
t(10, None, 1, 5, (5, 5, 1))
t(10, None, 1, 10, (10, 10, 1))
t(10, None, 1, 100, (10, 100, 1))
t(10, None, 1, 2147483647, (10, 2147483647, 1))
t(10, None, 1, 9223372036854775808, (10, 9223372036854775808, 1))
t(10, None, 5, 0, (0, 0, 5))
t(10, None, 5, 1, (1, 1, 5))
t(10, None, 5, 5, (5, 5, 5))
t(10, None, 5, 10, (10, 10, 5))
t(10, None, 5, 100, (10, 100, 5))
t(10, None, 5, 2147483647, (10, 2147483647, 5))
t(10, None, 5, 9223372036854775808, (10, 9223372036854775808, 5))
t(10, None, 20, 0, (0, 0, 20))
t(10, None, 20, 1, (1, 1, 20))
t(10, None, 20, 5, (5, 5, 20))
t(10, None, 20, 10, (10, 10, 20))
t(10, None, 20, 100, (10, 100, 20))
t(10, None, 20, 2147483647, (10, 2147483647, 20))
t(10, None, 20, 9223372036854775808, (10, 9223372036854775808, 20))
t(10, None, 2147483647, 0, (0, 0, 2147483647))
t(10, None, 2147483647, 1, (1, 1, 2147483647))
t(10, None, 2147483647, 5, (5, 5, 2147483647))
t(10, None, 2147483647, 10, (10, 10, 2147483647))
t(10, None, 2147483647, 100, (10, 100, 2147483647))
t(10, None, 2147483647, 2147483647, (10, 2147483647, 2147483647))
t(10, None, 2147483647, 9223372036854775808, (10, 9223372036854775808, 2147483647))
t(10, None, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(10, None, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(10, None, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(10, None, 9223372036854775808, 10, (10, 10, 9223372036854775808))
t(10, None, 9223372036854775808, 100, (10, 100, 9223372036854775808))
t(10, None, 9223372036854775808, 2147483647, (10, 2147483647, 9223372036854775808))
t(10, None, 9223372036854775808, 9223372036854775808, (10, 9223372036854775808, 9223372036854775808))
t(10, -7, None, 0, (0, 0, 1))
t(10, -7, None, 1, (1, 0, 1))
t(10, -7, None, 5, (5, 0, 1))
t(10, -7, None, 10, (10, 3, 1))
t(10, -7, None, 100, (10, 93, 1))
t(10, -7, None, 2147483647, (10, 2147483640, 1))
t(10, -7, None, 9223372036854775808, (10, 9223372036854775801, 1))
t(10, -7, -5, 0, (-1, -1, -5))
t(10, -7, -5, 1, (0, -1, -5))
t(10, -7, -5, 5, (4, -1, -5))
t(10, -7, -5, 10, (9, 3, -5))
t(10, -7, -5, 100, (10, 93, -5))
t(10, -7, -5, 2147483647, (10, 2147483640, -5))
t(10, -7, -5, 9223372036854775808, (10, 9223372036854775801, -5))
t(10, -7, -3, 0, (-1, -1, -3))
t(10, -7, -3, 1, (0, -1, -3))
t(10, -7, -3, 5, (4, -1, -3))
t(10, -7, -3, 10, (9, 3, -3))
t(10, -7, -3, 100, (10, 93, -3))
t(10, -7, -3, 2147483647, (10, 2147483640, -3))
t(10, -7, -3, 9223372036854775808, (10, 9223372036854775801, -3))
t(10, -7, -1, 0, (-1, -1, -1))
t(10, -7, -1, 1, (0, -1, -1))
t(10, -7, -1, 5, (4, -1, -1))
t(10, -7, -1, 10, (9, 3, -1))
t(10, -7, -1, 100, (10, 93, -1))
t(10, -7, -1, 2147483647, (10, 2147483640, -1))
t(10, -7, -1, 9223372036854775808, (10, 9223372036854775801, -1))
t(10, -7, 1, 0, (0, 0, 1))
t(10, -7, 1, 1, (1, 0, 1))
t(10, -7, 1, 5, (5, 0, 1))
t(10, -7, 1, 10, (10, 3, 1))
t(10, -7, 1, 100, (10, 93, 1))
t(10, -7, 1, 2147483647, (10, 2147483640, 1))
t(10, -7, 1, 9223372036854775808, (10, 9223372036854775801, 1))
t(10, -7, 5, 0, (0, 0, 5))
t(10, -7, 5, 1, (1, 0, 5))
t(10, -7, 5, 5, (5, 0, 5))
t(10, -7, 5, 10, (10, 3, 5))
t(10, -7, 5, 100, (10, 93, 5))
t(10, -7, 5, 2147483647, (10, 2147483640, 5))
t(10, -7, 5, 9223372036854775808, (10, 9223372036854775801, 5))
t(10, -7, 20, 0, (0, 0, 20))
t(10, -7, 20, 1, (1, 0, 20))
t(10, -7, 20, 5, (5, 0, 20))
t(10, -7, 20, 10, (10, 3, 20))
t(10, -7, 20, 100, (10, 93, 20))
t(10, -7, 20, 2147483647, (10, 2147483640, 20))
t(10, -7, 20, 9223372036854775808, (10, 9223372036854775801, 20))
t(10, -7, 2147483647, 0, (0, 0, 2147483647))
t(10, -7, 2147483647, 1, (1, 0, 2147483647))
t(10, -7, 2147483647, 5, (5, 0, 2147483647))
t(10, -7, 2147483647, 10, (10, 3, 2147483647))
t(10, -7, 2147483647, 100, (10, 93, 2147483647))
t(10, -7, 2147483647, 2147483647, (10, 2147483640, 2147483647))
t(10, -7, 2147483647, 9223372036854775808, (10, 9223372036854775801, 2147483647))
t(10, -7, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(10, -7, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(10, -7, 9223372036854775808, 5, (5, 0, 9223372036854775808))
t(10, -7, 9223372036854775808, 10, (10, 3, 9223372036854775808))
t(10, -7, 9223372036854775808, 100, (10, 93, 9223372036854775808))
t(10, -7, 9223372036854775808, 2147483647, (10, 2147483640, 9223372036854775808))
t(10, -7, 9223372036854775808, 9223372036854775808, (10, 9223372036854775801, 9223372036854775808))
t(10, -2, None, 0, (0, 0, 1))
t(10, -2, None, 1, (1, 0, 1))
t(10, -2, None, 5, (5, 3, 1))
t(10, -2, None, 10, (10, 8, 1))
t(10, -2, None, 100, (10, 98, 1))
t(10, -2, None, 2147483647, (10, 2147483645, 1))
t(10, -2, None, 9223372036854775808, (10, 9223372036854775806, 1))
t(10, -2, -5, 0, (-1, -1, -5))
t(10, -2, -5, 1, (0, -1, -5))
t(10, -2, -5, 5, (4, 3, -5))
t(10, -2, -5, 10, (9, 8, -5))
t(10, -2, -5, 100, (10, 98, -5))
t(10, -2, -5, 2147483647, (10, 2147483645, -5))
t(10, -2, -5, 9223372036854775808, (10, 9223372036854775806, -5))
t(10, -2, -3, 0, (-1, -1, -3))
t(10, -2, -3, 1, (0, -1, -3))
t(10, -2, -3, 5, (4, 3, -3))
t(10, -2, -3, 10, (9, 8, -3))
t(10, -2, -3, 100, (10, 98, -3))
t(10, -2, -3, 2147483647, (10, 2147483645, -3))
t(10, -2, -3, 9223372036854775808, (10, 9223372036854775806, -3))
t(10, -2, -1, 0, (-1, -1, -1))
t(10, -2, -1, 1, (0, -1, -1))
t(10, -2, -1, 5, (4, 3, -1))
t(10, -2, -1, 10, (9, 8, -1))
t(10, -2, -1, 100, (10, 98, -1))
t(10, -2, -1, 2147483647, (10, 2147483645, -1))
t(10, -2, -1, 9223372036854775808, (10, 9223372036854775806, -1))
t(10, -2, 1, 0, (0, 0, 1))
t(10, -2, 1, 1, (1, 0, 1))
t(10, -2, 1, 5, (5, 3, 1))
t(10, -2, 1, 10, (10, 8, 1))
t(10, -2, 1, 100, (10, 98, 1))
t(10, -2, 1, 2147483647, (10, 2147483645, 1))
t(10, -2, 1, 9223372036854775808, (10, 9223372036854775806, 1))
t(10, -2, 5, 0, (0, 0, 5))
t(10, -2, 5, 1, (1, 0, 5))
t(10, -2, 5, 5, (5, 3, 5))
t(10, -2, 5, 10, (10, 8, 5))
t(10, -2, 5, 100, (10, 98, 5))
t(10, -2, 5, 2147483647, (10, 2147483645, 5))
t(10, -2, 5, 9223372036854775808, (10, 9223372036854775806, 5))
t(10, -2, 20, 0, (0, 0, 20))
t(10, -2, 20, 1, (1, 0, 20))
t(10, -2, 20, 5, (5, 3, 20))
t(10, -2, 20, 10, (10, 8, 20))
t(10, -2, 20, 100, (10, 98, 20))
t(10, -2, 20, 2147483647, (10, 2147483645, 20))
t(10, -2, 20, 9223372036854775808, (10, 9223372036854775806, 20))
t(10, -2, 2147483647, 0, (0, 0, 2147483647))
t(10, -2, 2147483647, 1, (1, 0, 2147483647))
t(10, -2, 2147483647, 5, (5, 3, 2147483647))
t(10, -2, 2147483647, 10, (10, 8, 2147483647))
t(10, -2, 2147483647, 100, (10, 98, 2147483647))
t(10, -2, 2147483647, 2147483647, (10, 2147483645, 2147483647))
t(10, -2, 2147483647, 9223372036854775808, (10, 9223372036854775806, 2147483647))
t(10, -2, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(10, -2, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(10, -2, 9223372036854775808, 5, (5, 3, 9223372036854775808))
t(10, -2, 9223372036854775808, 10, (10, 8, 9223372036854775808))
t(10, -2, 9223372036854775808, 100, (10, 98, 9223372036854775808))
t(10, -2, 9223372036854775808, 2147483647, (10, 2147483645, 9223372036854775808))
t(10, -2, 9223372036854775808, 9223372036854775808, (10, 9223372036854775806, 9223372036854775808))
t(10, 0, None, 0, (0, 0, 1))
t(10, 0, None, 1, (1, 0, 1))
t(10, 0, None, 5, (5, 0, 1))
t(10, 0, None, 10, (10, 0, 1))
t(10, 0, None, 100, (10, 0, 1))
t(10, 0, None, 2147483647, (10, 0, 1))
t(10, 0, None, 9223372036854775808, (10, 0, 1))
t(10, 0, -5, 0, (-1, -1, -5))
t(10, 0, -5, 1, (0, 0, -5))
t(10, 0, -5, 5, (4, 0, -5))
t(10, 0, -5, 10, (9, 0, -5))
t(10, 0, -5, 100, (10, 0, -5))
t(10, 0, -5, 2147483647, (10, 0, -5))
t(10, 0, -5, 9223372036854775808, (10, 0, -5))
t(10, 0, -3, 0, (-1, -1, -3))
t(10, 0, -3, 1, (0, 0, -3))
t(10, 0, -3, 5, (4, 0, -3))
t(10, 0, -3, 10, (9, 0, -3))
t(10, 0, -3, 100, (10, 0, -3))
t(10, 0, -3, 2147483647, (10, 0, -3))
t(10, 0, -3, 9223372036854775808, (10, 0, -3))
t(10, 0, -1, 0, (-1, -1, -1))
t(10, 0, -1, 1, (0, 0, -1))
t(10, 0, -1, 5, (4, 0, -1))
t(10, 0, -1, 10, (9, 0, -1))
t(10, 0, -1, 100, (10, 0, -1))
t(10, 0, -1, 2147483647, (10, 0, -1))
t(10, 0, -1, 9223372036854775808, (10, 0, -1))
t(10, 0, 1, 0, (0, 0, 1))
t(10, 0, 1, 1, (1, 0, 1))
t(10, 0, 1, 5, (5, 0, 1))
t(10, 0, 1, 10, (10, 0, 1))
t(10, 0, 1, 100, (10, 0, 1))
t(10, 0, 1, 2147483647, (10, 0, 1))
t(10, 0, 1, 9223372036854775808, (10, 0, 1))
t(10, 0, 5, 0, (0, 0, 5))
t(10, 0, 5, 1, (1, 0, 5))
t(10, 0, 5, 5, (5, 0, 5))
t(10, 0, 5, 10, (10, 0, 5))
t(10, 0, 5, 100, (10, 0, 5))
t(10, 0, 5, 2147483647, (10, 0, 5))
t(10, 0, 5, 9223372036854775808, (10, 0, 5))
t(10, 0, 20, 0, (0, 0, 20))
t(10, 0, 20, 1, (1, 0, 20))
t(10, 0, 20, 5, (5, 0, 20))
t(10, 0, 20, 10, (10, 0, 20))
t(10, 0, 20, 100, (10, 0, 20))
t(10, 0, 20, 2147483647, (10, 0, 20))
t(10, 0, 20, 9223372036854775808, (10, 0, 20))
t(10, 0, 2147483647, 0, (0, 0, 2147483647))
t(10, 0, 2147483647, 1, (1, 0, 2147483647))
t(10, 0, 2147483647, 5, (5, 0, 2147483647))
t(10, 0, 2147483647, 10, (10, 0, 2147483647))
t(10, 0, 2147483647, 100, (10, 0, 2147483647))
t(10, 0, 2147483647, 2147483647, (10, 0, 2147483647))
t(10, 0, 2147483647, 9223372036854775808, (10, 0, 2147483647))
t(10, 0, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(10, 0, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(10, 0, 9223372036854775808, 5, (5, 0, 9223372036854775808))
t(10, 0, 9223372036854775808, 10, (10, 0, 9223372036854775808))
t(10, 0, 9223372036854775808, 100, (10, 0, 9223372036854775808))
t(10, 0, 9223372036854775808, 2147483647, (10, 0, 9223372036854775808))
t(10, 0, 9223372036854775808, 9223372036854775808, (10, 0, 9223372036854775808))
t(10, 1, None, 0, (0, 0, 1))
t(10, 1, None, 1, (1, 1, 1))
t(10, 1, None, 5, (5, 1, 1))
t(10, 1, None, 10, (10, 1, 1))
t(10, 1, None, 100, (10, 1, 1))
t(10, 1, None, 2147483647, (10, 1, 1))
t(10, 1, None, 9223372036854775808, (10, 1, 1))
t(10, 1, -5, 0, (-1, -1, -5))
t(10, 1, -5, 1, (0, 0, -5))
t(10, 1, -5, 5, (4, 1, -5))
t(10, 1, -5, 10, (9, 1, -5))
t(10, 1, -5, 100, (10, 1, -5))
t(10, 1, -5, 2147483647, (10, 1, -5))
t(10, 1, -5, 9223372036854775808, (10, 1, -5))
t(10, 1, -3, 0, (-1, -1, -3))
t(10, 1, -3, 1, (0, 0, -3))
t(10, 1, -3, 5, (4, 1, -3))
t(10, 1, -3, 10, (9, 1, -3))
t(10, 1, -3, 100, (10, 1, -3))
t(10, 1, -3, 2147483647, (10, 1, -3))
t(10, 1, -3, 9223372036854775808, (10, 1, -3))
t(10, 1, -1, 0, (-1, -1, -1))
t(10, 1, -1, 1, (0, 0, -1))
t(10, 1, -1, 5, (4, 1, -1))
t(10, 1, -1, 10, (9, 1, -1))
t(10, 1, -1, 100, (10, 1, -1))
t(10, 1, -1, 2147483647, (10, 1, -1))
t(10, 1, -1, 9223372036854775808, (10, 1, -1))
t(10, 1, 1, 0, (0, 0, 1))
t(10, 1, 1, 1, (1, 1, 1))
t(10, 1, 1, 5, (5, 1, 1))
t(10, 1, 1, 10, (10, 1, 1))
t(10, 1, 1, 100, (10, 1, 1))
t(10, 1, 1, 2147483647, (10, 1, 1))
t(10, 1, 1, 9223372036854775808, (10, 1, 1))
t(10, 1, 5, 0, (0, 0, 5))
t(10, 1, 5, 1, (1, 1, 5))
t(10, 1, 5, 5, (5, 1, 5))
t(10, 1, 5, 10, (10, 1, 5))
t(10, 1, 5, 100, (10, 1, 5))
t(10, 1, 5, 2147483647, (10, 1, 5))
t(10, 1, 5, 9223372036854775808, (10, 1, 5))
t(10, 1, 20, 0, (0, 0, 20))
t(10, 1, 20, 1, (1, 1, 20))
t(10, 1, 20, 5, (5, 1, 20))
t(10, 1, 20, 10, (10, 1, 20))
t(10, 1, 20, 100, (10, 1, 20))
t(10, 1, 20, 2147483647, (10, 1, 20))
t(10, 1, 20, 9223372036854775808, (10, 1, 20))
t(10, 1, 2147483647, 0, (0, 0, 2147483647))
t(10, 1, 2147483647, 1, (1, 1, 2147483647))
t(10, 1, 2147483647, 5, (5, 1, 2147483647))
t(10, 1, 2147483647, 10, (10, 1, 2147483647))
t(10, 1, 2147483647, 100, (10, 1, 2147483647))
t(10, 1, 2147483647, 2147483647, (10, 1, 2147483647))
t(10, 1, 2147483647, 9223372036854775808, (10, 1, 2147483647))
t(10, 1, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(10, 1, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(10, 1, 9223372036854775808, 5, (5, 1, 9223372036854775808))
t(10, 1, 9223372036854775808, 10, (10, 1, 9223372036854775808))
t(10, 1, 9223372036854775808, 100, (10, 1, 9223372036854775808))
t(10, 1, 9223372036854775808, 2147483647, (10, 1, 9223372036854775808))
t(10, 1, 9223372036854775808, 9223372036854775808, (10, 1, 9223372036854775808))
t(10, 6, None, 0, (0, 0, 1))
t(10, 6, None, 1, (1, 1, 1))
t(10, 6, None, 5, (5, 5, 1))
t(10, 6, None, 10, (10, 6, 1))
t(10, 6, None, 100, (10, 6, 1))
t(10, 6, None, 2147483647, (10, 6, 1))
t(10, 6, None, 9223372036854775808, (10, 6, 1))
t(10, 6, -5, 0, (-1, -1, -5))
t(10, 6, -5, 1, (0, 0, -5))
t(10, 6, -5, 5, (4, 4, -5))
t(10, 6, -5, 10, (9, 6, -5))
t(10, 6, -5, 100, (10, 6, -5))
t(10, 6, -5, 2147483647, (10, 6, -5))
t(10, 6, -5, 9223372036854775808, (10, 6, -5))
t(10, 6, -3, 0, (-1, -1, -3))
t(10, 6, -3, 1, (0, 0, -3))
t(10, 6, -3, 5, (4, 4, -3))
t(10, 6, -3, 10, (9, 6, -3))
t(10, 6, -3, 100, (10, 6, -3))
t(10, 6, -3, 2147483647, (10, 6, -3))
t(10, 6, -3, 9223372036854775808, (10, 6, -3))
t(10, 6, -1, 0, (-1, -1, -1))
t(10, 6, -1, 1, (0, 0, -1))
t(10, 6, -1, 5, (4, 4, -1))
t(10, 6, -1, 10, (9, 6, -1))
t(10, 6, -1, 100, (10, 6, -1))
t(10, 6, -1, 2147483647, (10, 6, -1))
t(10, 6, -1, 9223372036854775808, (10, 6, -1))
t(10, 6, 1, 0, (0, 0, 1))
t(10, 6, 1, 1, (1, 1, 1))
t(10, 6, 1, 5, (5, 5, 1))
t(10, 6, 1, 10, (10, 6, 1))
t(10, 6, 1, 100, (10, 6, 1))
t(10, 6, 1, 2147483647, (10, 6, 1))
t(10, 6, 1, 9223372036854775808, (10, 6, 1))
t(10, 6, 5, 0, (0, 0, 5))
t(10, 6, 5, 1, (1, 1, 5))
t(10, 6, 5, 5, (5, 5, 5))
t(10, 6, 5, 10, (10, 6, 5))
t(10, 6, 5, 100, (10, 6, 5))
t(10, 6, 5, 2147483647, (10, 6, 5))
t(10, 6, 5, 9223372036854775808, (10, 6, 5))
t(10, 6, 20, 0, (0, 0, 20))
t(10, 6, 20, 1, (1, 1, 20))
t(10, 6, 20, 5, (5, 5, 20))
t(10, 6, 20, 10, (10, 6, 20))
t(10, 6, 20, 100, (10, 6, 20))
t(10, 6, 20, 2147483647, (10, 6, 20))
t(10, 6, 20, 9223372036854775808, (10, 6, 20))
t(10, 6, 2147483647, 0, (0, 0, 2147483647))
t(10, 6, 2147483647, 1, (1, 1, 2147483647))
t(10, 6, 2147483647, 5, (5, 5, 2147483647))
t(10, 6, 2147483647, 10, (10, 6, 2147483647))
t(10, 6, 2147483647, 100, (10, 6, 2147483647))
t(10, 6, 2147483647, 2147483647, (10, 6, 2147483647))
t(10, 6, 2147483647, 9223372036854775808, (10, 6, 2147483647))
t(10, 6, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(10, 6, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(10, 6, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(10, 6, 9223372036854775808, 10, (10, 6, 9223372036854775808))
t(10, 6, 9223372036854775808, 100, (10, 6, 9223372036854775808))
t(10, 6, 9223372036854775808, 2147483647, (10, 6, 9223372036854775808))
t(10, 6, 9223372036854775808, 9223372036854775808, (10, 6, 9223372036854775808))
t(10, 10, None, 0, (0, 0, 1))
t(10, 10, None, 1, (1, 1, 1))
t(10, 10, None, 5, (5, 5, 1))
t(10, 10, None, 10, (10, 10, 1))
t(10, 10, None, 100, (10, 10, 1))
t(10, 10, None, 2147483647, (10, 10, 1))
t(10, 10, None, 9223372036854775808, (10, 10, 1))
t(10, 10, -5, 0, (-1, -1, -5))
t(10, 10, -5, 1, (0, 0, -5))
t(10, 10, -5, 5, (4, 4, -5))
t(10, 10, -5, 10, (9, 9, -5))
t(10, 10, -5, 100, (10, 10, -5))
t(10, 10, -5, 2147483647, (10, 10, -5))
t(10, 10, -5, 9223372036854775808, (10, 10, -5))
t(10, 10, -3, 0, (-1, -1, -3))
t(10, 10, -3, 1, (0, 0, -3))
t(10, 10, -3, 5, (4, 4, -3))
t(10, 10, -3, 10, (9, 9, -3))
t(10, 10, -3, 100, (10, 10, -3))
t(10, 10, -3, 2147483647, (10, 10, -3))
t(10, 10, -3, 9223372036854775808, (10, 10, -3))
t(10, 10, -1, 0, (-1, -1, -1))
t(10, 10, -1, 1, (0, 0, -1))
t(10, 10, -1, 5, (4, 4, -1))
t(10, 10, -1, 10, (9, 9, -1))
t(10, 10, -1, 100, (10, 10, -1))
t(10, 10, -1, 2147483647, (10, 10, -1))
t(10, 10, -1, 9223372036854775808, (10, 10, -1))
t(10, 10, 1, 0, (0, 0, 1))
t(10, 10, 1, 1, (1, 1, 1))
t(10, 10, 1, 5, (5, 5, 1))
t(10, 10, 1, 10, (10, 10, 1))
t(10, 10, 1, 100, (10, 10, 1))
t(10, 10, 1, 2147483647, (10, 10, 1))
t(10, 10, 1, 9223372036854775808, (10, 10, 1))
t(10, 10, 5, 0, (0, 0, 5))
t(10, 10, 5, 1, (1, 1, 5))
t(10, 10, 5, 5, (5, 5, 5))
t(10, 10, 5, 10, (10, 10, 5))
t(10, 10, 5, 100, (10, 10, 5))
t(10, 10, 5, 2147483647, (10, 10, 5))
t(10, 10, 5, 9223372036854775808, (10, 10, 5))
t(10, 10, 20, 0, (0, 0, 20))
t(10, 10, 20, 1, (1, 1, 20))
t(10, 10, 20, 5, (5, 5, 20))
t(10, 10, 20, 10, (10, 10, 20))
t(10, 10, 20, 100, (10, 10, 20))
t(10, 10, 20, 2147483647, (10, 10, 20))
t(10, 10, 20, 9223372036854775808, (10, 10, 20))
t(10, 10, 2147483647, 0, (0, 0, 2147483647))
t(10, 10, 2147483647, 1, (1, 1, 2147483647))
t(10, 10, 2147483647, 5, (5, 5, 2147483647))
t(10, 10, 2147483647, 10, (10, 10, 2147483647))
t(10, 10, 2147483647, 100, (10, 10, 2147483647))
t(10, 10, 2147483647, 2147483647, (10, 10, 2147483647))
t(10, 10, 2147483647, 9223372036854775808, (10, 10, 2147483647))
t(10, 10, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(10, 10, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(10, 10, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(10, 10, 9223372036854775808, 10, (10, 10, 9223372036854775808))
t(10, 10, 9223372036854775808, 100, (10, 10, 9223372036854775808))
t(10, 10, 9223372036854775808, 2147483647, (10, 10, 9223372036854775808))
t(10, 10, 9223372036854775808, 9223372036854775808, (10, 10, 9223372036854775808))
t(10, 2147483647, None, 0, (0, 0, 1))
t(10, 2147483647, None, 1, (1, 1, 1))
t(10, 2147483647, None, 5, (5, 5, 1))
t(10, 2147483647, None, 10, (10, 10, 1))
t(10, 2147483647, None, 100, (10, 100, 1))
t(10, 2147483647, None, 2147483647, (10, 2147483647, 1))
t(10, 2147483647, None, 9223372036854775808, (10, 2147483647, 1))
t(10, 2147483647, -5, 0, (-1, -1, -5))
t(10, 2147483647, -5, 1, (0, 0, -5))
t(10, 2147483647, -5, 5, (4, 4, -5))
t(10, 2147483647, -5, 10, (9, 9, -5))
t(10, 2147483647, -5, 100, (10, 99, -5))
t(10, 2147483647, -5, 2147483647, (10, 2147483646, -5))
t(10, 2147483647, -5, 9223372036854775808, (10, 2147483647, -5))
t(10, 2147483647, -3, 0, (-1, -1, -3))
t(10, 2147483647, -3, 1, (0, 0, -3))
t(10, 2147483647, -3, 5, (4, 4, -3))
t(10, 2147483647, -3, 10, (9, 9, -3))
t(10, 2147483647, -3, 100, (10, 99, -3))
t(10, 2147483647, -3, 2147483647, (10, 2147483646, -3))
t(10, 2147483647, -3, 9223372036854775808, (10, 2147483647, -3))
t(10, 2147483647, -1, 0, (-1, -1, -1))
t(10, 2147483647, -1, 1, (0, 0, -1))
t(10, 2147483647, -1, 5, (4, 4, -1))
t(10, 2147483647, -1, 10, (9, 9, -1))
t(10, 2147483647, -1, 100, (10, 99, -1))
t(10, 2147483647, -1, 2147483647, (10, 2147483646, -1))
t(10, 2147483647, -1, 9223372036854775808, (10, 2147483647, -1))
t(10, 2147483647, 1, 0, (0, 0, 1))
t(10, 2147483647, 1, 1, (1, 1, 1))
t(10, 2147483647, 1, 5, (5, 5, 1))
t(10, 2147483647, 1, 10, (10, 10, 1))
t(10, 2147483647, 1, 100, (10, 100, 1))
t(10, 2147483647, 1, 2147483647, (10, 2147483647, 1))
t(10, 2147483647, 1, 9223372036854775808, (10, 2147483647, 1))
t(10, 2147483647, 5, 0, (0, 0, 5))
t(10, 2147483647, 5, 1, (1, 1, 5))
t(10, 2147483647, 5, 5, (5, 5, 5))
t(10, 2147483647, 5, 10, (10, 10, 5))
t(10, 2147483647, 5, 100, (10, 100, 5))
t(10, 2147483647, 5, 2147483647, (10, 2147483647, 5))
t(10, 2147483647, 5, 9223372036854775808, (10, 2147483647, 5))
t(10, 2147483647, 20, 0, (0, 0, 20))
t(10, 2147483647, 20, 1, (1, 1, 20))
t(10, 2147483647, 20, 5, (5, 5, 20))
t(10, 2147483647, 20, 10, (10, 10, 20))
t(10, 2147483647, 20, 100, (10, 100, 20))
t(10, 2147483647, 20, 2147483647, (10, 2147483647, 20))
t(10, 2147483647, 20, 9223372036854775808, (10, 2147483647, 20))
t(10, 2147483647, 2147483647, 0, (0, 0, 2147483647))
t(10, 2147483647, 2147483647, 1, (1, 1, 2147483647))
t(10, 2147483647, 2147483647, 5, (5, 5, 2147483647))
t(10, 2147483647, 2147483647, 10, (10, 10, 2147483647))
t(10, 2147483647, 2147483647, 100, (10, 100, 2147483647))
t(10, 2147483647, 2147483647, 2147483647, (10, 2147483647, 2147483647))
t(10, 2147483647, 2147483647, 9223372036854775808, (10, 2147483647, 2147483647))
t(10, 2147483647, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(10, 2147483647, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(10, 2147483647, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(10, 2147483647, 9223372036854775808, 10, (10, 10, 9223372036854775808))
t(10, 2147483647, 9223372036854775808, 100, (10, 100, 9223372036854775808))
t(10, 2147483647, 9223372036854775808, 2147483647, (10, 2147483647, 9223372036854775808))
t(10, 2147483647, 9223372036854775808, 9223372036854775808, (10, 2147483647, 9223372036854775808))
t(10, 9223372036854775808, None, 0, (0, 0, 1))
t(10, 9223372036854775808, None, 1, (1, 1, 1))
t(10, 9223372036854775808, None, 5, (5, 5, 1))
t(10, 9223372036854775808, None, 10, (10, 10, 1))
t(10, 9223372036854775808, None, 100, (10, 100, 1))
t(10, 9223372036854775808, None, 2147483647, (10, 2147483647, 1))
t(10, 9223372036854775808, None, 9223372036854775808, (10, 9223372036854775808, 1))
t(10, 9223372036854775808, -5, 0, (-1, -1, -5))
t(10, 9223372036854775808, -5, 1, (0, 0, -5))
t(10, 9223372036854775808, -5, 5, (4, 4, -5))
t(10, 9223372036854775808, -5, 10, (9, 9, -5))
t(10, 9223372036854775808, -5, 100, (10, 99, -5))
t(10, 9223372036854775808, -5, 2147483647, (10, 2147483646, -5))
t(10, 9223372036854775808, -5, 9223372036854775808, (10, 9223372036854775807, -5))
t(10, 9223372036854775808, -3, 0, (-1, -1, -3))
t(10, 9223372036854775808, -3, 1, (0, 0, -3))
t(10, 9223372036854775808, -3, 5, (4, 4, -3))
t(10, 9223372036854775808, -3, 10, (9, 9, -3))
t(10, 9223372036854775808, -3, 100, (10, 99, -3))
t(10, 9223372036854775808, -3, 2147483647, (10, 2147483646, -3))
t(10, 9223372036854775808, -3, 9223372036854775808, (10, 9223372036854775807, -3))
t(10, 9223372036854775808, -1, 0, (-1, -1, -1))
t(10, 9223372036854775808, -1, 1, (0, 0, -1))
t(10, 9223372036854775808, -1, 5, (4, 4, -1))
t(10, 9223372036854775808, -1, 10, (9, 9, -1))
t(10, 9223372036854775808, -1, 100, (10, 99, -1))
t(10, 9223372036854775808, -1, 2147483647, (10, 2147483646, -1))
t(10, 9223372036854775808, -1, 9223372036854775808, (10, 9223372036854775807, -1))
t(10, 9223372036854775808, 1, 0, (0, 0, 1))
t(10, 9223372036854775808, 1, 1, (1, 1, 1))
t(10, 9223372036854775808, 1, 5, (5, 5, 1))
t(10, 9223372036854775808, 1, 10, (10, 10, 1))
t(10, 9223372036854775808, 1, 100, (10, 100, 1))
t(10, 9223372036854775808, 1, 2147483647, (10, 2147483647, 1))
t(10, 9223372036854775808, 1, 9223372036854775808, (10, 9223372036854775808, 1))
t(10, 9223372036854775808, 5, 0, (0, 0, 5))
t(10, 9223372036854775808, 5, 1, (1, 1, 5))
t(10, 9223372036854775808, 5, 5, (5, 5, 5))
t(10, 9223372036854775808, 5, 10, (10, 10, 5))
t(10, 9223372036854775808, 5, 100, (10, 100, 5))
t(10, 9223372036854775808, 5, 2147483647, (10, 2147483647, 5))
t(10, 9223372036854775808, 5, 9223372036854775808, (10, 9223372036854775808, 5))
t(10, 9223372036854775808, 20, 0, (0, 0, 20))
t(10, 9223372036854775808, 20, 1, (1, 1, 20))
t(10, 9223372036854775808, 20, 5, (5, 5, 20))
t(10, 9223372036854775808, 20, 10, (10, 10, 20))
t(10, 9223372036854775808, 20, 100, (10, 100, 20))
t(10, 9223372036854775808, 20, 2147483647, (10, 2147483647, 20))
t(10, 9223372036854775808, 20, 9223372036854775808, (10, 9223372036854775808, 20))
t(10, 9223372036854775808, 2147483647, 0, (0, 0, 2147483647))
t(10, 9223372036854775808, 2147483647, 1, (1, 1, 2147483647))
t(10, 9223372036854775808, 2147483647, 5, (5, 5, 2147483647))
t(10, 9223372036854775808, 2147483647, 10, (10, 10, 2147483647))
t(10, 9223372036854775808, 2147483647, 100, (10, 100, 2147483647))
t(10, 9223372036854775808, 2147483647, 2147483647, (10, 2147483647, 2147483647))
t(10, 9223372036854775808, 2147483647, 9223372036854775808, (10, 9223372036854775808, 2147483647))
t(10, 9223372036854775808, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(10, 9223372036854775808, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(10, 9223372036854775808, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(10, 9223372036854775808, 9223372036854775808, 10, (10, 10, 9223372036854775808))
t(10, 9223372036854775808, 9223372036854775808, 100, (10, 100, 9223372036854775808))
t(10, 9223372036854775808, 9223372036854775808, 2147483647, (10, 2147483647, 9223372036854775808))
t(10, 9223372036854775808, 9223372036854775808, 9223372036854775808, (10, 9223372036854775808, 9223372036854775808))
t(2147483647, None, None, 0, (0, 0, 1))
t(2147483647, None, None, 1, (1, 1, 1))
t(2147483647, None, None, 5, (5, 5, 1))
t(2147483647, None, None, 10, (10, 10, 1))
t(2147483647, None, None, 100, (100, 100, 1))
t(2147483647, None, None, 2147483647, (2147483647, 2147483647, 1))
t(2147483647, None, None, 9223372036854775808, (2147483647, 9223372036854775808, 1))
t(2147483647, None, -5, 0, (-1, -1, -5))
t(2147483647, None, -5, 1, (0, -1, -5))
t(2147483647, None, -5, 5, (4, -1, -5))
t(2147483647, None, -5, 10, (9, -1, -5))
t(2147483647, None, -5, 100, (99, -1, -5))
t(2147483647, None, -5, 2147483647, (2147483646, -1, -5))
t(2147483647, None, -5, 9223372036854775808, (2147483647, -1, -5))
t(2147483647, None, -3, 0, (-1, -1, -3))
t(2147483647, None, -3, 1, (0, -1, -3))
t(2147483647, None, -3, 5, (4, -1, -3))
t(2147483647, None, -3, 10, (9, -1, -3))
t(2147483647, None, -3, 100, (99, -1, -3))
t(2147483647, None, -3, 2147483647, (2147483646, -1, -3))
t(2147483647, None, -3, 9223372036854775808, (2147483647, -1, -3))
t(2147483647, None, -1, 0, (-1, -1, -1))
t(2147483647, None, -1, 1, (0, -1, -1))
t(2147483647, None, -1, 5, (4, -1, -1))
t(2147483647, None, -1, 10, (9, -1, -1))
t(2147483647, None, -1, 100, (99, -1, -1))
t(2147483647, None, -1, 2147483647, (2147483646, -1, -1))
t(2147483647, None, -1, 9223372036854775808, (2147483647, -1, -1))
t(2147483647, None, 1, 0, (0, 0, 1))
t(2147483647, None, 1, 1, (1, 1, 1))
t(2147483647, None, 1, 5, (5, 5, 1))
t(2147483647, None, 1, 10, (10, 10, 1))
t(2147483647, None, 1, 100, (100, 100, 1))
t(2147483647, None, 1, 2147483647, (2147483647, 2147483647, 1))
t(2147483647, None, 1, 9223372036854775808, (2147483647, 9223372036854775808, 1))
t(2147483647, None, 5, 0, (0, 0, 5))
t(2147483647, None, 5, 1, (1, 1, 5))
t(2147483647, None, 5, 5, (5, 5, 5))
t(2147483647, None, 5, 10, (10, 10, 5))
t(2147483647, None, 5, 100, (100, 100, 5))
t(2147483647, None, 5, 2147483647, (2147483647, 2147483647, 5))
t(2147483647, None, 5, 9223372036854775808, (2147483647, 9223372036854775808, 5))
t(2147483647, None, 20, 0, (0, 0, 20))
t(2147483647, None, 20, 1, (1, 1, 20))
t(2147483647, None, 20, 5, (5, 5, 20))
t(2147483647, None, 20, 10, (10, 10, 20))
t(2147483647, None, 20, 100, (100, 100, 20))
t(2147483647, None, 20, 2147483647, (2147483647, 2147483647, 20))
t(2147483647, None, 20, 9223372036854775808, (2147483647, 9223372036854775808, 20))
t(2147483647, None, 2147483647, 0, (0, 0, 2147483647))
t(2147483647, None, 2147483647, 1, (1, 1, 2147483647))
t(2147483647, None, 2147483647, 5, (5, 5, 2147483647))
t(2147483647, None, 2147483647, 10, (10, 10, 2147483647))
t(2147483647, None, 2147483647, 100, (100, 100, 2147483647))
t(2147483647, None, 2147483647, 2147483647, (2147483647, 2147483647, 2147483647))
t(2147483647, None, 2147483647, 9223372036854775808, (2147483647, 9223372036854775808, 2147483647))
t(2147483647, None, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(2147483647, None, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(2147483647, None, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(2147483647, None, 9223372036854775808, 10, (10, 10, 9223372036854775808))
t(2147483647, None, 9223372036854775808, 100, (100, 100, 9223372036854775808))
t(2147483647, None, 9223372036854775808, 2147483647, (2147483647, 2147483647, 9223372036854775808))
t(2147483647, None, 9223372036854775808, 9223372036854775808, (2147483647, 9223372036854775808, 9223372036854775808))
t(2147483647, -7, None, 0, (0, 0, 1))
t(2147483647, -7, None, 1, (1, 0, 1))
t(2147483647, -7, None, 5, (5, 0, 1))
t(2147483647, -7, None, 10, (10, 3, 1))
t(2147483647, -7, None, 100, (100, 93, 1))
t(2147483647, -7, None, 2147483647, (2147483647, 2147483640, 1))
t(2147483647, -7, None, 9223372036854775808, (2147483647, 9223372036854775801, 1))
t(2147483647, -7, -5, 0, (-1, -1, -5))
t(2147483647, -7, -5, 1, (0, -1, -5))
t(2147483647, -7, -5, 5, (4, -1, -5))
t(2147483647, -7, -5, 10, (9, 3, -5))
t(2147483647, -7, -5, 100, (99, 93, -5))
t(2147483647, -7, -5, 2147483647, (2147483646, 2147483640, -5))
t(2147483647, -7, -5, 9223372036854775808, (2147483647, 9223372036854775801, -5))
t(2147483647, -7, -3, 0, (-1, -1, -3))
t(2147483647, -7, -3, 1, (0, -1, -3))
t(2147483647, -7, -3, 5, (4, -1, -3))
t(2147483647, -7, -3, 10, (9, 3, -3))
t(2147483647, -7, -3, 100, (99, 93, -3))
t(2147483647, -7, -3, 2147483647, (2147483646, 2147483640, -3))
t(2147483647, -7, -3, 9223372036854775808, (2147483647, 9223372036854775801, -3))
t(2147483647, -7, -1, 0, (-1, -1, -1))
t(2147483647, -7, -1, 1, (0, -1, -1))
t(2147483647, -7, -1, 5, (4, -1, -1))
t(2147483647, -7, -1, 10, (9, 3, -1))
t(2147483647, -7, -1, 100, (99, 93, -1))
t(2147483647, -7, -1, 2147483647, (2147483646, 2147483640, -1))
t(2147483647, -7, -1, 9223372036854775808, (2147483647, 9223372036854775801, -1))
t(2147483647, -7, 1, 0, (0, 0, 1))
t(2147483647, -7, 1, 1, (1, 0, 1))
t(2147483647, -7, 1, 5, (5, 0, 1))
t(2147483647, -7, 1, 10, (10, 3, 1))
t(2147483647, -7, 1, 100, (100, 93, 1))
t(2147483647, -7, 1, 2147483647, (2147483647, 2147483640, 1))
t(2147483647, -7, 1, 9223372036854775808, (2147483647, 9223372036854775801, 1))
t(2147483647, -7, 5, 0, (0, 0, 5))
t(2147483647, -7, 5, 1, (1, 0, 5))
t(2147483647, -7, 5, 5, (5, 0, 5))
t(2147483647, -7, 5, 10, (10, 3, 5))
t(2147483647, -7, 5, 100, (100, 93, 5))
t(2147483647, -7, 5, 2147483647, (2147483647, 2147483640, 5))
t(2147483647, -7, 5, 9223372036854775808, (2147483647, 9223372036854775801, 5))
t(2147483647, -7, 20, 0, (0, 0, 20))
t(2147483647, -7, 20, 1, (1, 0, 20))
t(2147483647, -7, 20, 5, (5, 0, 20))
t(2147483647, -7, 20, 10, (10, 3, 20))
t(2147483647, -7, 20, 100, (100, 93, 20))
t(2147483647, -7, 20, 2147483647, (2147483647, 2147483640, 20))
t(2147483647, -7, 20, 9223372036854775808, (2147483647, 9223372036854775801, 20))
t(2147483647, -7, 2147483647, 0, (0, 0, 2147483647))
t(2147483647, -7, 2147483647, 1, (1, 0, 2147483647))
t(2147483647, -7, 2147483647, 5, (5, 0, 2147483647))
t(2147483647, -7, 2147483647, 10, (10, 3, 2147483647))
t(2147483647, -7, 2147483647, 100, (100, 93, 2147483647))
t(2147483647, -7, 2147483647, 2147483647, (2147483647, 2147483640, 2147483647))
t(2147483647, -7, 2147483647, 9223372036854775808, (2147483647, 9223372036854775801, 2147483647))
t(2147483647, -7, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(2147483647, -7, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(2147483647, -7, 9223372036854775808, 5, (5, 0, 9223372036854775808))
t(2147483647, -7, 9223372036854775808, 10, (10, 3, 9223372036854775808))
t(2147483647, -7, 9223372036854775808, 100, (100, 93, 9223372036854775808))
t(2147483647, -7, 9223372036854775808, 2147483647, (2147483647, 2147483640, 9223372036854775808))
t(2147483647, -7, 9223372036854775808, 9223372036854775808, (2147483647, 9223372036854775801, 9223372036854775808))
t(2147483647, -2, None, 0, (0, 0, 1))
t(2147483647, -2, None, 1, (1, 0, 1))
t(2147483647, -2, None, 5, (5, 3, 1))
t(2147483647, -2, None, 10, (10, 8, 1))
t(2147483647, -2, None, 100, (100, 98, 1))
t(2147483647, -2, None, 2147483647, (2147483647, 2147483645, 1))
t(2147483647, -2, None, 9223372036854775808, (2147483647, 9223372036854775806, 1))
t(2147483647, -2, -5, 0, (-1, -1, -5))
t(2147483647, -2, -5, 1, (0, -1, -5))
t(2147483647, -2, -5, 5, (4, 3, -5))
t(2147483647, -2, -5, 10, (9, 8, -5))
t(2147483647, -2, -5, 100, (99, 98, -5))
t(2147483647, -2, -5, 2147483647, (2147483646, 2147483645, -5))
t(2147483647, -2, -5, 9223372036854775808, (2147483647, 9223372036854775806, -5))
t(2147483647, -2, -3, 0, (-1, -1, -3))
t(2147483647, -2, -3, 1, (0, -1, -3))
t(2147483647, -2, -3, 5, (4, 3, -3))
t(2147483647, -2, -3, 10, (9, 8, -3))
t(2147483647, -2, -3, 100, (99, 98, -3))
t(2147483647, -2, -3, 2147483647, (2147483646, 2147483645, -3))
t(2147483647, -2, -3, 9223372036854775808, (2147483647, 9223372036854775806, -3))
t(2147483647, -2, -1, 0, (-1, -1, -1))
t(2147483647, -2, -1, 1, (0, -1, -1))
t(2147483647, -2, -1, 5, (4, 3, -1))
t(2147483647, -2, -1, 10, (9, 8, -1))
t(2147483647, -2, -1, 100, (99, 98, -1))
t(2147483647, -2, -1, 2147483647, (2147483646, 2147483645, -1))
t(2147483647, -2, -1, 9223372036854775808, (2147483647, 9223372036854775806, -1))
t(2147483647, -2, 1, 0, (0, 0, 1))
t(2147483647, -2, 1, 1, (1, 0, 1))
t(2147483647, -2, 1, 5, (5, 3, 1))
t(2147483647, -2, 1, 10, (10, 8, 1))
t(2147483647, -2, 1, 100, (100, 98, 1))
t(2147483647, -2, 1, 2147483647, (2147483647, 2147483645, 1))
t(2147483647, -2, 1, 9223372036854775808, (2147483647, 9223372036854775806, 1))
t(2147483647, -2, 5, 0, (0, 0, 5))
t(2147483647, -2, 5, 1, (1, 0, 5))
t(2147483647, -2, 5, 5, (5, 3, 5))
t(2147483647, -2, 5, 10, (10, 8, 5))
t(2147483647, -2, 5, 100, (100, 98, 5))
t(2147483647, -2, 5, 2147483647, (2147483647, 2147483645, 5))
t(2147483647, -2, 5, 9223372036854775808, (2147483647, 9223372036854775806, 5))
t(2147483647, -2, 20, 0, (0, 0, 20))
t(2147483647, -2, 20, 1, (1, 0, 20))
t(2147483647, -2, 20, 5, (5, 3, 20))
t(2147483647, -2, 20, 10, (10, 8, 20))
t(2147483647, -2, 20, 100, (100, 98, 20))
t(2147483647, -2, 20, 2147483647, (2147483647, 2147483645, 20))
t(2147483647, -2, 20, 9223372036854775808, (2147483647, 9223372036854775806, 20))
t(2147483647, -2, 2147483647, 0, (0, 0, 2147483647))
t(2147483647, -2, 2147483647, 1, (1, 0, 2147483647))
t(2147483647, -2, 2147483647, 5, (5, 3, 2147483647))
t(2147483647, -2, 2147483647, 10, (10, 8, 2147483647))
t(2147483647, -2, 2147483647, 100, (100, 98, 2147483647))
t(2147483647, -2, 2147483647, 2147483647, (2147483647, 2147483645, 2147483647))
t(2147483647, -2, 2147483647, 9223372036854775808, (2147483647, 9223372036854775806, 2147483647))
t(2147483647, -2, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(2147483647, -2, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(2147483647, -2, 9223372036854775808, 5, (5, 3, 9223372036854775808))
t(2147483647, -2, 9223372036854775808, 10, (10, 8, 9223372036854775808))
t(2147483647, -2, 9223372036854775808, 100, (100, 98, 9223372036854775808))
t(2147483647, -2, 9223372036854775808, 2147483647, (2147483647, 2147483645, 9223372036854775808))
t(2147483647, -2, 9223372036854775808, 9223372036854775808, (2147483647, 9223372036854775806, 9223372036854775808))
t(2147483647, 0, None, 0, (0, 0, 1))
t(2147483647, 0, None, 1, (1, 0, 1))
t(2147483647, 0, None, 5, (5, 0, 1))
t(2147483647, 0, None, 10, (10, 0, 1))
t(2147483647, 0, None, 100, (100, 0, 1))
t(2147483647, 0, None, 2147483647, (2147483647, 0, 1))
t(2147483647, 0, None, 9223372036854775808, (2147483647, 0, 1))
t(2147483647, 0, -5, 0, (-1, -1, -5))
t(2147483647, 0, -5, 1, (0, 0, -5))
t(2147483647, 0, -5, 5, (4, 0, -5))
t(2147483647, 0, -5, 10, (9, 0, -5))
t(2147483647, 0, -5, 100, (99, 0, -5))
t(2147483647, 0, -5, 2147483647, (2147483646, 0, -5))
t(2147483647, 0, -5, 9223372036854775808, (2147483647, 0, -5))
t(2147483647, 0, -3, 0, (-1, -1, -3))
t(2147483647, 0, -3, 1, (0, 0, -3))
t(2147483647, 0, -3, 5, (4, 0, -3))
t(2147483647, 0, -3, 10, (9, 0, -3))
t(2147483647, 0, -3, 100, (99, 0, -3))
t(2147483647, 0, -3, 2147483647, (2147483646, 0, -3))
t(2147483647, 0, -3, 9223372036854775808, (2147483647, 0, -3))
t(2147483647, 0, -1, 0, (-1, -1, -1))
t(2147483647, 0, -1, 1, (0, 0, -1))
t(2147483647, 0, -1, 5, (4, 0, -1))
t(2147483647, 0, -1, 10, (9, 0, -1))
t(2147483647, 0, -1, 100, (99, 0, -1))
t(2147483647, 0, -1, 2147483647, (2147483646, 0, -1))
t(2147483647, 0, -1, 9223372036854775808, (2147483647, 0, -1))
t(2147483647, 0, 1, 0, (0, 0, 1))
t(2147483647, 0, 1, 1, (1, 0, 1))
t(2147483647, 0, 1, 5, (5, 0, 1))
t(2147483647, 0, 1, 10, (10, 0, 1))
t(2147483647, 0, 1, 100, (100, 0, 1))
t(2147483647, 0, 1, 2147483647, (2147483647, 0, 1))
t(2147483647, 0, 1, 9223372036854775808, (2147483647, 0, 1))
t(2147483647, 0, 5, 0, (0, 0, 5))
t(2147483647, 0, 5, 1, (1, 0, 5))
t(2147483647, 0, 5, 5, (5, 0, 5))
t(2147483647, 0, 5, 10, (10, 0, 5))
t(2147483647, 0, 5, 100, (100, 0, 5))
t(2147483647, 0, 5, 2147483647, (2147483647, 0, 5))
t(2147483647, 0, 5, 9223372036854775808, (2147483647, 0, 5))
t(2147483647, 0, 20, 0, (0, 0, 20))
t(2147483647, 0, 20, 1, (1, 0, 20))
t(2147483647, 0, 20, 5, (5, 0, 20))
t(2147483647, 0, 20, 10, (10, 0, 20))
t(2147483647, 0, 20, 100, (100, 0, 20))
t(2147483647, 0, 20, 2147483647, (2147483647, 0, 20))
t(2147483647, 0, 20, 9223372036854775808, (2147483647, 0, 20))
t(2147483647, 0, 2147483647, 0, (0, 0, 2147483647))
t(2147483647, 0, 2147483647, 1, (1, 0, 2147483647))
t(2147483647, 0, 2147483647, 5, (5, 0, 2147483647))
t(2147483647, 0, 2147483647, 10, (10, 0, 2147483647))
t(2147483647, 0, 2147483647, 100, (100, 0, 2147483647))
t(2147483647, 0, 2147483647, 2147483647, (2147483647, 0, 2147483647))
t(2147483647, 0, 2147483647, 9223372036854775808, (2147483647, 0, 2147483647))
t(2147483647, 0, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(2147483647, 0, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(2147483647, 0, 9223372036854775808, 5, (5, 0, 9223372036854775808))
t(2147483647, 0, 9223372036854775808, 10, (10, 0, 9223372036854775808))
t(2147483647, 0, 9223372036854775808, 100, (100, 0, 9223372036854775808))
t(2147483647, 0, 9223372036854775808, 2147483647, (2147483647, 0, 9223372036854775808))
t(2147483647, 0, 9223372036854775808, 9223372036854775808, (2147483647, 0, 9223372036854775808))
t(2147483647, 1, None, 0, (0, 0, 1))
t(2147483647, 1, None, 1, (1, 1, 1))
t(2147483647, 1, None, 5, (5, 1, 1))
t(2147483647, 1, None, 10, (10, 1, 1))
t(2147483647, 1, None, 100, (100, 1, 1))
t(2147483647, 1, None, 2147483647, (2147483647, 1, 1))
t(2147483647, 1, None, 9223372036854775808, (2147483647, 1, 1))
t(2147483647, 1, -5, 0, (-1, -1, -5))
t(2147483647, 1, -5, 1, (0, 0, -5))
t(2147483647, 1, -5, 5, (4, 1, -5))
t(2147483647, 1, -5, 10, (9, 1, -5))
t(2147483647, 1, -5, 100, (99, 1, -5))
t(2147483647, 1, -5, 2147483647, (2147483646, 1, -5))
t(2147483647, 1, -5, 9223372036854775808, (2147483647, 1, -5))
t(2147483647, 1, -3, 0, (-1, -1, -3))
t(2147483647, 1, -3, 1, (0, 0, -3))
t(2147483647, 1, -3, 5, (4, 1, -3))
t(2147483647, 1, -3, 10, (9, 1, -3))
t(2147483647, 1, -3, 100, (99, 1, -3))
t(2147483647, 1, -3, 2147483647, (2147483646, 1, -3))
t(2147483647, 1, -3, 9223372036854775808, (2147483647, 1, -3))
t(2147483647, 1, -1, 0, (-1, -1, -1))
t(2147483647, 1, -1, 1, (0, 0, -1))
t(2147483647, 1, -1, 5, (4, 1, -1))
t(2147483647, 1, -1, 10, (9, 1, -1))
t(2147483647, 1, -1, 100, (99, 1, -1))
t(2147483647, 1, -1, 2147483647, (2147483646, 1, -1))
t(2147483647, 1, -1, 9223372036854775808, (2147483647, 1, -1))
t(2147483647, 1, 1, 0, (0, 0, 1))
t(2147483647, 1, 1, 1, (1, 1, 1))
t(2147483647, 1, 1, 5, (5, 1, 1))
t(2147483647, 1, 1, 10, (10, 1, 1))
t(2147483647, 1, 1, 100, (100, 1, 1))
t(2147483647, 1, 1, 2147483647, (2147483647, 1, 1))
t(2147483647, 1, 1, 9223372036854775808, (2147483647, 1, 1))
t(2147483647, 1, 5, 0, (0, 0, 5))
t(2147483647, 1, 5, 1, (1, 1, 5))
t(2147483647, 1, 5, 5, (5, 1, 5))
t(2147483647, 1, 5, 10, (10, 1, 5))
t(2147483647, 1, 5, 100, (100, 1, 5))
t(2147483647, 1, 5, 2147483647, (2147483647, 1, 5))
t(2147483647, 1, 5, 9223372036854775808, (2147483647, 1, 5))
t(2147483647, 1, 20, 0, (0, 0, 20))
t(2147483647, 1, 20, 1, (1, 1, 20))
t(2147483647, 1, 20, 5, (5, 1, 20))
t(2147483647, 1, 20, 10, (10, 1, 20))
t(2147483647, 1, 20, 100, (100, 1, 20))
t(2147483647, 1, 20, 2147483647, (2147483647, 1, 20))
t(2147483647, 1, 20, 9223372036854775808, (2147483647, 1, 20))
t(2147483647, 1, 2147483647, 0, (0, 0, 2147483647))
t(2147483647, 1, 2147483647, 1, (1, 1, 2147483647))
t(2147483647, 1, 2147483647, 5, (5, 1, 2147483647))
t(2147483647, 1, 2147483647, 10, (10, 1, 2147483647))
t(2147483647, 1, 2147483647, 100, (100, 1, 2147483647))
t(2147483647, 1, 2147483647, 2147483647, (2147483647, 1, 2147483647))
t(2147483647, 1, 2147483647, 9223372036854775808, (2147483647, 1, 2147483647))
t(2147483647, 1, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(2147483647, 1, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(2147483647, 1, 9223372036854775808, 5, (5, 1, 9223372036854775808))
t(2147483647, 1, 9223372036854775808, 10, (10, 1, 9223372036854775808))
t(2147483647, 1, 9223372036854775808, 100, (100, 1, 9223372036854775808))
t(2147483647, 1, 9223372036854775808, 2147483647, (2147483647, 1, 9223372036854775808))
t(2147483647, 1, 9223372036854775808, 9223372036854775808, (2147483647, 1, 9223372036854775808))
t(2147483647, 6, None, 0, (0, 0, 1))
t(2147483647, 6, None, 1, (1, 1, 1))
t(2147483647, 6, None, 5, (5, 5, 1))
t(2147483647, 6, None, 10, (10, 6, 1))
t(2147483647, 6, None, 100, (100, 6, 1))
t(2147483647, 6, None, 2147483647, (2147483647, 6, 1))
t(2147483647, 6, None, 9223372036854775808, (2147483647, 6, 1))
t(2147483647, 6, -5, 0, (-1, -1, -5))
t(2147483647, 6, -5, 1, (0, 0, -5))
t(2147483647, 6, -5, 5, (4, 4, -5))
t(2147483647, 6, -5, 10, (9, 6, -5))
t(2147483647, 6, -5, 100, (99, 6, -5))
t(2147483647, 6, -5, 2147483647, (2147483646, 6, -5))
t(2147483647, 6, -5, 9223372036854775808, (2147483647, 6, -5))
t(2147483647, 6, -3, 0, (-1, -1, -3))
t(2147483647, 6, -3, 1, (0, 0, -3))
t(2147483647, 6, -3, 5, (4, 4, -3))
t(2147483647, 6, -3, 10, (9, 6, -3))
t(2147483647, 6, -3, 100, (99, 6, -3))
t(2147483647, 6, -3, 2147483647, (2147483646, 6, -3))
t(2147483647, 6, -3, 9223372036854775808, (2147483647, 6, -3))
t(2147483647, 6, -1, 0, (-1, -1, -1))
t(2147483647, 6, -1, 1, (0, 0, -1))
t(2147483647, 6, -1, 5, (4, 4, -1))
t(2147483647, 6, -1, 10, (9, 6, -1))
t(2147483647, 6, -1, 100, (99, 6, -1))
t(2147483647, 6, -1, 2147483647, (2147483646, 6, -1))
t(2147483647, 6, -1, 9223372036854775808, (2147483647, 6, -1))
t(2147483647, 6, 1, 0, (0, 0, 1))
t(2147483647, 6, 1, 1, (1, 1, 1))
t(2147483647, 6, 1, 5, (5, 5, 1))
t(2147483647, 6, 1, 10, (10, 6, 1))
t(2147483647, 6, 1, 100, (100, 6, 1))
t(2147483647, 6, 1, 2147483647, (2147483647, 6, 1))
t(2147483647, 6, 1, 9223372036854775808, (2147483647, 6, 1))
t(2147483647, 6, 5, 0, (0, 0, 5))
t(2147483647, 6, 5, 1, (1, 1, 5))
t(2147483647, 6, 5, 5, (5, 5, 5))
t(2147483647, 6, 5, 10, (10, 6, 5))
t(2147483647, 6, 5, 100, (100, 6, 5))
t(2147483647, 6, 5, 2147483647, (2147483647, 6, 5))
t(2147483647, 6, 5, 9223372036854775808, (2147483647, 6, 5))
t(2147483647, 6, 20, 0, (0, 0, 20))
t(2147483647, 6, 20, 1, (1, 1, 20))
t(2147483647, 6, 20, 5, (5, 5, 20))
t(2147483647, 6, 20, 10, (10, 6, 20))
t(2147483647, 6, 20, 100, (100, 6, 20))
t(2147483647, 6, 20, 2147483647, (2147483647, 6, 20))
t(2147483647, 6, 20, 9223372036854775808, (2147483647, 6, 20))
t(2147483647, 6, 2147483647, 0, (0, 0, 2147483647))
t(2147483647, 6, 2147483647, 1, (1, 1, 2147483647))
t(2147483647, 6, 2147483647, 5, (5, 5, 2147483647))
t(2147483647, 6, 2147483647, 10, (10, 6, 2147483647))
t(2147483647, 6, 2147483647, 100, (100, 6, 2147483647))
t(2147483647, 6, 2147483647, 2147483647, (2147483647, 6, 2147483647))
t(2147483647, 6, 2147483647, 9223372036854775808, (2147483647, 6, 2147483647))
t(2147483647, 6, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(2147483647, 6, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(2147483647, 6, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(2147483647, 6, 9223372036854775808, 10, (10, 6, 9223372036854775808))
t(2147483647, 6, 9223372036854775808, 100, (100, 6, 9223372036854775808))
t(2147483647, 6, 9223372036854775808, 2147483647, (2147483647, 6, 9223372036854775808))
t(2147483647, 6, 9223372036854775808, 9223372036854775808, (2147483647, 6, 9223372036854775808))
t(2147483647, 10, None, 0, (0, 0, 1))
t(2147483647, 10, None, 1, (1, 1, 1))
t(2147483647, 10, None, 5, (5, 5, 1))
t(2147483647, 10, None, 10, (10, 10, 1))
t(2147483647, 10, None, 100, (100, 10, 1))
t(2147483647, 10, None, 2147483647, (2147483647, 10, 1))
t(2147483647, 10, None, 9223372036854775808, (2147483647, 10, 1))
t(2147483647, 10, -5, 0, (-1, -1, -5))
t(2147483647, 10, -5, 1, (0, 0, -5))
t(2147483647, 10, -5, 5, (4, 4, -5))
t(2147483647, 10, -5, 10, (9, 9, -5))
t(2147483647, 10, -5, 100, (99, 10, -5))
t(2147483647, 10, -5, 2147483647, (2147483646, 10, -5))
t(2147483647, 10, -5, 9223372036854775808, (2147483647, 10, -5))
t(2147483647, 10, -3, 0, (-1, -1, -3))
t(2147483647, 10, -3, 1, (0, 0, -3))
t(2147483647, 10, -3, 5, (4, 4, -3))
t(2147483647, 10, -3, 10, (9, 9, -3))
t(2147483647, 10, -3, 100, (99, 10, -3))
t(2147483647, 10, -3, 2147483647, (2147483646, 10, -3))
t(2147483647, 10, -3, 9223372036854775808, (2147483647, 10, -3))
t(2147483647, 10, -1, 0, (-1, -1, -1))
t(2147483647, 10, -1, 1, (0, 0, -1))
t(2147483647, 10, -1, 5, (4, 4, -1))
t(2147483647, 10, -1, 10, (9, 9, -1))
t(2147483647, 10, -1, 100, (99, 10, -1))
t(2147483647, 10, -1, 2147483647, (2147483646, 10, -1))
t(2147483647, 10, -1, 9223372036854775808, (2147483647, 10, -1))
t(2147483647, 10, 1, 0, (0, 0, 1))
t(2147483647, 10, 1, 1, (1, 1, 1))
t(2147483647, 10, 1, 5, (5, 5, 1))
t(2147483647, 10, 1, 10, (10, 10, 1))
t(2147483647, 10, 1, 100, (100, 10, 1))
t(2147483647, 10, 1, 2147483647, (2147483647, 10, 1))
t(2147483647, 10, 1, 9223372036854775808, (2147483647, 10, 1))
t(2147483647, 10, 5, 0, (0, 0, 5))
t(2147483647, 10, 5, 1, (1, 1, 5))
t(2147483647, 10, 5, 5, (5, 5, 5))
t(2147483647, 10, 5, 10, (10, 10, 5))
t(2147483647, 10, 5, 100, (100, 10, 5))
t(2147483647, 10, 5, 2147483647, (2147483647, 10, 5))
t(2147483647, 10, 5, 9223372036854775808, (2147483647, 10, 5))
t(2147483647, 10, 20, 0, (0, 0, 20))
t(2147483647, 10, 20, 1, (1, 1, 20))
t(2147483647, 10, 20, 5, (5, 5, 20))
t(2147483647, 10, 20, 10, (10, 10, 20))
t(2147483647, 10, 20, 100, (100, 10, 20))
t(2147483647, 10, 20, 2147483647, (2147483647, 10, 20))
t(2147483647, 10, 20, 9223372036854775808, (2147483647, 10, 20))
t(2147483647, 10, 2147483647, 0, (0, 0, 2147483647))
t(2147483647, 10, 2147483647, 1, (1, 1, 2147483647))
t(2147483647, 10, 2147483647, 5, (5, 5, 2147483647))
t(2147483647, 10, 2147483647, 10, (10, 10, 2147483647))
t(2147483647, 10, 2147483647, 100, (100, 10, 2147483647))
t(2147483647, 10, 2147483647, 2147483647, (2147483647, 10, 2147483647))
t(2147483647, 10, 2147483647, 9223372036854775808, (2147483647, 10, 2147483647))
t(2147483647, 10, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(2147483647, 10, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(2147483647, 10, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(2147483647, 10, 9223372036854775808, 10, (10, 10, 9223372036854775808))
t(2147483647, 10, 9223372036854775808, 100, (100, 10, 9223372036854775808))
t(2147483647, 10, 9223372036854775808, 2147483647, (2147483647, 10, 9223372036854775808))
t(2147483647, 10, 9223372036854775808, 9223372036854775808, (2147483647, 10, 9223372036854775808))
t(2147483647, 2147483647, None, 0, (0, 0, 1))
t(2147483647, 2147483647, None, 1, (1, 1, 1))
t(2147483647, 2147483647, None, 5, (5, 5, 1))
t(2147483647, 2147483647, None, 10, (10, 10, 1))
t(2147483647, 2147483647, None, 100, (100, 100, 1))
t(2147483647, 2147483647, None, 2147483647, (2147483647, 2147483647, 1))
t(2147483647, 2147483647, None, 9223372036854775808, (2147483647, 2147483647, 1))
t(2147483647, 2147483647, -5, 0, (-1, -1, -5))
t(2147483647, 2147483647, -5, 1, (0, 0, -5))
t(2147483647, 2147483647, -5, 5, (4, 4, -5))
t(2147483647, 2147483647, -5, 10, (9, 9, -5))
t(2147483647, 2147483647, -5, 100, (99, 99, -5))
t(2147483647, 2147483647, -5, 2147483647, (2147483646, 2147483646, -5))
t(2147483647, 2147483647, -5, 9223372036854775808, (2147483647, 2147483647, -5))
t(2147483647, 2147483647, -3, 0, (-1, -1, -3))
t(2147483647, 2147483647, -3, 1, (0, 0, -3))
t(2147483647, 2147483647, -3, 5, (4, 4, -3))
t(2147483647, 2147483647, -3, 10, (9, 9, -3))
t(2147483647, 2147483647, -3, 100, (99, 99, -3))
t(2147483647, 2147483647, -3, 2147483647, (2147483646, 2147483646, -3))
t(2147483647, 2147483647, -3, 9223372036854775808, (2147483647, 2147483647, -3))
t(2147483647, 2147483647, -1, 0, (-1, -1, -1))
t(2147483647, 2147483647, -1, 1, (0, 0, -1))
t(2147483647, 2147483647, -1, 5, (4, 4, -1))
t(2147483647, 2147483647, -1, 10, (9, 9, -1))
t(2147483647, 2147483647, -1, 100, (99, 99, -1))
t(2147483647, 2147483647, -1, 2147483647, (2147483646, 2147483646, -1))
t(2147483647, 2147483647, -1, 9223372036854775808, (2147483647, 2147483647, -1))
t(2147483647, 2147483647, 1, 0, (0, 0, 1))
t(2147483647, 2147483647, 1, 1, (1, 1, 1))
t(2147483647, 2147483647, 1, 5, (5, 5, 1))
t(2147483647, 2147483647, 1, 10, (10, 10, 1))
t(2147483647, 2147483647, 1, 100, (100, 100, 1))
t(2147483647, 2147483647, 1, 2147483647, (2147483647, 2147483647, 1))
t(2147483647, 2147483647, 1, 9223372036854775808, (2147483647, 2147483647, 1))
t(2147483647, 2147483647, 5, 0, (0, 0, 5))
t(2147483647, 2147483647, 5, 1, (1, 1, 5))
t(2147483647, 2147483647, 5, 5, (5, 5, 5))
t(2147483647, 2147483647, 5, 10, (10, 10, 5))
t(2147483647, 2147483647, 5, 100, (100, 100, 5))
t(2147483647, 2147483647, 5, 2147483647, (2147483647, 2147483647, 5))
t(2147483647, 2147483647, 5, 9223372036854775808, (2147483647, 2147483647, 5))
t(2147483647, 2147483647, 20, 0, (0, 0, 20))
t(2147483647, 2147483647, 20, 1, (1, 1, 20))
t(2147483647, 2147483647, 20, 5, (5, 5, 20))
t(2147483647, 2147483647, 20, 10, (10, 10, 20))
t(2147483647, 2147483647, 20, 100, (100, 100, 20))
t(2147483647, 2147483647, 20, 2147483647, (2147483647, 2147483647, 20))
t(2147483647, 2147483647, 20, 9223372036854775808, (2147483647, 2147483647, 20))
t(2147483647, 2147483647, 2147483647, 0, (0, 0, 2147483647))
t(2147483647, 2147483647, 2147483647, 1, (1, 1, 2147483647))
t(2147483647, 2147483647, 2147483647, 5, (5, 5, 2147483647))
t(2147483647, 2147483647, 2147483647, 10, (10, 10, 2147483647))
t(2147483647, 2147483647, 2147483647, 100, (100, 100, 2147483647))
t(2147483647, 2147483647, 2147483647, 2147483647, (2147483647, 2147483647, 2147483647))
t(2147483647, 2147483647, 2147483647, 9223372036854775808, (2147483647, 2147483647, 2147483647))
t(2147483647, 2147483647, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(2147483647, 2147483647, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(2147483647, 2147483647, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(2147483647, 2147483647, 9223372036854775808, 10, (10, 10, 9223372036854775808))
t(2147483647, 2147483647, 9223372036854775808, 100, (100, 100, 9223372036854775808))
t(2147483647, 2147483647, 9223372036854775808, 2147483647, (2147483647, 2147483647, 9223372036854775808))
t(2147483647, 2147483647, 9223372036854775808, 9223372036854775808, (2147483647, 2147483647, 9223372036854775808))
t(2147483647, 9223372036854775808, None, 0, (0, 0, 1))
t(2147483647, 9223372036854775808, None, 1, (1, 1, 1))
t(2147483647, 9223372036854775808, None, 5, (5, 5, 1))
t(2147483647, 9223372036854775808, None, 10, (10, 10, 1))
t(2147483647, 9223372036854775808, None, 100, (100, 100, 1))
t(2147483647, 9223372036854775808, None, 2147483647, (2147483647, 2147483647, 1))
t(2147483647, 9223372036854775808, None, 9223372036854775808, (2147483647, 9223372036854775808, 1))
t(2147483647, 9223372036854775808, -5, 0, (-1, -1, -5))
t(2147483647, 9223372036854775808, -5, 1, (0, 0, -5))
t(2147483647, 9223372036854775808, -5, 5, (4, 4, -5))
t(2147483647, 9223372036854775808, -5, 10, (9, 9, -5))
t(2147483647, 9223372036854775808, -5, 100, (99, 99, -5))
t(2147483647, 9223372036854775808, -5, 2147483647, (2147483646, 2147483646, -5))
t(2147483647, 9223372036854775808, -5, 9223372036854775808, (2147483647, 9223372036854775807, -5))
t(2147483647, 9223372036854775808, -3, 0, (-1, -1, -3))
t(2147483647, 9223372036854775808, -3, 1, (0, 0, -3))
t(2147483647, 9223372036854775808, -3, 5, (4, 4, -3))
t(2147483647, 9223372036854775808, -3, 10, (9, 9, -3))
t(2147483647, 9223372036854775808, -3, 100, (99, 99, -3))
t(2147483647, 9223372036854775808, -3, 2147483647, (2147483646, 2147483646, -3))
t(2147483647, 9223372036854775808, -3, 9223372036854775808, (2147483647, 9223372036854775807, -3))
t(2147483647, 9223372036854775808, -1, 0, (-1, -1, -1))
t(2147483647, 9223372036854775808, -1, 1, (0, 0, -1))
t(2147483647, 9223372036854775808, -1, 5, (4, 4, -1))
t(2147483647, 9223372036854775808, -1, 10, (9, 9, -1))
t(2147483647, 9223372036854775808, -1, 100, (99, 99, -1))
t(2147483647, 9223372036854775808, -1, 2147483647, (2147483646, 2147483646, -1))
t(2147483647, 9223372036854775808, -1, 9223372036854775808, (2147483647, 9223372036854775807, -1))
t(2147483647, 9223372036854775808, 1, 0, (0, 0, 1))
t(2147483647, 9223372036854775808, 1, 1, (1, 1, 1))
t(2147483647, 9223372036854775808, 1, 5, (5, 5, 1))
t(2147483647, 9223372036854775808, 1, 10, (10, 10, 1))
t(2147483647, 9223372036854775808, 1, 100, (100, 100, 1))
t(2147483647, 9223372036854775808, 1, 2147483647, (2147483647, 2147483647, 1))
t(2147483647, 9223372036854775808, 1, 9223372036854775808, (2147483647, 9223372036854775808, 1))
t(2147483647, 9223372036854775808, 5, 0, (0, 0, 5))
t(2147483647, 9223372036854775808, 5, 1, (1, 1, 5))
t(2147483647, 9223372036854775808, 5, 5, (5, 5, 5))
t(2147483647, 9223372036854775808, 5, 10, (10, 10, 5))
t(2147483647, 9223372036854775808, 5, 100, (100, 100, 5))
t(2147483647, 9223372036854775808, 5, 2147483647, (2147483647, 2147483647, 5))
t(2147483647, 9223372036854775808, 5, 9223372036854775808, (2147483647, 9223372036854775808, 5))
t(2147483647, 9223372036854775808, 20, 0, (0, 0, 20))
t(2147483647, 9223372036854775808, 20, 1, (1, 1, 20))
t(2147483647, 9223372036854775808, 20, 5, (5, 5, 20))
t(2147483647, 9223372036854775808, 20, 10, (10, 10, 20))
t(2147483647, 9223372036854775808, 20, 100, (100, 100, 20))
t(2147483647, 9223372036854775808, 20, 2147483647, (2147483647, 2147483647, 20))
t(2147483647, 9223372036854775808, 20, 9223372036854775808, (2147483647, 9223372036854775808, 20))
t(2147483647, 9223372036854775808, 2147483647, 0, (0, 0, 2147483647))
t(2147483647, 9223372036854775808, 2147483647, 1, (1, 1, 2147483647))
t(2147483647, 9223372036854775808, 2147483647, 5, (5, 5, 2147483647))
t(2147483647, 9223372036854775808, 2147483647, 10, (10, 10, 2147483647))
t(2147483647, 9223372036854775808, 2147483647, 100, (100, 100, 2147483647))
t(2147483647, 9223372036854775808, 2147483647, 2147483647, (2147483647, 2147483647, 2147483647))
t(2147483647, 9223372036854775808, 2147483647, 9223372036854775808, (2147483647, 9223372036854775808, 2147483647))
t(2147483647, 9223372036854775808, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(2147483647, 9223372036854775808, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(2147483647, 9223372036854775808, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(2147483647, 9223372036854775808, 9223372036854775808, 10, (10, 10, 9223372036854775808))
t(2147483647, 9223372036854775808, 9223372036854775808, 100, (100, 100, 9223372036854775808))
t(2147483647, 9223372036854775808, 9223372036854775808, 2147483647, (2147483647, 2147483647, 9223372036854775808))
t(2147483647, 9223372036854775808, 9223372036854775808, 9223372036854775808, (2147483647, 9223372036854775808, 9223372036854775808))
t(9223372036854775808, None, None, 0, (0, 0, 1))
t(9223372036854775808, None, None, 1, (1, 1, 1))
t(9223372036854775808, None, None, 5, (5, 5, 1))
t(9223372036854775808, None, None, 10, (10, 10, 1))
t(9223372036854775808, None, None, 100, (100, 100, 1))
t(9223372036854775808, None, None, 2147483647, (2147483647, 2147483647, 1))
t(9223372036854775808, None, None, 9223372036854775808, (9223372036854775808, 9223372036854775808, 1))
t(9223372036854775808, None, -5, 0, (-1, -1, -5))
t(9223372036854775808, None, -5, 1, (0, -1, -5))
t(9223372036854775808, None, -5, 5, (4, -1, -5))
t(9223372036854775808, None, -5, 10, (9, -1, -5))
t(9223372036854775808, None, -5, 100, (99, -1, -5))
t(9223372036854775808, None, -5, 2147483647, (2147483646, -1, -5))
t(9223372036854775808, None, -5, 9223372036854775808, (9223372036854775807, -1, -5))
t(9223372036854775808, None, -3, 0, (-1, -1, -3))
t(9223372036854775808, None, -3, 1, (0, -1, -3))
t(9223372036854775808, None, -3, 5, (4, -1, -3))
t(9223372036854775808, None, -3, 10, (9, -1, -3))
t(9223372036854775808, None, -3, 100, (99, -1, -3))
t(9223372036854775808, None, -3, 2147483647, (2147483646, -1, -3))
t(9223372036854775808, None, -3, 9223372036854775808, (9223372036854775807, -1, -3))
t(9223372036854775808, None, -1, 0, (-1, -1, -1))
t(9223372036854775808, None, -1, 1, (0, -1, -1))
t(9223372036854775808, None, -1, 5, (4, -1, -1))
t(9223372036854775808, None, -1, 10, (9, -1, -1))
t(9223372036854775808, None, -1, 100, (99, -1, -1))
t(9223372036854775808, None, -1, 2147483647, (2147483646, -1, -1))
t(9223372036854775808, None, -1, 9223372036854775808, (9223372036854775807, -1, -1))
t(9223372036854775808, None, 1, 0, (0, 0, 1))
t(9223372036854775808, None, 1, 1, (1, 1, 1))
t(9223372036854775808, None, 1, 5, (5, 5, 1))
t(9223372036854775808, None, 1, 10, (10, 10, 1))
t(9223372036854775808, None, 1, 100, (100, 100, 1))
t(9223372036854775808, None, 1, 2147483647, (2147483647, 2147483647, 1))
t(9223372036854775808, None, 1, 9223372036854775808, (9223372036854775808, 9223372036854775808, 1))
t(9223372036854775808, None, 5, 0, (0, 0, 5))
t(9223372036854775808, None, 5, 1, (1, 1, 5))
t(9223372036854775808, None, 5, 5, (5, 5, 5))
t(9223372036854775808, None, 5, 10, (10, 10, 5))
t(9223372036854775808, None, 5, 100, (100, 100, 5))
t(9223372036854775808, None, 5, 2147483647, (2147483647, 2147483647, 5))
t(9223372036854775808, None, 5, 9223372036854775808, (9223372036854775808, 9223372036854775808, 5))
t(9223372036854775808, None, 20, 0, (0, 0, 20))
t(9223372036854775808, None, 20, 1, (1, 1, 20))
t(9223372036854775808, None, 20, 5, (5, 5, 20))
t(9223372036854775808, None, 20, 10, (10, 10, 20))
t(9223372036854775808, None, 20, 100, (100, 100, 20))
t(9223372036854775808, None, 20, 2147483647, (2147483647, 2147483647, 20))
t(9223372036854775808, None, 20, 9223372036854775808, (9223372036854775808, 9223372036854775808, 20))
t(9223372036854775808, None, 2147483647, 0, (0, 0, 2147483647))
t(9223372036854775808, None, 2147483647, 1, (1, 1, 2147483647))
t(9223372036854775808, None, 2147483647, 5, (5, 5, 2147483647))
t(9223372036854775808, None, 2147483647, 10, (10, 10, 2147483647))
t(9223372036854775808, None, 2147483647, 100, (100, 100, 2147483647))
t(9223372036854775808, None, 2147483647, 2147483647, (2147483647, 2147483647, 2147483647))
t(9223372036854775808, None, 2147483647, 9223372036854775808, (9223372036854775808, 9223372036854775808, 2147483647))
t(9223372036854775808, None, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(9223372036854775808, None, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(9223372036854775808, None, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(9223372036854775808, None, 9223372036854775808, 10, (10, 10, 9223372036854775808))
t(9223372036854775808, None, 9223372036854775808, 100, (100, 100, 9223372036854775808))
t(9223372036854775808, None, 9223372036854775808, 2147483647, (2147483647, 2147483647, 9223372036854775808))
t(9223372036854775808, None, 9223372036854775808, 9223372036854775808, (9223372036854775808, 9223372036854775808, 9223372036854775808))
t(9223372036854775808, -7, None, 0, (0, 0, 1))
t(9223372036854775808, -7, None, 1, (1, 0, 1))
t(9223372036854775808, -7, None, 5, (5, 0, 1))
t(9223372036854775808, -7, None, 10, (10, 3, 1))
t(9223372036854775808, -7, None, 100, (100, 93, 1))
t(9223372036854775808, -7, None, 2147483647, (2147483647, 2147483640, 1))
t(9223372036854775808, -7, None, 9223372036854775808, (9223372036854775808, 9223372036854775801, 1))
t(9223372036854775808, -7, -5, 0, (-1, -1, -5))
t(9223372036854775808, -7, -5, 1, (0, -1, -5))
t(9223372036854775808, -7, -5, 5, (4, -1, -5))
t(9223372036854775808, -7, -5, 10, (9, 3, -5))
t(9223372036854775808, -7, -5, 100, (99, 93, -5))
t(9223372036854775808, -7, -5, 2147483647, (2147483646, 2147483640, -5))
t(9223372036854775808, -7, -5, 9223372036854775808, (9223372036854775807, 9223372036854775801, -5))
t(9223372036854775808, -7, -3, 0, (-1, -1, -3))
t(9223372036854775808, -7, -3, 1, (0, -1, -3))
t(9223372036854775808, -7, -3, 5, (4, -1, -3))
t(9223372036854775808, -7, -3, 10, (9, 3, -3))
t(9223372036854775808, -7, -3, 100, (99, 93, -3))
t(9223372036854775808, -7, -3, 2147483647, (2147483646, 2147483640, -3))
t(9223372036854775808, -7, -3, 9223372036854775808, (9223372036854775807, 9223372036854775801, -3))
t(9223372036854775808, -7, -1, 0, (-1, -1, -1))
t(9223372036854775808, -7, -1, 1, (0, -1, -1))
t(9223372036854775808, -7, -1, 5, (4, -1, -1))
t(9223372036854775808, -7, -1, 10, (9, 3, -1))
t(9223372036854775808, -7, -1, 100, (99, 93, -1))
t(9223372036854775808, -7, -1, 2147483647, (2147483646, 2147483640, -1))
t(9223372036854775808, -7, -1, 9223372036854775808, (9223372036854775807, 9223372036854775801, -1))
t(9223372036854775808, -7, 1, 0, (0, 0, 1))
t(9223372036854775808, -7, 1, 1, (1, 0, 1))
t(9223372036854775808, -7, 1, 5, (5, 0, 1))
t(9223372036854775808, -7, 1, 10, (10, 3, 1))
t(9223372036854775808, -7, 1, 100, (100, 93, 1))
t(9223372036854775808, -7, 1, 2147483647, (2147483647, 2147483640, 1))
t(9223372036854775808, -7, 1, 9223372036854775808, (9223372036854775808, 9223372036854775801, 1))
t(9223372036854775808, -7, 5, 0, (0, 0, 5))
t(9223372036854775808, -7, 5, 1, (1, 0, 5))
t(9223372036854775808, -7, 5, 5, (5, 0, 5))
t(9223372036854775808, -7, 5, 10, (10, 3, 5))
t(9223372036854775808, -7, 5, 100, (100, 93, 5))
t(9223372036854775808, -7, 5, 2147483647, (2147483647, 2147483640, 5))
t(9223372036854775808, -7, 5, 9223372036854775808, (9223372036854775808, 9223372036854775801, 5))
t(9223372036854775808, -7, 20, 0, (0, 0, 20))
t(9223372036854775808, -7, 20, 1, (1, 0, 20))
t(9223372036854775808, -7, 20, 5, (5, 0, 20))
t(9223372036854775808, -7, 20, 10, (10, 3, 20))
t(9223372036854775808, -7, 20, 100, (100, 93, 20))
t(9223372036854775808, -7, 20, 2147483647, (2147483647, 2147483640, 20))
t(9223372036854775808, -7, 20, 9223372036854775808, (9223372036854775808, 9223372036854775801, 20))
t(9223372036854775808, -7, 2147483647, 0, (0, 0, 2147483647))
t(9223372036854775808, -7, 2147483647, 1, (1, 0, 2147483647))
t(9223372036854775808, -7, 2147483647, 5, (5, 0, 2147483647))
t(9223372036854775808, -7, 2147483647, 10, (10, 3, 2147483647))
t(9223372036854775808, -7, 2147483647, 100, (100, 93, 2147483647))
t(9223372036854775808, -7, 2147483647, 2147483647, (2147483647, 2147483640, 2147483647))
t(9223372036854775808, -7, 2147483647, 9223372036854775808, (9223372036854775808, 9223372036854775801, 2147483647))
t(9223372036854775808, -7, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(9223372036854775808, -7, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(9223372036854775808, -7, 9223372036854775808, 5, (5, 0, 9223372036854775808))
t(9223372036854775808, -7, 9223372036854775808, 10, (10, 3, 9223372036854775808))
t(9223372036854775808, -7, 9223372036854775808, 100, (100, 93, 9223372036854775808))
t(9223372036854775808, -7, 9223372036854775808, 2147483647, (2147483647, 2147483640, 9223372036854775808))
t(9223372036854775808, -7, 9223372036854775808, 9223372036854775808, (9223372036854775808, 9223372036854775801, 9223372036854775808))
t(9223372036854775808, -2, None, 0, (0, 0, 1))
t(9223372036854775808, -2, None, 1, (1, 0, 1))
t(9223372036854775808, -2, None, 5, (5, 3, 1))
t(9223372036854775808, -2, None, 10, (10, 8, 1))
t(9223372036854775808, -2, None, 100, (100, 98, 1))
t(9223372036854775808, -2, None, 2147483647, (2147483647, 2147483645, 1))
t(9223372036854775808, -2, None, 9223372036854775808, (9223372036854775808, 9223372036854775806, 1))
t(9223372036854775808, -2, -5, 0, (-1, -1, -5))
t(9223372036854775808, -2, -5, 1, (0, -1, -5))
t(9223372036854775808, -2, -5, 5, (4, 3, -5))
t(9223372036854775808, -2, -5, 10, (9, 8, -5))
t(9223372036854775808, -2, -5, 100, (99, 98, -5))
t(9223372036854775808, -2, -5, 2147483647, (2147483646, 2147483645, -5))
t(9223372036854775808, -2, -5, 9223372036854775808, (9223372036854775807, 9223372036854775806, -5))
t(9223372036854775808, -2, -3, 0, (-1, -1, -3))
t(9223372036854775808, -2, -3, 1, (0, -1, -3))
t(9223372036854775808, -2, -3, 5, (4, 3, -3))
t(9223372036854775808, -2, -3, 10, (9, 8, -3))
t(9223372036854775808, -2, -3, 100, (99, 98, -3))
t(9223372036854775808, -2, -3, 2147483647, (2147483646, 2147483645, -3))
t(9223372036854775808, -2, -3, 9223372036854775808, (9223372036854775807, 9223372036854775806, -3))
t(9223372036854775808, -2, -1, 0, (-1, -1, -1))
t(9223372036854775808, -2, -1, 1, (0, -1, -1))
t(9223372036854775808, -2, -1, 5, (4, 3, -1))
t(9223372036854775808, -2, -1, 10, (9, 8, -1))
t(9223372036854775808, -2, -1, 100, (99, 98, -1))
t(9223372036854775808, -2, -1, 2147483647, (2147483646, 2147483645, -1))
t(9223372036854775808, -2, -1, 9223372036854775808, (9223372036854775807, 9223372036854775806, -1))
t(9223372036854775808, -2, 1, 0, (0, 0, 1))
t(9223372036854775808, -2, 1, 1, (1, 0, 1))
t(9223372036854775808, -2, 1, 5, (5, 3, 1))
t(9223372036854775808, -2, 1, 10, (10, 8, 1))
t(9223372036854775808, -2, 1, 100, (100, 98, 1))
t(9223372036854775808, -2, 1, 2147483647, (2147483647, 2147483645, 1))
t(9223372036854775808, -2, 1, 9223372036854775808, (9223372036854775808, 9223372036854775806, 1))
t(9223372036854775808, -2, 5, 0, (0, 0, 5))
t(9223372036854775808, -2, 5, 1, (1, 0, 5))
t(9223372036854775808, -2, 5, 5, (5, 3, 5))
t(9223372036854775808, -2, 5, 10, (10, 8, 5))
t(9223372036854775808, -2, 5, 100, (100, 98, 5))
t(9223372036854775808, -2, 5, 2147483647, (2147483647, 2147483645, 5))
t(9223372036854775808, -2, 5, 9223372036854775808, (9223372036854775808, 9223372036854775806, 5))
t(9223372036854775808, -2, 20, 0, (0, 0, 20))
t(9223372036854775808, -2, 20, 1, (1, 0, 20))
t(9223372036854775808, -2, 20, 5, (5, 3, 20))
t(9223372036854775808, -2, 20, 10, (10, 8, 20))
t(9223372036854775808, -2, 20, 100, (100, 98, 20))
t(9223372036854775808, -2, 20, 2147483647, (2147483647, 2147483645, 20))
t(9223372036854775808, -2, 20, 9223372036854775808, (9223372036854775808, 9223372036854775806, 20))
t(9223372036854775808, -2, 2147483647, 0, (0, 0, 2147483647))
t(9223372036854775808, -2, 2147483647, 1, (1, 0, 2147483647))
t(9223372036854775808, -2, 2147483647, 5, (5, 3, 2147483647))
t(9223372036854775808, -2, 2147483647, 10, (10, 8, 2147483647))
t(9223372036854775808, -2, 2147483647, 100, (100, 98, 2147483647))
t(9223372036854775808, -2, 2147483647, 2147483647, (2147483647, 2147483645, 2147483647))
t(9223372036854775808, -2, 2147483647, 9223372036854775808, (9223372036854775808, 9223372036854775806, 2147483647))
t(9223372036854775808, -2, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(9223372036854775808, -2, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(9223372036854775808, -2, 9223372036854775808, 5, (5, 3, 9223372036854775808))
t(9223372036854775808, -2, 9223372036854775808, 10, (10, 8, 9223372036854775808))
t(9223372036854775808, -2, 9223372036854775808, 100, (100, 98, 9223372036854775808))
t(9223372036854775808, -2, 9223372036854775808, 2147483647, (2147483647, 2147483645, 9223372036854775808))
t(9223372036854775808, -2, 9223372036854775808, 9223372036854775808, (9223372036854775808, 9223372036854775806, 9223372036854775808))
t(9223372036854775808, 0, None, 0, (0, 0, 1))
t(9223372036854775808, 0, None, 1, (1, 0, 1))
t(9223372036854775808, 0, None, 5, (5, 0, 1))
t(9223372036854775808, 0, None, 10, (10, 0, 1))
t(9223372036854775808, 0, None, 100, (100, 0, 1))
t(9223372036854775808, 0, None, 2147483647, (2147483647, 0, 1))
t(9223372036854775808, 0, None, 9223372036854775808, (9223372036854775808, 0, 1))
t(9223372036854775808, 0, -5, 0, (-1, -1, -5))
t(9223372036854775808, 0, -5, 1, (0, 0, -5))
t(9223372036854775808, 0, -5, 5, (4, 0, -5))
t(9223372036854775808, 0, -5, 10, (9, 0, -5))
t(9223372036854775808, 0, -5, 100, (99, 0, -5))
t(9223372036854775808, 0, -5, 2147483647, (2147483646, 0, -5))
t(9223372036854775808, 0, -5, 9223372036854775808, (9223372036854775807, 0, -5))
t(9223372036854775808, 0, -3, 0, (-1, -1, -3))
t(9223372036854775808, 0, -3, 1, (0, 0, -3))
t(9223372036854775808, 0, -3, 5, (4, 0, -3))
t(9223372036854775808, 0, -3, 10, (9, 0, -3))
t(9223372036854775808, 0, -3, 100, (99, 0, -3))
t(9223372036854775808, 0, -3, 2147483647, (2147483646, 0, -3))
t(9223372036854775808, 0, -3, 9223372036854775808, (9223372036854775807, 0, -3))
t(9223372036854775808, 0, -1, 0, (-1, -1, -1))
t(9223372036854775808, 0, -1, 1, (0, 0, -1))
t(9223372036854775808, 0, -1, 5, (4, 0, -1))
t(9223372036854775808, 0, -1, 10, (9, 0, -1))
t(9223372036854775808, 0, -1, 100, (99, 0, -1))
t(9223372036854775808, 0, -1, 2147483647, (2147483646, 0, -1))
t(9223372036854775808, 0, -1, 9223372036854775808, (9223372036854775807, 0, -1))
t(9223372036854775808, 0, 1, 0, (0, 0, 1))
t(9223372036854775808, 0, 1, 1, (1, 0, 1))
t(9223372036854775808, 0, 1, 5, (5, 0, 1))
t(9223372036854775808, 0, 1, 10, (10, 0, 1))
t(9223372036854775808, 0, 1, 100, (100, 0, 1))
t(9223372036854775808, 0, 1, 2147483647, (2147483647, 0, 1))
t(9223372036854775808, 0, 1, 9223372036854775808, (9223372036854775808, 0, 1))
t(9223372036854775808, 0, 5, 0, (0, 0, 5))
t(9223372036854775808, 0, 5, 1, (1, 0, 5))
t(9223372036854775808, 0, 5, 5, (5, 0, 5))
t(9223372036854775808, 0, 5, 10, (10, 0, 5))
t(9223372036854775808, 0, 5, 100, (100, 0, 5))
t(9223372036854775808, 0, 5, 2147483647, (2147483647, 0, 5))
t(9223372036854775808, 0, 5, 9223372036854775808, (9223372036854775808, 0, 5))
t(9223372036854775808, 0, 20, 0, (0, 0, 20))
t(9223372036854775808, 0, 20, 1, (1, 0, 20))
t(9223372036854775808, 0, 20, 5, (5, 0, 20))
t(9223372036854775808, 0, 20, 10, (10, 0, 20))
t(9223372036854775808, 0, 20, 100, (100, 0, 20))
t(9223372036854775808, 0, 20, 2147483647, (2147483647, 0, 20))
t(9223372036854775808, 0, 20, 9223372036854775808, (9223372036854775808, 0, 20))
t(9223372036854775808, 0, 2147483647, 0, (0, 0, 2147483647))
t(9223372036854775808, 0, 2147483647, 1, (1, 0, 2147483647))
t(9223372036854775808, 0, 2147483647, 5, (5, 0, 2147483647))
t(9223372036854775808, 0, 2147483647, 10, (10, 0, 2147483647))
t(9223372036854775808, 0, 2147483647, 100, (100, 0, 2147483647))
t(9223372036854775808, 0, 2147483647, 2147483647, (2147483647, 0, 2147483647))
t(9223372036854775808, 0, 2147483647, 9223372036854775808, (9223372036854775808, 0, 2147483647))
t(9223372036854775808, 0, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(9223372036854775808, 0, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(9223372036854775808, 0, 9223372036854775808, 5, (5, 0, 9223372036854775808))
t(9223372036854775808, 0, 9223372036854775808, 10, (10, 0, 9223372036854775808))
t(9223372036854775808, 0, 9223372036854775808, 100, (100, 0, 9223372036854775808))
t(9223372036854775808, 0, 9223372036854775808, 2147483647, (2147483647, 0, 9223372036854775808))
t(9223372036854775808, 0, 9223372036854775808, 9223372036854775808, (9223372036854775808, 0, 9223372036854775808))
t(9223372036854775808, 1, None, 0, (0, 0, 1))
t(9223372036854775808, 1, None, 1, (1, 1, 1))
t(9223372036854775808, 1, None, 5, (5, 1, 1))
t(9223372036854775808, 1, None, 10, (10, 1, 1))
t(9223372036854775808, 1, None, 100, (100, 1, 1))
t(9223372036854775808, 1, None, 2147483647, (2147483647, 1, 1))
t(9223372036854775808, 1, None, 9223372036854775808, (9223372036854775808, 1, 1))
t(9223372036854775808, 1, -5, 0, (-1, -1, -5))
t(9223372036854775808, 1, -5, 1, (0, 0, -5))
t(9223372036854775808, 1, -5, 5, (4, 1, -5))
t(9223372036854775808, 1, -5, 10, (9, 1, -5))
t(9223372036854775808, 1, -5, 100, (99, 1, -5))
t(9223372036854775808, 1, -5, 2147483647, (2147483646, 1, -5))
t(9223372036854775808, 1, -5, 9223372036854775808, (9223372036854775807, 1, -5))
t(9223372036854775808, 1, -3, 0, (-1, -1, -3))
t(9223372036854775808, 1, -3, 1, (0, 0, -3))
t(9223372036854775808, 1, -3, 5, (4, 1, -3))
t(9223372036854775808, 1, -3, 10, (9, 1, -3))
t(9223372036854775808, 1, -3, 100, (99, 1, -3))
t(9223372036854775808, 1, -3, 2147483647, (2147483646, 1, -3))
t(9223372036854775808, 1, -3, 9223372036854775808, (9223372036854775807, 1, -3))
t(9223372036854775808, 1, -1, 0, (-1, -1, -1))
t(9223372036854775808, 1, -1, 1, (0, 0, -1))
t(9223372036854775808, 1, -1, 5, (4, 1, -1))
t(9223372036854775808, 1, -1, 10, (9, 1, -1))
t(9223372036854775808, 1, -1, 100, (99, 1, -1))
t(9223372036854775808, 1, -1, 2147483647, (2147483646, 1, -1))
t(9223372036854775808, 1, -1, 9223372036854775808, (9223372036854775807, 1, -1))
t(9223372036854775808, 1, 1, 0, (0, 0, 1))
t(9223372036854775808, 1, 1, 1, (1, 1, 1))
t(9223372036854775808, 1, 1, 5, (5, 1, 1))
t(9223372036854775808, 1, 1, 10, (10, 1, 1))
t(9223372036854775808, 1, 1, 100, (100, 1, 1))
t(9223372036854775808, 1, 1, 2147483647, (2147483647, 1, 1))
t(9223372036854775808, 1, 1, 9223372036854775808, (9223372036854775808, 1, 1))
t(9223372036854775808, 1, 5, 0, (0, 0, 5))
t(9223372036854775808, 1, 5, 1, (1, 1, 5))
t(9223372036854775808, 1, 5, 5, (5, 1, 5))
t(9223372036854775808, 1, 5, 10, (10, 1, 5))
t(9223372036854775808, 1, 5, 100, (100, 1, 5))
t(9223372036854775808, 1, 5, 2147483647, (2147483647, 1, 5))
t(9223372036854775808, 1, 5, 9223372036854775808, (9223372036854775808, 1, 5))
t(9223372036854775808, 1, 20, 0, (0, 0, 20))
t(9223372036854775808, 1, 20, 1, (1, 1, 20))
t(9223372036854775808, 1, 20, 5, (5, 1, 20))
t(9223372036854775808, 1, 20, 10, (10, 1, 20))
t(9223372036854775808, 1, 20, 100, (100, 1, 20))
t(9223372036854775808, 1, 20, 2147483647, (2147483647, 1, 20))
t(9223372036854775808, 1, 20, 9223372036854775808, (9223372036854775808, 1, 20))
t(9223372036854775808, 1, 2147483647, 0, (0, 0, 2147483647))
t(9223372036854775808, 1, 2147483647, 1, (1, 1, 2147483647))
t(9223372036854775808, 1, 2147483647, 5, (5, 1, 2147483647))
t(9223372036854775808, 1, 2147483647, 10, (10, 1, 2147483647))
t(9223372036854775808, 1, 2147483647, 100, (100, 1, 2147483647))
t(9223372036854775808, 1, 2147483647, 2147483647, (2147483647, 1, 2147483647))
t(9223372036854775808, 1, 2147483647, 9223372036854775808, (9223372036854775808, 1, 2147483647))
t(9223372036854775808, 1, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(9223372036854775808, 1, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(9223372036854775808, 1, 9223372036854775808, 5, (5, 1, 9223372036854775808))
t(9223372036854775808, 1, 9223372036854775808, 10, (10, 1, 9223372036854775808))
t(9223372036854775808, 1, 9223372036854775808, 100, (100, 1, 9223372036854775808))
t(9223372036854775808, 1, 9223372036854775808, 2147483647, (2147483647, 1, 9223372036854775808))
t(9223372036854775808, 1, 9223372036854775808, 9223372036854775808, (9223372036854775808, 1, 9223372036854775808))
t(9223372036854775808, 6, None, 0, (0, 0, 1))
t(9223372036854775808, 6, None, 1, (1, 1, 1))
t(9223372036854775808, 6, None, 5, (5, 5, 1))
t(9223372036854775808, 6, None, 10, (10, 6, 1))
t(9223372036854775808, 6, None, 100, (100, 6, 1))
t(9223372036854775808, 6, None, 2147483647, (2147483647, 6, 1))
t(9223372036854775808, 6, None, 9223372036854775808, (9223372036854775808, 6, 1))
t(9223372036854775808, 6, -5, 0, (-1, -1, -5))
t(9223372036854775808, 6, -5, 1, (0, 0, -5))
t(9223372036854775808, 6, -5, 5, (4, 4, -5))
t(9223372036854775808, 6, -5, 10, (9, 6, -5))
t(9223372036854775808, 6, -5, 100, (99, 6, -5))
t(9223372036854775808, 6, -5, 2147483647, (2147483646, 6, -5))
t(9223372036854775808, 6, -5, 9223372036854775808, (9223372036854775807, 6, -5))
t(9223372036854775808, 6, -3, 0, (-1, -1, -3))
t(9223372036854775808, 6, -3, 1, (0, 0, -3))
t(9223372036854775808, 6, -3, 5, (4, 4, -3))
t(9223372036854775808, 6, -3, 10, (9, 6, -3))
t(9223372036854775808, 6, -3, 100, (99, 6, -3))
t(9223372036854775808, 6, -3, 2147483647, (2147483646, 6, -3))
t(9223372036854775808, 6, -3, 9223372036854775808, (9223372036854775807, 6, -3))
t(9223372036854775808, 6, -1, 0, (-1, -1, -1))
t(9223372036854775808, 6, -1, 1, (0, 0, -1))
t(9223372036854775808, 6, -1, 5, (4, 4, -1))
t(9223372036854775808, 6, -1, 10, (9, 6, -1))
t(9223372036854775808, 6, -1, 100, (99, 6, -1))
t(9223372036854775808, 6, -1, 2147483647, (2147483646, 6, -1))
t(9223372036854775808, 6, -1, 9223372036854775808, (9223372036854775807, 6, -1))
t(9223372036854775808, 6, 1, 0, (0, 0, 1))
t(9223372036854775808, 6, 1, 1, (1, 1, 1))
t(9223372036854775808, 6, 1, 5, (5, 5, 1))
t(9223372036854775808, 6, 1, 10, (10, 6, 1))
t(9223372036854775808, 6, 1, 100, (100, 6, 1))
t(9223372036854775808, 6, 1, 2147483647, (2147483647, 6, 1))
t(9223372036854775808, 6, 1, 9223372036854775808, (9223372036854775808, 6, 1))
t(9223372036854775808, 6, 5, 0, (0, 0, 5))
t(9223372036854775808, 6, 5, 1, (1, 1, 5))
t(9223372036854775808, 6, 5, 5, (5, 5, 5))
t(9223372036854775808, 6, 5, 10, (10, 6, 5))
t(9223372036854775808, 6, 5, 100, (100, 6, 5))
t(9223372036854775808, 6, 5, 2147483647, (2147483647, 6, 5))
t(9223372036854775808, 6, 5, 9223372036854775808, (9223372036854775808, 6, 5))
t(9223372036854775808, 6, 20, 0, (0, 0, 20))
t(9223372036854775808, 6, 20, 1, (1, 1, 20))
t(9223372036854775808, 6, 20, 5, (5, 5, 20))
t(9223372036854775808, 6, 20, 10, (10, 6, 20))
t(9223372036854775808, 6, 20, 100, (100, 6, 20))
t(9223372036854775808, 6, 20, 2147483647, (2147483647, 6, 20))
t(9223372036854775808, 6, 20, 9223372036854775808, (9223372036854775808, 6, 20))
t(9223372036854775808, 6, 2147483647, 0, (0, 0, 2147483647))
t(9223372036854775808, 6, 2147483647, 1, (1, 1, 2147483647))
t(9223372036854775808, 6, 2147483647, 5, (5, 5, 2147483647))
t(9223372036854775808, 6, 2147483647, 10, (10, 6, 2147483647))
t(9223372036854775808, 6, 2147483647, 100, (100, 6, 2147483647))
t(9223372036854775808, 6, 2147483647, 2147483647, (2147483647, 6, 2147483647))
t(9223372036854775808, 6, 2147483647, 9223372036854775808, (9223372036854775808, 6, 2147483647))
t(9223372036854775808, 6, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(9223372036854775808, 6, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(9223372036854775808, 6, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(9223372036854775808, 6, 9223372036854775808, 10, (10, 6, 9223372036854775808))
t(9223372036854775808, 6, 9223372036854775808, 100, (100, 6, 9223372036854775808))
t(9223372036854775808, 6, 9223372036854775808, 2147483647, (2147483647, 6, 9223372036854775808))
t(9223372036854775808, 6, 9223372036854775808, 9223372036854775808, (9223372036854775808, 6, 9223372036854775808))
t(9223372036854775808, 10, None, 0, (0, 0, 1))
t(9223372036854775808, 10, None, 1, (1, 1, 1))
t(9223372036854775808, 10, None, 5, (5, 5, 1))
t(9223372036854775808, 10, None, 10, (10, 10, 1))
t(9223372036854775808, 10, None, 100, (100, 10, 1))
t(9223372036854775808, 10, None, 2147483647, (2147483647, 10, 1))
t(9223372036854775808, 10, None, 9223372036854775808, (9223372036854775808, 10, 1))
t(9223372036854775808, 10, -5, 0, (-1, -1, -5))
t(9223372036854775808, 10, -5, 1, (0, 0, -5))
t(9223372036854775808, 10, -5, 5, (4, 4, -5))
t(9223372036854775808, 10, -5, 10, (9, 9, -5))
t(9223372036854775808, 10, -5, 100, (99, 10, -5))
t(9223372036854775808, 10, -5, 2147483647, (2147483646, 10, -5))
t(9223372036854775808, 10, -5, 9223372036854775808, (9223372036854775807, 10, -5))
t(9223372036854775808, 10, -3, 0, (-1, -1, -3))
t(9223372036854775808, 10, -3, 1, (0, 0, -3))
t(9223372036854775808, 10, -3, 5, (4, 4, -3))
t(9223372036854775808, 10, -3, 10, (9, 9, -3))
t(9223372036854775808, 10, -3, 100, (99, 10, -3))
t(9223372036854775808, 10, -3, 2147483647, (2147483646, 10, -3))
t(9223372036854775808, 10, -3, 9223372036854775808, (9223372036854775807, 10, -3))
t(9223372036854775808, 10, -1, 0, (-1, -1, -1))
t(9223372036854775808, 10, -1, 1, (0, 0, -1))
t(9223372036854775808, 10, -1, 5, (4, 4, -1))
t(9223372036854775808, 10, -1, 10, (9, 9, -1))
t(9223372036854775808, 10, -1, 100, (99, 10, -1))
t(9223372036854775808, 10, -1, 2147483647, (2147483646, 10, -1))
t(9223372036854775808, 10, -1, 9223372036854775808, (9223372036854775807, 10, -1))
t(9223372036854775808, 10, 1, 0, (0, 0, 1))
t(9223372036854775808, 10, 1, 1, (1, 1, 1))
t(9223372036854775808, 10, 1, 5, (5, 5, 1))
t(9223372036854775808, 10, 1, 10, (10, 10, 1))
t(9223372036854775808, 10, 1, 100, (100, 10, 1))
t(9223372036854775808, 10, 1, 2147483647, (2147483647, 10, 1))
t(9223372036854775808, 10, 1, 9223372036854775808, (9223372036854775808, 10, 1))
t(9223372036854775808, 10, 5, 0, (0, 0, 5))
t(9223372036854775808, 10, 5, 1, (1, 1, 5))
t(9223372036854775808, 10, 5, 5, (5, 5, 5))
t(9223372036854775808, 10, 5, 10, (10, 10, 5))
t(9223372036854775808, 10, 5, 100, (100, 10, 5))
t(9223372036854775808, 10, 5, 2147483647, (2147483647, 10, 5))
t(9223372036854775808, 10, 5, 9223372036854775808, (9223372036854775808, 10, 5))
t(9223372036854775808, 10, 20, 0, (0, 0, 20))
t(9223372036854775808, 10, 20, 1, (1, 1, 20))
t(9223372036854775808, 10, 20, 5, (5, 5, 20))
t(9223372036854775808, 10, 20, 10, (10, 10, 20))
t(9223372036854775808, 10, 20, 100, (100, 10, 20))
t(9223372036854775808, 10, 20, 2147483647, (2147483647, 10, 20))
t(9223372036854775808, 10, 20, 9223372036854775808, (9223372036854775808, 10, 20))
t(9223372036854775808, 10, 2147483647, 0, (0, 0, 2147483647))
t(9223372036854775808, 10, 2147483647, 1, (1, 1, 2147483647))
t(9223372036854775808, 10, 2147483647, 5, (5, 5, 2147483647))
t(9223372036854775808, 10, 2147483647, 10, (10, 10, 2147483647))
t(9223372036854775808, 10, 2147483647, 100, (100, 10, 2147483647))
t(9223372036854775808, 10, 2147483647, 2147483647, (2147483647, 10, 2147483647))
t(9223372036854775808, 10, 2147483647, 9223372036854775808, (9223372036854775808, 10, 2147483647))
t(9223372036854775808, 10, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(9223372036854775808, 10, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(9223372036854775808, 10, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(9223372036854775808, 10, 9223372036854775808, 10, (10, 10, 9223372036854775808))
t(9223372036854775808, 10, 9223372036854775808, 100, (100, 10, 9223372036854775808))
t(9223372036854775808, 10, 9223372036854775808, 2147483647, (2147483647, 10, 9223372036854775808))
t(9223372036854775808, 10, 9223372036854775808, 9223372036854775808, (9223372036854775808, 10, 9223372036854775808))
t(9223372036854775808, 2147483647, None, 0, (0, 0, 1))
t(9223372036854775808, 2147483647, None, 1, (1, 1, 1))
t(9223372036854775808, 2147483647, None, 5, (5, 5, 1))
t(9223372036854775808, 2147483647, None, 10, (10, 10, 1))
t(9223372036854775808, 2147483647, None, 100, (100, 100, 1))
t(9223372036854775808, 2147483647, None, 2147483647, (2147483647, 2147483647, 1))
t(9223372036854775808, 2147483647, None, 9223372036854775808, (9223372036854775808, 2147483647, 1))
t(9223372036854775808, 2147483647, -5, 0, (-1, -1, -5))
t(9223372036854775808, 2147483647, -5, 1, (0, 0, -5))
t(9223372036854775808, 2147483647, -5, 5, (4, 4, -5))
t(9223372036854775808, 2147483647, -5, 10, (9, 9, -5))
t(9223372036854775808, 2147483647, -5, 100, (99, 99, -5))
t(9223372036854775808, 2147483647, -5, 2147483647, (2147483646, 2147483646, -5))
t(9223372036854775808, 2147483647, -5, 9223372036854775808, (9223372036854775807, 2147483647, -5))
t(9223372036854775808, 2147483647, -3, 0, (-1, -1, -3))
t(9223372036854775808, 2147483647, -3, 1, (0, 0, -3))
t(9223372036854775808, 2147483647, -3, 5, (4, 4, -3))
t(9223372036854775808, 2147483647, -3, 10, (9, 9, -3))
t(9223372036854775808, 2147483647, -3, 100, (99, 99, -3))
t(9223372036854775808, 2147483647, -3, 2147483647, (2147483646, 2147483646, -3))
t(9223372036854775808, 2147483647, -3, 9223372036854775808, (9223372036854775807, 2147483647, -3))
t(9223372036854775808, 2147483647, -1, 0, (-1, -1, -1))
t(9223372036854775808, 2147483647, -1, 1, (0, 0, -1))
t(9223372036854775808, 2147483647, -1, 5, (4, 4, -1))
t(9223372036854775808, 2147483647, -1, 10, (9, 9, -1))
t(9223372036854775808, 2147483647, -1, 100, (99, 99, -1))
t(9223372036854775808, 2147483647, -1, 2147483647, (2147483646, 2147483646, -1))
t(9223372036854775808, 2147483647, -1, 9223372036854775808, (9223372036854775807, 2147483647, -1))
t(9223372036854775808, 2147483647, 1, 0, (0, 0, 1))
t(9223372036854775808, 2147483647, 1, 1, (1, 1, 1))
t(9223372036854775808, 2147483647, 1, 5, (5, 5, 1))
t(9223372036854775808, 2147483647, 1, 10, (10, 10, 1))
t(9223372036854775808, 2147483647, 1, 100, (100, 100, 1))
t(9223372036854775808, 2147483647, 1, 2147483647, (2147483647, 2147483647, 1))
t(9223372036854775808, 2147483647, 1, 9223372036854775808, (9223372036854775808, 2147483647, 1))
t(9223372036854775808, 2147483647, 5, 0, (0, 0, 5))
t(9223372036854775808, 2147483647, 5, 1, (1, 1, 5))
t(9223372036854775808, 2147483647, 5, 5, (5, 5, 5))
t(9223372036854775808, 2147483647, 5, 10, (10, 10, 5))
t(9223372036854775808, 2147483647, 5, 100, (100, 100, 5))
t(9223372036854775808, 2147483647, 5, 2147483647, (2147483647, 2147483647, 5))
t(9223372036854775808, 2147483647, 5, 9223372036854775808, (9223372036854775808, 2147483647, 5))
t(9223372036854775808, 2147483647, 20, 0, (0, 0, 20))
t(9223372036854775808, 2147483647, 20, 1, (1, 1, 20))
t(9223372036854775808, 2147483647, 20, 5, (5, 5, 20))
t(9223372036854775808, 2147483647, 20, 10, (10, 10, 20))
t(9223372036854775808, 2147483647, 20, 100, (100, 100, 20))
t(9223372036854775808, 2147483647, 20, 2147483647, (2147483647, 2147483647, 20))
t(9223372036854775808, 2147483647, 20, 9223372036854775808, (9223372036854775808, 2147483647, 20))
t(9223372036854775808, 2147483647, 2147483647, 0, (0, 0, 2147483647))
t(9223372036854775808, 2147483647, 2147483647, 1, (1, 1, 2147483647))
t(9223372036854775808, 2147483647, 2147483647, 5, (5, 5, 2147483647))
t(9223372036854775808, 2147483647, 2147483647, 10, (10, 10, 2147483647))
t(9223372036854775808, 2147483647, 2147483647, 100, (100, 100, 2147483647))
t(9223372036854775808, 2147483647, 2147483647, 2147483647, (2147483647, 2147483647, 2147483647))
t(9223372036854775808, 2147483647, 2147483647, 9223372036854775808, (9223372036854775808, 2147483647, 2147483647))
t(9223372036854775808, 2147483647, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(9223372036854775808, 2147483647, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(9223372036854775808, 2147483647, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(9223372036854775808, 2147483647, 9223372036854775808, 10, (10, 10, 9223372036854775808))
t(9223372036854775808, 2147483647, 9223372036854775808, 100, (100, 100, 9223372036854775808))
t(9223372036854775808, 2147483647, 9223372036854775808, 2147483647, (2147483647, 2147483647, 9223372036854775808))
t(9223372036854775808, 2147483647, 9223372036854775808, 9223372036854775808, (9223372036854775808, 2147483647, 9223372036854775808))
t(9223372036854775808, 9223372036854775808, None, 0, (0, 0, 1))
t(9223372036854775808, 9223372036854775808, None, 1, (1, 1, 1))
t(9223372036854775808, 9223372036854775808, None, 5, (5, 5, 1))
t(9223372036854775808, 9223372036854775808, None, 10, (10, 10, 1))
t(9223372036854775808, 9223372036854775808, None, 100, (100, 100, 1))
t(9223372036854775808, 9223372036854775808, None, 2147483647, (2147483647, 2147483647, 1))
t(9223372036854775808, 9223372036854775808, None, 9223372036854775808, (9223372036854775808, 9223372036854775808, 1))
t(9223372036854775808, 9223372036854775808, -5, 0, (-1, -1, -5))
t(9223372036854775808, 9223372036854775808, -5, 1, (0, 0, -5))
t(9223372036854775808, 9223372036854775808, -5, 5, (4, 4, -5))
t(9223372036854775808, 9223372036854775808, -5, 10, (9, 9, -5))
t(9223372036854775808, 9223372036854775808, -5, 100, (99, 99, -5))
t(9223372036854775808, 9223372036854775808, -5, 2147483647, (2147483646, 2147483646, -5))
t(9223372036854775808, 9223372036854775808, -5, 9223372036854775808, (9223372036854775807, 9223372036854775807, -5))
t(9223372036854775808, 9223372036854775808, -3, 0, (-1, -1, -3))
t(9223372036854775808, 9223372036854775808, -3, 1, (0, 0, -3))
t(9223372036854775808, 9223372036854775808, -3, 5, (4, 4, -3))
t(9223372036854775808, 9223372036854775808, -3, 10, (9, 9, -3))
t(9223372036854775808, 9223372036854775808, -3, 100, (99, 99, -3))
t(9223372036854775808, 9223372036854775808, -3, 2147483647, (2147483646, 2147483646, -3))
t(9223372036854775808, 9223372036854775808, -3, 9223372036854775808, (9223372036854775807, 9223372036854775807, -3))
t(9223372036854775808, 9223372036854775808, -1, 0, (-1, -1, -1))
t(9223372036854775808, 9223372036854775808, -1, 1, (0, 0, -1))
t(9223372036854775808, 9223372036854775808, -1, 5, (4, 4, -1))
t(9223372036854775808, 9223372036854775808, -1, 10, (9, 9, -1))
t(9223372036854775808, 9223372036854775808, -1, 100, (99, 99, -1))
t(9223372036854775808, 9223372036854775808, -1, 2147483647, (2147483646, 2147483646, -1))
t(9223372036854775808, 9223372036854775808, -1, 9223372036854775808, (9223372036854775807, 9223372036854775807, -1))
t(9223372036854775808, 9223372036854775808, 1, 0, (0, 0, 1))
t(9223372036854775808, 9223372036854775808, 1, 1, (1, 1, 1))
t(9223372036854775808, 9223372036854775808, 1, 5, (5, 5, 1))
t(9223372036854775808, 9223372036854775808, 1, 10, (10, 10, 1))
t(9223372036854775808, 9223372036854775808, 1, 100, (100, 100, 1))
t(9223372036854775808, 9223372036854775808, 1, 2147483647, (2147483647, 2147483647, 1))
t(9223372036854775808, 9223372036854775808, 1, 9223372036854775808, (9223372036854775808, 9223372036854775808, 1))
t(9223372036854775808, 9223372036854775808, 5, 0, (0, 0, 5))
t(9223372036854775808, 9223372036854775808, 5, 1, (1, 1, 5))
t(9223372036854775808, 9223372036854775808, 5, 5, (5, 5, 5))
t(9223372036854775808, 9223372036854775808, 5, 10, (10, 10, 5))
t(9223372036854775808, 9223372036854775808, 5, 100, (100, 100, 5))
t(9223372036854775808, 9223372036854775808, 5, 2147483647, (2147483647, 2147483647, 5))
t(9223372036854775808, 9223372036854775808, 5, 9223372036854775808, (9223372036854775808, 9223372036854775808, 5))
t(9223372036854775808, 9223372036854775808, 20, 0, (0, 0, 20))
t(9223372036854775808, 9223372036854775808, 20, 1, (1, 1, 20))
t(9223372036854775808, 9223372036854775808, 20, 5, (5, 5, 20))
t(9223372036854775808, 9223372036854775808, 20, 10, (10, 10, 20))
t(9223372036854775808, 9223372036854775808, 20, 100, (100, 100, 20))
t(9223372036854775808, 9223372036854775808, 20, 2147483647, (2147483647, 2147483647, 20))
t(9223372036854775808, 9223372036854775808, 20, 9223372036854775808, (9223372036854775808, 9223372036854775808, 20))
t(9223372036854775808, 9223372036854775808, 2147483647, 0, (0, 0, 2147483647))
t(9223372036854775808, 9223372036854775808, 2147483647, 1, (1, 1, 2147483647))
t(9223372036854775808, 9223372036854775808, 2147483647, 5, (5, 5, 2147483647))
t(9223372036854775808, 9223372036854775808, 2147483647, 10, (10, 10, 2147483647))
t(9223372036854775808, 9223372036854775808, 2147483647, 100, (100, 100, 2147483647))
t(9223372036854775808, 9223372036854775808, 2147483647, 2147483647, (2147483647, 2147483647, 2147483647))
t(9223372036854775808, 9223372036854775808, 2147483647, 9223372036854775808, (9223372036854775808, 9223372036854775808, 2147483647))
t(9223372036854775808, 9223372036854775808, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(9223372036854775808, 9223372036854775808, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(9223372036854775808, 9223372036854775808, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(9223372036854775808, 9223372036854775808, 9223372036854775808, 10, (10, 10, 9223372036854775808))
t(9223372036854775808, 9223372036854775808, 9223372036854775808, 100, (100, 100, 9223372036854775808))
t(9223372036854775808, 9223372036854775808, 9223372036854775808, 2147483647, (2147483647, 2147483647, 9223372036854775808))
t(9223372036854775808, 9223372036854775808, 9223372036854775808, 9223372036854775808, (9223372036854775808, 9223372036854775808, 9223372036854775808))
| def test_indices(self):
def t(i, j, k, l, r):
rr = slice(i, j, k).indices(l)
self.assertEqual(rr, r, 'slice({i}, {j}, {k}).indices({l}) != {r}: {rr}'.format(i=i, j=j, k=k, l=l, r=r, rr=rr))
t(None, None, None, 0, (0, 0, 1))
t(None, None, None, 1, (0, 1, 1))
t(None, None, None, 5, (0, 5, 1))
t(None, None, None, 10, (0, 10, 1))
t(None, None, None, 100, (0, 100, 1))
t(None, None, None, 2147483647, (0, 2147483647, 1))
t(None, None, None, 9223372036854775808, (0, 9223372036854775808, 1))
t(None, None, -5, 0, (-1, -1, -5))
t(None, None, -5, 1, (0, -1, -5))
t(None, None, -5, 5, (4, -1, -5))
t(None, None, -5, 10, (9, -1, -5))
t(None, None, -5, 100, (99, -1, -5))
t(None, None, -5, 2147483647, (2147483646, -1, -5))
t(None, None, -5, 9223372036854775808, (9223372036854775807, -1, -5))
t(None, None, -3, 0, (-1, -1, -3))
t(None, None, -3, 1, (0, -1, -3))
t(None, None, -3, 5, (4, -1, -3))
t(None, None, -3, 10, (9, -1, -3))
t(None, None, -3, 100, (99, -1, -3))
t(None, None, -3, 2147483647, (2147483646, -1, -3))
t(None, None, -3, 9223372036854775808, (9223372036854775807, -1, -3))
t(None, None, -1, 0, (-1, -1, -1))
t(None, None, -1, 1, (0, -1, -1))
t(None, None, -1, 5, (4, -1, -1))
t(None, None, -1, 10, (9, -1, -1))
t(None, None, -1, 100, (99, -1, -1))
t(None, None, -1, 2147483647, (2147483646, -1, -1))
t(None, None, -1, 9223372036854775808, (9223372036854775807, -1, -1))
t(None, None, 1, 0, (0, 0, 1))
t(None, None, 1, 1, (0, 1, 1))
t(None, None, 1, 5, (0, 5, 1))
t(None, None, 1, 10, (0, 10, 1))
t(None, None, 1, 100, (0, 100, 1))
t(None, None, 1, 2147483647, (0, 2147483647, 1))
t(None, None, 1, 9223372036854775808, (0, 9223372036854775808, 1))
t(None, None, 5, 0, (0, 0, 5))
t(None, None, 5, 1, (0, 1, 5))
t(None, None, 5, 5, (0, 5, 5))
t(None, None, 5, 10, (0, 10, 5))
t(None, None, 5, 100, (0, 100, 5))
t(None, None, 5, 2147483647, (0, 2147483647, 5))
t(None, None, 5, 9223372036854775808, (0, 9223372036854775808, 5))
t(None, None, 20, 0, (0, 0, 20))
t(None, None, 20, 1, (0, 1, 20))
t(None, None, 20, 5, (0, 5, 20))
t(None, None, 20, 10, (0, 10, 20))
t(None, None, 20, 100, (0, 100, 20))
t(None, None, 20, 2147483647, (0, 2147483647, 20))
t(None, None, 20, 9223372036854775808, (0, 9223372036854775808, 20))
t(None, None, 2147483647, 0, (0, 0, 2147483647))
t(None, None, 2147483647, 1, (0, 1, 2147483647))
t(None, None, 2147483647, 5, (0, 5, 2147483647))
t(None, None, 2147483647, 10, (0, 10, 2147483647))
t(None, None, 2147483647, 100, (0, 100, 2147483647))
t(None, None, 2147483647, 2147483647, (0, 2147483647, 2147483647))
t(None, None, 2147483647, 9223372036854775808, (0, 9223372036854775808, 2147483647))
t(None, None, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(None, None, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(None, None, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(None, None, 9223372036854775808, 10, (0, 10, 9223372036854775808))
t(None, None, 9223372036854775808, 100, (0, 100, 9223372036854775808))
t(None, None, 9223372036854775808, 2147483647, (0, 2147483647, 9223372036854775808))
t(None, None, 9223372036854775808, 9223372036854775808, (0, 9223372036854775808, 9223372036854775808))
t(None, -7, None, 0, (0, 0, 1))
t(None, -7, None, 1, (0, 0, 1))
t(None, -7, None, 5, (0, 0, 1))
t(None, -7, None, 10, (0, 3, 1))
t(None, -7, None, 100, (0, 93, 1))
t(None, -7, None, 2147483647, (0, 2147483640, 1))
t(None, -7, None, 9223372036854775808, (0, 9223372036854775801, 1))
t(None, -7, -5, 0, (-1, -1, -5))
t(None, -7, -5, 1, (0, -1, -5))
t(None, -7, -5, 5, (4, -1, -5))
t(None, -7, -5, 10, (9, 3, -5))
t(None, -7, -5, 100, (99, 93, -5))
t(None, -7, -5, 2147483647, (2147483646, 2147483640, -5))
t(None, -7, -5, 9223372036854775808, (9223372036854775807, 9223372036854775801, -5))
t(None, -7, -3, 0, (-1, -1, -3))
t(None, -7, -3, 1, (0, -1, -3))
t(None, -7, -3, 5, (4, -1, -3))
t(None, -7, -3, 10, (9, 3, -3))
t(None, -7, -3, 100, (99, 93, -3))
t(None, -7, -3, 2147483647, (2147483646, 2147483640, -3))
t(None, -7, -3, 9223372036854775808, (9223372036854775807, 9223372036854775801, -3))
t(None, -7, -1, 0, (-1, -1, -1))
t(None, -7, -1, 1, (0, -1, -1))
t(None, -7, -1, 5, (4, -1, -1))
t(None, -7, -1, 10, (9, 3, -1))
t(None, -7, -1, 100, (99, 93, -1))
t(None, -7, -1, 2147483647, (2147483646, 2147483640, -1))
t(None, -7, -1, 9223372036854775808, (9223372036854775807, 9223372036854775801, -1))
t(None, -7, 1, 0, (0, 0, 1))
t(None, -7, 1, 1, (0, 0, 1))
t(None, -7, 1, 5, (0, 0, 1))
t(None, -7, 1, 10, (0, 3, 1))
t(None, -7, 1, 100, (0, 93, 1))
t(None, -7, 1, 2147483647, (0, 2147483640, 1))
t(None, -7, 1, 9223372036854775808, (0, 9223372036854775801, 1))
t(None, -7, 5, 0, (0, 0, 5))
t(None, -7, 5, 1, (0, 0, 5))
t(None, -7, 5, 5, (0, 0, 5))
t(None, -7, 5, 10, (0, 3, 5))
t(None, -7, 5, 100, (0, 93, 5))
t(None, -7, 5, 2147483647, (0, 2147483640, 5))
t(None, -7, 5, 9223372036854775808, (0, 9223372036854775801, 5))
t(None, -7, 20, 0, (0, 0, 20))
t(None, -7, 20, 1, (0, 0, 20))
t(None, -7, 20, 5, (0, 0, 20))
t(None, -7, 20, 10, (0, 3, 20))
t(None, -7, 20, 100, (0, 93, 20))
t(None, -7, 20, 2147483647, (0, 2147483640, 20))
t(None, -7, 20, 9223372036854775808, (0, 9223372036854775801, 20))
t(None, -7, 2147483647, 0, (0, 0, 2147483647))
t(None, -7, 2147483647, 1, (0, 0, 2147483647))
t(None, -7, 2147483647, 5, (0, 0, 2147483647))
t(None, -7, 2147483647, 10, (0, 3, 2147483647))
t(None, -7, 2147483647, 100, (0, 93, 2147483647))
t(None, -7, 2147483647, 2147483647, (0, 2147483640, 2147483647))
t(None, -7, 2147483647, 9223372036854775808, (0, 9223372036854775801, 2147483647))
t(None, -7, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(None, -7, 9223372036854775808, 1, (0, 0, 9223372036854775808))
t(None, -7, 9223372036854775808, 5, (0, 0, 9223372036854775808))
t(None, -7, 9223372036854775808, 10, (0, 3, 9223372036854775808))
t(None, -7, 9223372036854775808, 100, (0, 93, 9223372036854775808))
t(None, -7, 9223372036854775808, 2147483647, (0, 2147483640, 9223372036854775808))
t(None, -7, 9223372036854775808, 9223372036854775808, (0, 9223372036854775801, 9223372036854775808))
t(None, -2, None, 0, (0, 0, 1))
t(None, -2, None, 1, (0, 0, 1))
t(None, -2, None, 5, (0, 3, 1))
t(None, -2, None, 10, (0, 8, 1))
t(None, -2, None, 100, (0, 98, 1))
t(None, -2, None, 2147483647, (0, 2147483645, 1))
t(None, -2, None, 9223372036854775808, (0, 9223372036854775806, 1))
t(None, -2, -5, 0, (-1, -1, -5))
t(None, -2, -5, 1, (0, -1, -5))
t(None, -2, -5, 5, (4, 3, -5))
t(None, -2, -5, 10, (9, 8, -5))
t(None, -2, -5, 100, (99, 98, -5))
t(None, -2, -5, 2147483647, (2147483646, 2147483645, -5))
t(None, -2, -5, 9223372036854775808, (9223372036854775807, 9223372036854775806, -5))
t(None, -2, -3, 0, (-1, -1, -3))
t(None, -2, -3, 1, (0, -1, -3))
t(None, -2, -3, 5, (4, 3, -3))
t(None, -2, -3, 10, (9, 8, -3))
t(None, -2, -3, 100, (99, 98, -3))
t(None, -2, -3, 2147483647, (2147483646, 2147483645, -3))
t(None, -2, -3, 9223372036854775808, (9223372036854775807, 9223372036854775806, -3))
t(None, -2, -1, 0, (-1, -1, -1))
t(None, -2, -1, 1, (0, -1, -1))
t(None, -2, -1, 5, (4, 3, -1))
t(None, -2, -1, 10, (9, 8, -1))
t(None, -2, -1, 100, (99, 98, -1))
t(None, -2, -1, 2147483647, (2147483646, 2147483645, -1))
t(None, -2, -1, 9223372036854775808, (9223372036854775807, 9223372036854775806, -1))
t(None, -2, 1, 0, (0, 0, 1))
t(None, -2, 1, 1, (0, 0, 1))
t(None, -2, 1, 5, (0, 3, 1))
t(None, -2, 1, 10, (0, 8, 1))
t(None, -2, 1, 100, (0, 98, 1))
t(None, -2, 1, 2147483647, (0, 2147483645, 1))
t(None, -2, 1, 9223372036854775808, (0, 9223372036854775806, 1))
t(None, -2, 5, 0, (0, 0, 5))
t(None, -2, 5, 1, (0, 0, 5))
t(None, -2, 5, 5, (0, 3, 5))
t(None, -2, 5, 10, (0, 8, 5))
t(None, -2, 5, 100, (0, 98, 5))
t(None, -2, 5, 2147483647, (0, 2147483645, 5))
t(None, -2, 5, 9223372036854775808, (0, 9223372036854775806, 5))
t(None, -2, 20, 0, (0, 0, 20))
t(None, -2, 20, 1, (0, 0, 20))
t(None, -2, 20, 5, (0, 3, 20))
t(None, -2, 20, 10, (0, 8, 20))
t(None, -2, 20, 100, (0, 98, 20))
t(None, -2, 20, 2147483647, (0, 2147483645, 20))
t(None, -2, 20, 9223372036854775808, (0, 9223372036854775806, 20))
t(None, -2, 2147483647, 0, (0, 0, 2147483647))
t(None, -2, 2147483647, 1, (0, 0, 2147483647))
t(None, -2, 2147483647, 5, (0, 3, 2147483647))
t(None, -2, 2147483647, 10, (0, 8, 2147483647))
t(None, -2, 2147483647, 100, (0, 98, 2147483647))
t(None, -2, 2147483647, 2147483647, (0, 2147483645, 2147483647))
t(None, -2, 2147483647, 9223372036854775808, (0, 9223372036854775806, 2147483647))
t(None, -2, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(None, -2, 9223372036854775808, 1, (0, 0, 9223372036854775808))
t(None, -2, 9223372036854775808, 5, (0, 3, 9223372036854775808))
t(None, -2, 9223372036854775808, 10, (0, 8, 9223372036854775808))
t(None, -2, 9223372036854775808, 100, (0, 98, 9223372036854775808))
t(None, -2, 9223372036854775808, 2147483647, (0, 2147483645, 9223372036854775808))
t(None, -2, 9223372036854775808, 9223372036854775808, (0, 9223372036854775806, 9223372036854775808))
t(None, 0, None, 0, (0, 0, 1))
t(None, 0, None, 1, (0, 0, 1))
t(None, 0, None, 5, (0, 0, 1))
t(None, 0, None, 10, (0, 0, 1))
t(None, 0, None, 100, (0, 0, 1))
t(None, 0, None, 2147483647, (0, 0, 1))
t(None, 0, None, 9223372036854775808, (0, 0, 1))
t(None, 0, -5, 0, (-1, -1, -5))
t(None, 0, -5, 1, (0, 0, -5))
t(None, 0, -5, 5, (4, 0, -5))
t(None, 0, -5, 10, (9, 0, -5))
t(None, 0, -5, 100, (99, 0, -5))
t(None, 0, -5, 2147483647, (2147483646, 0, -5))
t(None, 0, -5, 9223372036854775808, (9223372036854775807, 0, -5))
t(None, 0, -3, 0, (-1, -1, -3))
t(None, 0, -3, 1, (0, 0, -3))
t(None, 0, -3, 5, (4, 0, -3))
t(None, 0, -3, 10, (9, 0, -3))
t(None, 0, -3, 100, (99, 0, -3))
t(None, 0, -3, 2147483647, (2147483646, 0, -3))
t(None, 0, -3, 9223372036854775808, (9223372036854775807, 0, -3))
t(None, 0, -1, 0, (-1, -1, -1))
t(None, 0, -1, 1, (0, 0, -1))
t(None, 0, -1, 5, (4, 0, -1))
t(None, 0, -1, 10, (9, 0, -1))
t(None, 0, -1, 100, (99, 0, -1))
t(None, 0, -1, 2147483647, (2147483646, 0, -1))
t(None, 0, -1, 9223372036854775808, (9223372036854775807, 0, -1))
t(None, 0, 1, 0, (0, 0, 1))
t(None, 0, 1, 1, (0, 0, 1))
t(None, 0, 1, 5, (0, 0, 1))
t(None, 0, 1, 10, (0, 0, 1))
t(None, 0, 1, 100, (0, 0, 1))
t(None, 0, 1, 2147483647, (0, 0, 1))
t(None, 0, 1, 9223372036854775808, (0, 0, 1))
t(None, 0, 5, 0, (0, 0, 5))
t(None, 0, 5, 1, (0, 0, 5))
t(None, 0, 5, 5, (0, 0, 5))
t(None, 0, 5, 10, (0, 0, 5))
t(None, 0, 5, 100, (0, 0, 5))
t(None, 0, 5, 2147483647, (0, 0, 5))
t(None, 0, 5, 9223372036854775808, (0, 0, 5))
t(None, 0, 20, 0, (0, 0, 20))
t(None, 0, 20, 1, (0, 0, 20))
t(None, 0, 20, 5, (0, 0, 20))
t(None, 0, 20, 10, (0, 0, 20))
t(None, 0, 20, 100, (0, 0, 20))
t(None, 0, 20, 2147483647, (0, 0, 20))
t(None, 0, 20, 9223372036854775808, (0, 0, 20))
t(None, 0, 2147483647, 0, (0, 0, 2147483647))
t(None, 0, 2147483647, 1, (0, 0, 2147483647))
t(None, 0, 2147483647, 5, (0, 0, 2147483647))
t(None, 0, 2147483647, 10, (0, 0, 2147483647))
t(None, 0, 2147483647, 100, (0, 0, 2147483647))
t(None, 0, 2147483647, 2147483647, (0, 0, 2147483647))
t(None, 0, 2147483647, 9223372036854775808, (0, 0, 2147483647))
t(None, 0, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(None, 0, 9223372036854775808, 1, (0, 0, 9223372036854775808))
t(None, 0, 9223372036854775808, 5, (0, 0, 9223372036854775808))
t(None, 0, 9223372036854775808, 10, (0, 0, 9223372036854775808))
t(None, 0, 9223372036854775808, 100, (0, 0, 9223372036854775808))
t(None, 0, 9223372036854775808, 2147483647, (0, 0, 9223372036854775808))
t(None, 0, 9223372036854775808, 9223372036854775808, (0, 0, 9223372036854775808))
t(None, 1, None, 0, (0, 0, 1))
t(None, 1, None, 1, (0, 1, 1))
t(None, 1, None, 5, (0, 1, 1))
t(None, 1, None, 10, (0, 1, 1))
t(None, 1, None, 100, (0, 1, 1))
t(None, 1, None, 2147483647, (0, 1, 1))
t(None, 1, None, 9223372036854775808, (0, 1, 1))
t(None, 1, -5, 0, (-1, -1, -5))
t(None, 1, -5, 1, (0, 0, -5))
t(None, 1, -5, 5, (4, 1, -5))
t(None, 1, -5, 10, (9, 1, -5))
t(None, 1, -5, 100, (99, 1, -5))
t(None, 1, -5, 2147483647, (2147483646, 1, -5))
t(None, 1, -5, 9223372036854775808, (9223372036854775807, 1, -5))
t(None, 1, -3, 0, (-1, -1, -3))
t(None, 1, -3, 1, (0, 0, -3))
t(None, 1, -3, 5, (4, 1, -3))
t(None, 1, -3, 10, (9, 1, -3))
t(None, 1, -3, 100, (99, 1, -3))
t(None, 1, -3, 2147483647, (2147483646, 1, -3))
t(None, 1, -3, 9223372036854775808, (9223372036854775807, 1, -3))
t(None, 1, -1, 0, (-1, -1, -1))
t(None, 1, -1, 1, (0, 0, -1))
t(None, 1, -1, 5, (4, 1, -1))
t(None, 1, -1, 10, (9, 1, -1))
t(None, 1, -1, 100, (99, 1, -1))
t(None, 1, -1, 2147483647, (2147483646, 1, -1))
t(None, 1, -1, 9223372036854775808, (9223372036854775807, 1, -1))
t(None, 1, 1, 0, (0, 0, 1))
t(None, 1, 1, 1, (0, 1, 1))
t(None, 1, 1, 5, (0, 1, 1))
t(None, 1, 1, 10, (0, 1, 1))
t(None, 1, 1, 100, (0, 1, 1))
t(None, 1, 1, 2147483647, (0, 1, 1))
t(None, 1, 1, 9223372036854775808, (0, 1, 1))
t(None, 1, 5, 0, (0, 0, 5))
t(None, 1, 5, 1, (0, 1, 5))
t(None, 1, 5, 5, (0, 1, 5))
t(None, 1, 5, 10, (0, 1, 5))
t(None, 1, 5, 100, (0, 1, 5))
t(None, 1, 5, 2147483647, (0, 1, 5))
t(None, 1, 5, 9223372036854775808, (0, 1, 5))
t(None, 1, 20, 0, (0, 0, 20))
t(None, 1, 20, 1, (0, 1, 20))
t(None, 1, 20, 5, (0, 1, 20))
t(None, 1, 20, 10, (0, 1, 20))
t(None, 1, 20, 100, (0, 1, 20))
t(None, 1, 20, 2147483647, (0, 1, 20))
t(None, 1, 20, 9223372036854775808, (0, 1, 20))
t(None, 1, 2147483647, 0, (0, 0, 2147483647))
t(None, 1, 2147483647, 1, (0, 1, 2147483647))
t(None, 1, 2147483647, 5, (0, 1, 2147483647))
t(None, 1, 2147483647, 10, (0, 1, 2147483647))
t(None, 1, 2147483647, 100, (0, 1, 2147483647))
t(None, 1, 2147483647, 2147483647, (0, 1, 2147483647))
t(None, 1, 2147483647, 9223372036854775808, (0, 1, 2147483647))
t(None, 1, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(None, 1, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(None, 1, 9223372036854775808, 5, (0, 1, 9223372036854775808))
t(None, 1, 9223372036854775808, 10, (0, 1, 9223372036854775808))
t(None, 1, 9223372036854775808, 100, (0, 1, 9223372036854775808))
t(None, 1, 9223372036854775808, 2147483647, (0, 1, 9223372036854775808))
t(None, 1, 9223372036854775808, 9223372036854775808, (0, 1, 9223372036854775808))
t(None, 6, None, 0, (0, 0, 1))
t(None, 6, None, 1, (0, 1, 1))
t(None, 6, None, 5, (0, 5, 1))
t(None, 6, None, 10, (0, 6, 1))
t(None, 6, None, 100, (0, 6, 1))
t(None, 6, None, 2147483647, (0, 6, 1))
t(None, 6, None, 9223372036854775808, (0, 6, 1))
t(None, 6, -5, 0, (-1, -1, -5))
t(None, 6, -5, 1, (0, 0, -5))
t(None, 6, -5, 5, (4, 4, -5))
t(None, 6, -5, 10, (9, 6, -5))
t(None, 6, -5, 100, (99, 6, -5))
t(None, 6, -5, 2147483647, (2147483646, 6, -5))
t(None, 6, -5, 9223372036854775808, (9223372036854775807, 6, -5))
t(None, 6, -3, 0, (-1, -1, -3))
t(None, 6, -3, 1, (0, 0, -3))
t(None, 6, -3, 5, (4, 4, -3))
t(None, 6, -3, 10, (9, 6, -3))
t(None, 6, -3, 100, (99, 6, -3))
t(None, 6, -3, 2147483647, (2147483646, 6, -3))
t(None, 6, -3, 9223372036854775808, (9223372036854775807, 6, -3))
t(None, 6, -1, 0, (-1, -1, -1))
t(None, 6, -1, 1, (0, 0, -1))
t(None, 6, -1, 5, (4, 4, -1))
t(None, 6, -1, 10, (9, 6, -1))
t(None, 6, -1, 100, (99, 6, -1))
t(None, 6, -1, 2147483647, (2147483646, 6, -1))
t(None, 6, -1, 9223372036854775808, (9223372036854775807, 6, -1))
t(None, 6, 1, 0, (0, 0, 1))
t(None, 6, 1, 1, (0, 1, 1))
t(None, 6, 1, 5, (0, 5, 1))
t(None, 6, 1, 10, (0, 6, 1))
t(None, 6, 1, 100, (0, 6, 1))
t(None, 6, 1, 2147483647, (0, 6, 1))
t(None, 6, 1, 9223372036854775808, (0, 6, 1))
t(None, 6, 5, 0, (0, 0, 5))
t(None, 6, 5, 1, (0, 1, 5))
t(None, 6, 5, 5, (0, 5, 5))
t(None, 6, 5, 10, (0, 6, 5))
t(None, 6, 5, 100, (0, 6, 5))
t(None, 6, 5, 2147483647, (0, 6, 5))
t(None, 6, 5, 9223372036854775808, (0, 6, 5))
t(None, 6, 20, 0, (0, 0, 20))
t(None, 6, 20, 1, (0, 1, 20))
t(None, 6, 20, 5, (0, 5, 20))
t(None, 6, 20, 10, (0, 6, 20))
t(None, 6, 20, 100, (0, 6, 20))
t(None, 6, 20, 2147483647, (0, 6, 20))
t(None, 6, 20, 9223372036854775808, (0, 6, 20))
t(None, 6, 2147483647, 0, (0, 0, 2147483647))
t(None, 6, 2147483647, 1, (0, 1, 2147483647))
t(None, 6, 2147483647, 5, (0, 5, 2147483647))
t(None, 6, 2147483647, 10, (0, 6, 2147483647))
t(None, 6, 2147483647, 100, (0, 6, 2147483647))
t(None, 6, 2147483647, 2147483647, (0, 6, 2147483647))
t(None, 6, 2147483647, 9223372036854775808, (0, 6, 2147483647))
t(None, 6, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(None, 6, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(None, 6, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(None, 6, 9223372036854775808, 10, (0, 6, 9223372036854775808))
t(None, 6, 9223372036854775808, 100, (0, 6, 9223372036854775808))
t(None, 6, 9223372036854775808, 2147483647, (0, 6, 9223372036854775808))
t(None, 6, 9223372036854775808, 9223372036854775808, (0, 6, 9223372036854775808))
t(None, 10, None, 0, (0, 0, 1))
t(None, 10, None, 1, (0, 1, 1))
t(None, 10, None, 5, (0, 5, 1))
t(None, 10, None, 10, (0, 10, 1))
t(None, 10, None, 100, (0, 10, 1))
t(None, 10, None, 2147483647, (0, 10, 1))
t(None, 10, None, 9223372036854775808, (0, 10, 1))
t(None, 10, -5, 0, (-1, -1, -5))
t(None, 10, -5, 1, (0, 0, -5))
t(None, 10, -5, 5, (4, 4, -5))
t(None, 10, -5, 10, (9, 9, -5))
t(None, 10, -5, 100, (99, 10, -5))
t(None, 10, -5, 2147483647, (2147483646, 10, -5))
t(None, 10, -5, 9223372036854775808, (9223372036854775807, 10, -5))
t(None, 10, -3, 0, (-1, -1, -3))
t(None, 10, -3, 1, (0, 0, -3))
t(None, 10, -3, 5, (4, 4, -3))
t(None, 10, -3, 10, (9, 9, -3))
t(None, 10, -3, 100, (99, 10, -3))
t(None, 10, -3, 2147483647, (2147483646, 10, -3))
t(None, 10, -3, 9223372036854775808, (9223372036854775807, 10, -3))
t(None, 10, -1, 0, (-1, -1, -1))
t(None, 10, -1, 1, (0, 0, -1))
t(None, 10, -1, 5, (4, 4, -1))
t(None, 10, -1, 10, (9, 9, -1))
t(None, 10, -1, 100, (99, 10, -1))
t(None, 10, -1, 2147483647, (2147483646, 10, -1))
t(None, 10, -1, 9223372036854775808, (9223372036854775807, 10, -1))
t(None, 10, 1, 0, (0, 0, 1))
t(None, 10, 1, 1, (0, 1, 1))
t(None, 10, 1, 5, (0, 5, 1))
t(None, 10, 1, 10, (0, 10, 1))
t(None, 10, 1, 100, (0, 10, 1))
t(None, 10, 1, 2147483647, (0, 10, 1))
t(None, 10, 1, 9223372036854775808, (0, 10, 1))
t(None, 10, 5, 0, (0, 0, 5))
t(None, 10, 5, 1, (0, 1, 5))
t(None, 10, 5, 5, (0, 5, 5))
t(None, 10, 5, 10, (0, 10, 5))
t(None, 10, 5, 100, (0, 10, 5))
t(None, 10, 5, 2147483647, (0, 10, 5))
t(None, 10, 5, 9223372036854775808, (0, 10, 5))
t(None, 10, 20, 0, (0, 0, 20))
t(None, 10, 20, 1, (0, 1, 20))
t(None, 10, 20, 5, (0, 5, 20))
t(None, 10, 20, 10, (0, 10, 20))
t(None, 10, 20, 100, (0, 10, 20))
t(None, 10, 20, 2147483647, (0, 10, 20))
t(None, 10, 20, 9223372036854775808, (0, 10, 20))
t(None, 10, 2147483647, 0, (0, 0, 2147483647))
t(None, 10, 2147483647, 1, (0, 1, 2147483647))
t(None, 10, 2147483647, 5, (0, 5, 2147483647))
t(None, 10, 2147483647, 10, (0, 10, 2147483647))
t(None, 10, 2147483647, 100, (0, 10, 2147483647))
t(None, 10, 2147483647, 2147483647, (0, 10, 2147483647))
t(None, 10, 2147483647, 9223372036854775808, (0, 10, 2147483647))
t(None, 10, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(None, 10, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(None, 10, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(None, 10, 9223372036854775808, 10, (0, 10, 9223372036854775808))
t(None, 10, 9223372036854775808, 100, (0, 10, 9223372036854775808))
t(None, 10, 9223372036854775808, 2147483647, (0, 10, 9223372036854775808))
t(None, 10, 9223372036854775808, 9223372036854775808, (0, 10, 9223372036854775808))
t(None, 2147483647, None, 0, (0, 0, 1))
t(None, 2147483647, None, 1, (0, 1, 1))
t(None, 2147483647, None, 5, (0, 5, 1))
t(None, 2147483647, None, 10, (0, 10, 1))
t(None, 2147483647, None, 100, (0, 100, 1))
t(None, 2147483647, None, 2147483647, (0, 2147483647, 1))
t(None, 2147483647, None, 9223372036854775808, (0, 2147483647, 1))
t(None, 2147483647, -5, 0, (-1, -1, -5))
t(None, 2147483647, -5, 1, (0, 0, -5))
t(None, 2147483647, -5, 5, (4, 4, -5))
t(None, 2147483647, -5, 10, (9, 9, -5))
t(None, 2147483647, -5, 100, (99, 99, -5))
t(None, 2147483647, -5, 2147483647, (2147483646, 2147483646, -5))
t(None, 2147483647, -5, 9223372036854775808, (9223372036854775807, 2147483647, -5))
t(None, 2147483647, -3, 0, (-1, -1, -3))
t(None, 2147483647, -3, 1, (0, 0, -3))
t(None, 2147483647, -3, 5, (4, 4, -3))
t(None, 2147483647, -3, 10, (9, 9, -3))
t(None, 2147483647, -3, 100, (99, 99, -3))
t(None, 2147483647, -3, 2147483647, (2147483646, 2147483646, -3))
t(None, 2147483647, -3, 9223372036854775808, (9223372036854775807, 2147483647, -3))
t(None, 2147483647, -1, 0, (-1, -1, -1))
t(None, 2147483647, -1, 1, (0, 0, -1))
t(None, 2147483647, -1, 5, (4, 4, -1))
t(None, 2147483647, -1, 10, (9, 9, -1))
t(None, 2147483647, -1, 100, (99, 99, -1))
t(None, 2147483647, -1, 2147483647, (2147483646, 2147483646, -1))
t(None, 2147483647, -1, 9223372036854775808, (9223372036854775807, 2147483647, -1))
t(None, 2147483647, 1, 0, (0, 0, 1))
t(None, 2147483647, 1, 1, (0, 1, 1))
t(None, 2147483647, 1, 5, (0, 5, 1))
t(None, 2147483647, 1, 10, (0, 10, 1))
t(None, 2147483647, 1, 100, (0, 100, 1))
t(None, 2147483647, 1, 2147483647, (0, 2147483647, 1))
t(None, 2147483647, 1, 9223372036854775808, (0, 2147483647, 1))
t(None, 2147483647, 5, 0, (0, 0, 5))
t(None, 2147483647, 5, 1, (0, 1, 5))
t(None, 2147483647, 5, 5, (0, 5, 5))
t(None, 2147483647, 5, 10, (0, 10, 5))
t(None, 2147483647, 5, 100, (0, 100, 5))
t(None, 2147483647, 5, 2147483647, (0, 2147483647, 5))
t(None, 2147483647, 5, 9223372036854775808, (0, 2147483647, 5))
t(None, 2147483647, 20, 0, (0, 0, 20))
t(None, 2147483647, 20, 1, (0, 1, 20))
t(None, 2147483647, 20, 5, (0, 5, 20))
t(None, 2147483647, 20, 10, (0, 10, 20))
t(None, 2147483647, 20, 100, (0, 100, 20))
t(None, 2147483647, 20, 2147483647, (0, 2147483647, 20))
t(None, 2147483647, 20, 9223372036854775808, (0, 2147483647, 20))
t(None, 2147483647, 2147483647, 0, (0, 0, 2147483647))
t(None, 2147483647, 2147483647, 1, (0, 1, 2147483647))
t(None, 2147483647, 2147483647, 5, (0, 5, 2147483647))
t(None, 2147483647, 2147483647, 10, (0, 10, 2147483647))
t(None, 2147483647, 2147483647, 100, (0, 100, 2147483647))
t(None, 2147483647, 2147483647, 2147483647, (0, 2147483647, 2147483647))
t(None, 2147483647, 2147483647, 9223372036854775808, (0, 2147483647, 2147483647))
t(None, 2147483647, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(None, 2147483647, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(None, 2147483647, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(None, 2147483647, 9223372036854775808, 10, (0, 10, 9223372036854775808))
t(None, 2147483647, 9223372036854775808, 100, (0, 100, 9223372036854775808))
t(None, 2147483647, 9223372036854775808, 2147483647, (0, 2147483647, 9223372036854775808))
t(None, 2147483647, 9223372036854775808, 9223372036854775808, (0, 2147483647, 9223372036854775808))
t(None, 9223372036854775808, None, 0, (0, 0, 1))
t(None, 9223372036854775808, None, 1, (0, 1, 1))
t(None, 9223372036854775808, None, 5, (0, 5, 1))
t(None, 9223372036854775808, None, 10, (0, 10, 1))
t(None, 9223372036854775808, None, 100, (0, 100, 1))
t(None, 9223372036854775808, None, 2147483647, (0, 2147483647, 1))
t(None, 9223372036854775808, None, 9223372036854775808, (0, 9223372036854775808, 1))
t(None, 9223372036854775808, -5, 0, (-1, -1, -5))
t(None, 9223372036854775808, -5, 1, (0, 0, -5))
t(None, 9223372036854775808, -5, 5, (4, 4, -5))
t(None, 9223372036854775808, -5, 10, (9, 9, -5))
t(None, 9223372036854775808, -5, 100, (99, 99, -5))
t(None, 9223372036854775808, -5, 2147483647, (2147483646, 2147483646, -5))
t(None, 9223372036854775808, -5, 9223372036854775808, (9223372036854775807, 9223372036854775807, -5))
t(None, 9223372036854775808, -3, 0, (-1, -1, -3))
t(None, 9223372036854775808, -3, 1, (0, 0, -3))
t(None, 9223372036854775808, -3, 5, (4, 4, -3))
t(None, 9223372036854775808, -3, 10, (9, 9, -3))
t(None, 9223372036854775808, -3, 100, (99, 99, -3))
t(None, 9223372036854775808, -3, 2147483647, (2147483646, 2147483646, -3))
t(None, 9223372036854775808, -3, 9223372036854775808, (9223372036854775807, 9223372036854775807, -3))
t(None, 9223372036854775808, -1, 0, (-1, -1, -1))
t(None, 9223372036854775808, -1, 1, (0, 0, -1))
t(None, 9223372036854775808, -1, 5, (4, 4, -1))
t(None, 9223372036854775808, -1, 10, (9, 9, -1))
t(None, 9223372036854775808, -1, 100, (99, 99, -1))
t(None, 9223372036854775808, -1, 2147483647, (2147483646, 2147483646, -1))
t(None, 9223372036854775808, -1, 9223372036854775808, (9223372036854775807, 9223372036854775807, -1))
t(None, 9223372036854775808, 1, 0, (0, 0, 1))
t(None, 9223372036854775808, 1, 1, (0, 1, 1))
t(None, 9223372036854775808, 1, 5, (0, 5, 1))
t(None, 9223372036854775808, 1, 10, (0, 10, 1))
t(None, 9223372036854775808, 1, 100, (0, 100, 1))
t(None, 9223372036854775808, 1, 2147483647, (0, 2147483647, 1))
t(None, 9223372036854775808, 1, 9223372036854775808, (0, 9223372036854775808, 1))
t(None, 9223372036854775808, 5, 0, (0, 0, 5))
t(None, 9223372036854775808, 5, 1, (0, 1, 5))
t(None, 9223372036854775808, 5, 5, (0, 5, 5))
t(None, 9223372036854775808, 5, 10, (0, 10, 5))
t(None, 9223372036854775808, 5, 100, (0, 100, 5))
t(None, 9223372036854775808, 5, 2147483647, (0, 2147483647, 5))
t(None, 9223372036854775808, 5, 9223372036854775808, (0, 9223372036854775808, 5))
t(None, 9223372036854775808, 20, 0, (0, 0, 20))
t(None, 9223372036854775808, 20, 1, (0, 1, 20))
t(None, 9223372036854775808, 20, 5, (0, 5, 20))
t(None, 9223372036854775808, 20, 10, (0, 10, 20))
t(None, 9223372036854775808, 20, 100, (0, 100, 20))
t(None, 9223372036854775808, 20, 2147483647, (0, 2147483647, 20))
t(None, 9223372036854775808, 20, 9223372036854775808, (0, 9223372036854775808, 20))
t(None, 9223372036854775808, 2147483647, 0, (0, 0, 2147483647))
t(None, 9223372036854775808, 2147483647, 1, (0, 1, 2147483647))
t(None, 9223372036854775808, 2147483647, 5, (0, 5, 2147483647))
t(None, 9223372036854775808, 2147483647, 10, (0, 10, 2147483647))
t(None, 9223372036854775808, 2147483647, 100, (0, 100, 2147483647))
t(None, 9223372036854775808, 2147483647, 2147483647, (0, 2147483647, 2147483647))
t(None, 9223372036854775808, 2147483647, 9223372036854775808, (0, 9223372036854775808, 2147483647))
t(None, 9223372036854775808, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(None, 9223372036854775808, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(None, 9223372036854775808, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(None, 9223372036854775808, 9223372036854775808, 10, (0, 10, 9223372036854775808))
t(None, 9223372036854775808, 9223372036854775808, 100, (0, 100, 9223372036854775808))
t(None, 9223372036854775808, 9223372036854775808, 2147483647, (0, 2147483647, 9223372036854775808))
t(None, 9223372036854775808, 9223372036854775808, 9223372036854775808, (0, 9223372036854775808, 9223372036854775808))
t(-7, None, None, 0, (0, 0, 1))
t(-7, None, None, 1, (0, 1, 1))
t(-7, None, None, 5, (0, 5, 1))
t(-7, None, None, 10, (3, 10, 1))
t(-7, None, None, 100, (93, 100, 1))
t(-7, None, None, 2147483647, (2147483640, 2147483647, 1))
t(-7, None, None, 9223372036854775808, (9223372036854775801, 9223372036854775808, 1))
t(-7, None, -5, 0, (-1, -1, -5))
t(-7, None, -5, 1, (-1, -1, -5))
t(-7, None, -5, 5, (-1, -1, -5))
t(-7, None, -5, 10, (3, -1, -5))
t(-7, None, -5, 100, (93, -1, -5))
t(-7, None, -5, 2147483647, (2147483640, -1, -5))
t(-7, None, -5, 9223372036854775808, (9223372036854775801, -1, -5))
t(-7, None, -3, 0, (-1, -1, -3))
t(-7, None, -3, 1, (-1, -1, -3))
t(-7, None, -3, 5, (-1, -1, -3))
t(-7, None, -3, 10, (3, -1, -3))
t(-7, None, -3, 100, (93, -1, -3))
t(-7, None, -3, 2147483647, (2147483640, -1, -3))
t(-7, None, -3, 9223372036854775808, (9223372036854775801, -1, -3))
t(-7, None, -1, 0, (-1, -1, -1))
t(-7, None, -1, 1, (-1, -1, -1))
t(-7, None, -1, 5, (-1, -1, -1))
t(-7, None, -1, 10, (3, -1, -1))
t(-7, None, -1, 100, (93, -1, -1))
t(-7, None, -1, 2147483647, (2147483640, -1, -1))
t(-7, None, -1, 9223372036854775808, (9223372036854775801, -1, -1))
t(-7, None, 1, 0, (0, 0, 1))
t(-7, None, 1, 1, (0, 1, 1))
t(-7, None, 1, 5, (0, 5, 1))
t(-7, None, 1, 10, (3, 10, 1))
t(-7, None, 1, 100, (93, 100, 1))
t(-7, None, 1, 2147483647, (2147483640, 2147483647, 1))
t(-7, None, 1, 9223372036854775808, (9223372036854775801, 9223372036854775808, 1))
t(-7, None, 5, 0, (0, 0, 5))
t(-7, None, 5, 1, (0, 1, 5))
t(-7, None, 5, 5, (0, 5, 5))
t(-7, None, 5, 10, (3, 10, 5))
t(-7, None, 5, 100, (93, 100, 5))
t(-7, None, 5, 2147483647, (2147483640, 2147483647, 5))
t(-7, None, 5, 9223372036854775808, (9223372036854775801, 9223372036854775808, 5))
t(-7, None, 20, 0, (0, 0, 20))
t(-7, None, 20, 1, (0, 1, 20))
t(-7, None, 20, 5, (0, 5, 20))
t(-7, None, 20, 10, (3, 10, 20))
t(-7, None, 20, 100, (93, 100, 20))
t(-7, None, 20, 2147483647, (2147483640, 2147483647, 20))
t(-7, None, 20, 9223372036854775808, (9223372036854775801, 9223372036854775808, 20))
t(-7, None, 2147483647, 0, (0, 0, 2147483647))
t(-7, None, 2147483647, 1, (0, 1, 2147483647))
t(-7, None, 2147483647, 5, (0, 5, 2147483647))
t(-7, None, 2147483647, 10, (3, 10, 2147483647))
t(-7, None, 2147483647, 100, (93, 100, 2147483647))
t(-7, None, 2147483647, 2147483647, (2147483640, 2147483647, 2147483647))
t(-7, None, 2147483647, 9223372036854775808, (9223372036854775801, 9223372036854775808, 2147483647))
t(-7, None, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-7, None, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(-7, None, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(-7, None, 9223372036854775808, 10, (3, 10, 9223372036854775808))
t(-7, None, 9223372036854775808, 100, (93, 100, 9223372036854775808))
t(-7, None, 9223372036854775808, 2147483647, (2147483640, 2147483647, 9223372036854775808))
t(-7, None, 9223372036854775808, 9223372036854775808, (9223372036854775801, 9223372036854775808, 9223372036854775808))
t(-7, -7, None, 0, (0, 0, 1))
t(-7, -7, None, 1, (0, 0, 1))
t(-7, -7, None, 5, (0, 0, 1))
t(-7, -7, None, 10, (3, 3, 1))
t(-7, -7, None, 100, (93, 93, 1))
t(-7, -7, None, 2147483647, (2147483640, 2147483640, 1))
t(-7, -7, None, 9223372036854775808, (9223372036854775801, 9223372036854775801, 1))
t(-7, -7, -5, 0, (-1, -1, -5))
t(-7, -7, -5, 1, (-1, -1, -5))
t(-7, -7, -5, 5, (-1, -1, -5))
t(-7, -7, -5, 10, (3, 3, -5))
t(-7, -7, -5, 100, (93, 93, -5))
t(-7, -7, -5, 2147483647, (2147483640, 2147483640, -5))
t(-7, -7, -5, 9223372036854775808, (9223372036854775801, 9223372036854775801, -5))
t(-7, -7, -3, 0, (-1, -1, -3))
t(-7, -7, -3, 1, (-1, -1, -3))
t(-7, -7, -3, 5, (-1, -1, -3))
t(-7, -7, -3, 10, (3, 3, -3))
t(-7, -7, -3, 100, (93, 93, -3))
t(-7, -7, -3, 2147483647, (2147483640, 2147483640, -3))
t(-7, -7, -3, 9223372036854775808, (9223372036854775801, 9223372036854775801, -3))
t(-7, -7, -1, 0, (-1, -1, -1))
t(-7, -7, -1, 1, (-1, -1, -1))
t(-7, -7, -1, 5, (-1, -1, -1))
t(-7, -7, -1, 10, (3, 3, -1))
t(-7, -7, -1, 100, (93, 93, -1))
t(-7, -7, -1, 2147483647, (2147483640, 2147483640, -1))
t(-7, -7, -1, 9223372036854775808, (9223372036854775801, 9223372036854775801, -1))
t(-7, -7, 1, 0, (0, 0, 1))
t(-7, -7, 1, 1, (0, 0, 1))
t(-7, -7, 1, 5, (0, 0, 1))
t(-7, -7, 1, 10, (3, 3, 1))
t(-7, -7, 1, 100, (93, 93, 1))
t(-7, -7, 1, 2147483647, (2147483640, 2147483640, 1))
t(-7, -7, 1, 9223372036854775808, (9223372036854775801, 9223372036854775801, 1))
t(-7, -7, 5, 0, (0, 0, 5))
t(-7, -7, 5, 1, (0, 0, 5))
t(-7, -7, 5, 5, (0, 0, 5))
t(-7, -7, 5, 10, (3, 3, 5))
t(-7, -7, 5, 100, (93, 93, 5))
t(-7, -7, 5, 2147483647, (2147483640, 2147483640, 5))
t(-7, -7, 5, 9223372036854775808, (9223372036854775801, 9223372036854775801, 5))
t(-7, -7, 20, 0, (0, 0, 20))
t(-7, -7, 20, 1, (0, 0, 20))
t(-7, -7, 20, 5, (0, 0, 20))
t(-7, -7, 20, 10, (3, 3, 20))
t(-7, -7, 20, 100, (93, 93, 20))
t(-7, -7, 20, 2147483647, (2147483640, 2147483640, 20))
t(-7, -7, 20, 9223372036854775808, (9223372036854775801, 9223372036854775801, 20))
t(-7, -7, 2147483647, 0, (0, 0, 2147483647))
t(-7, -7, 2147483647, 1, (0, 0, 2147483647))
t(-7, -7, 2147483647, 5, (0, 0, 2147483647))
t(-7, -7, 2147483647, 10, (3, 3, 2147483647))
t(-7, -7, 2147483647, 100, (93, 93, 2147483647))
t(-7, -7, 2147483647, 2147483647, (2147483640, 2147483640, 2147483647))
t(-7, -7, 2147483647, 9223372036854775808, (9223372036854775801, 9223372036854775801, 2147483647))
t(-7, -7, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-7, -7, 9223372036854775808, 1, (0, 0, 9223372036854775808))
t(-7, -7, 9223372036854775808, 5, (0, 0, 9223372036854775808))
t(-7, -7, 9223372036854775808, 10, (3, 3, 9223372036854775808))
t(-7, -7, 9223372036854775808, 100, (93, 93, 9223372036854775808))
t(-7, -7, 9223372036854775808, 2147483647, (2147483640, 2147483640, 9223372036854775808))
t(-7, -7, 9223372036854775808, 9223372036854775808, (9223372036854775801, 9223372036854775801, 9223372036854775808))
t(-7, -2, None, 0, (0, 0, 1))
t(-7, -2, None, 1, (0, 0, 1))
t(-7, -2, None, 5, (0, 3, 1))
t(-7, -2, None, 10, (3, 8, 1))
t(-7, -2, None, 100, (93, 98, 1))
t(-7, -2, None, 2147483647, (2147483640, 2147483645, 1))
t(-7, -2, None, 9223372036854775808, (9223372036854775801, 9223372036854775806, 1))
t(-7, -2, -5, 0, (-1, -1, -5))
t(-7, -2, -5, 1, (-1, -1, -5))
t(-7, -2, -5, 5, (-1, 3, -5))
t(-7, -2, -5, 10, (3, 8, -5))
t(-7, -2, -5, 100, (93, 98, -5))
t(-7, -2, -5, 2147483647, (2147483640, 2147483645, -5))
t(-7, -2, -5, 9223372036854775808, (9223372036854775801, 9223372036854775806, -5))
t(-7, -2, -3, 0, (-1, -1, -3))
t(-7, -2, -3, 1, (-1, -1, -3))
t(-7, -2, -3, 5, (-1, 3, -3))
t(-7, -2, -3, 10, (3, 8, -3))
t(-7, -2, -3, 100, (93, 98, -3))
t(-7, -2, -3, 2147483647, (2147483640, 2147483645, -3))
t(-7, -2, -3, 9223372036854775808, (9223372036854775801, 9223372036854775806, -3))
t(-7, -2, -1, 0, (-1, -1, -1))
t(-7, -2, -1, 1, (-1, -1, -1))
t(-7, -2, -1, 5, (-1, 3, -1))
t(-7, -2, -1, 10, (3, 8, -1))
t(-7, -2, -1, 100, (93, 98, -1))
t(-7, -2, -1, 2147483647, (2147483640, 2147483645, -1))
t(-7, -2, -1, 9223372036854775808, (9223372036854775801, 9223372036854775806, -1))
t(-7, -2, 1, 0, (0, 0, 1))
t(-7, -2, 1, 1, (0, 0, 1))
t(-7, -2, 1, 5, (0, 3, 1))
t(-7, -2, 1, 10, (3, 8, 1))
t(-7, -2, 1, 100, (93, 98, 1))
t(-7, -2, 1, 2147483647, (2147483640, 2147483645, 1))
t(-7, -2, 1, 9223372036854775808, (9223372036854775801, 9223372036854775806, 1))
t(-7, -2, 5, 0, (0, 0, 5))
t(-7, -2, 5, 1, (0, 0, 5))
t(-7, -2, 5, 5, (0, 3, 5))
t(-7, -2, 5, 10, (3, 8, 5))
t(-7, -2, 5, 100, (93, 98, 5))
t(-7, -2, 5, 2147483647, (2147483640, 2147483645, 5))
t(-7, -2, 5, 9223372036854775808, (9223372036854775801, 9223372036854775806, 5))
t(-7, -2, 20, 0, (0, 0, 20))
t(-7, -2, 20, 1, (0, 0, 20))
t(-7, -2, 20, 5, (0, 3, 20))
t(-7, -2, 20, 10, (3, 8, 20))
t(-7, -2, 20, 100, (93, 98, 20))
t(-7, -2, 20, 2147483647, (2147483640, 2147483645, 20))
t(-7, -2, 20, 9223372036854775808, (9223372036854775801, 9223372036854775806, 20))
t(-7, -2, 2147483647, 0, (0, 0, 2147483647))
t(-7, -2, 2147483647, 1, (0, 0, 2147483647))
t(-7, -2, 2147483647, 5, (0, 3, 2147483647))
t(-7, -2, 2147483647, 10, (3, 8, 2147483647))
t(-7, -2, 2147483647, 100, (93, 98, 2147483647))
t(-7, -2, 2147483647, 2147483647, (2147483640, 2147483645, 2147483647))
t(-7, -2, 2147483647, 9223372036854775808, (9223372036854775801, 9223372036854775806, 2147483647))
t(-7, -2, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-7, -2, 9223372036854775808, 1, (0, 0, 9223372036854775808))
t(-7, -2, 9223372036854775808, 5, (0, 3, 9223372036854775808))
t(-7, -2, 9223372036854775808, 10, (3, 8, 9223372036854775808))
t(-7, -2, 9223372036854775808, 100, (93, 98, 9223372036854775808))
t(-7, -2, 9223372036854775808, 2147483647, (2147483640, 2147483645, 9223372036854775808))
t(-7, -2, 9223372036854775808, 9223372036854775808, (9223372036854775801, 9223372036854775806, 9223372036854775808))
t(-7, 0, None, 0, (0, 0, 1))
t(-7, 0, None, 1, (0, 0, 1))
t(-7, 0, None, 5, (0, 0, 1))
t(-7, 0, None, 10, (3, 0, 1))
t(-7, 0, None, 100, (93, 0, 1))
t(-7, 0, None, 2147483647, (2147483640, 0, 1))
t(-7, 0, None, 9223372036854775808, (9223372036854775801, 0, 1))
t(-7, 0, -5, 0, (-1, -1, -5))
t(-7, 0, -5, 1, (-1, 0, -5))
t(-7, 0, -5, 5, (-1, 0, -5))
t(-7, 0, -5, 10, (3, 0, -5))
t(-7, 0, -5, 100, (93, 0, -5))
t(-7, 0, -5, 2147483647, (2147483640, 0, -5))
t(-7, 0, -5, 9223372036854775808, (9223372036854775801, 0, -5))
t(-7, 0, -3, 0, (-1, -1, -3))
t(-7, 0, -3, 1, (-1, 0, -3))
t(-7, 0, -3, 5, (-1, 0, -3))
t(-7, 0, -3, 10, (3, 0, -3))
t(-7, 0, -3, 100, (93, 0, -3))
t(-7, 0, -3, 2147483647, (2147483640, 0, -3))
t(-7, 0, -3, 9223372036854775808, (9223372036854775801, 0, -3))
t(-7, 0, -1, 0, (-1, -1, -1))
t(-7, 0, -1, 1, (-1, 0, -1))
t(-7, 0, -1, 5, (-1, 0, -1))
t(-7, 0, -1, 10, (3, 0, -1))
t(-7, 0, -1, 100, (93, 0, -1))
t(-7, 0, -1, 2147483647, (2147483640, 0, -1))
t(-7, 0, -1, 9223372036854775808, (9223372036854775801, 0, -1))
t(-7, 0, 1, 0, (0, 0, 1))
t(-7, 0, 1, 1, (0, 0, 1))
t(-7, 0, 1, 5, (0, 0, 1))
t(-7, 0, 1, 10, (3, 0, 1))
t(-7, 0, 1, 100, (93, 0, 1))
t(-7, 0, 1, 2147483647, (2147483640, 0, 1))
t(-7, 0, 1, 9223372036854775808, (9223372036854775801, 0, 1))
t(-7, 0, 5, 0, (0, 0, 5))
t(-7, 0, 5, 1, (0, 0, 5))
t(-7, 0, 5, 5, (0, 0, 5))
t(-7, 0, 5, 10, (3, 0, 5))
t(-7, 0, 5, 100, (93, 0, 5))
t(-7, 0, 5, 2147483647, (2147483640, 0, 5))
t(-7, 0, 5, 9223372036854775808, (9223372036854775801, 0, 5))
t(-7, 0, 20, 0, (0, 0, 20))
t(-7, 0, 20, 1, (0, 0, 20))
t(-7, 0, 20, 5, (0, 0, 20))
t(-7, 0, 20, 10, (3, 0, 20))
t(-7, 0, 20, 100, (93, 0, 20))
t(-7, 0, 20, 2147483647, (2147483640, 0, 20))
t(-7, 0, 20, 9223372036854775808, (9223372036854775801, 0, 20))
t(-7, 0, 2147483647, 0, (0, 0, 2147483647))
t(-7, 0, 2147483647, 1, (0, 0, 2147483647))
t(-7, 0, 2147483647, 5, (0, 0, 2147483647))
t(-7, 0, 2147483647, 10, (3, 0, 2147483647))
t(-7, 0, 2147483647, 100, (93, 0, 2147483647))
t(-7, 0, 2147483647, 2147483647, (2147483640, 0, 2147483647))
t(-7, 0, 2147483647, 9223372036854775808, (9223372036854775801, 0, 2147483647))
t(-7, 0, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-7, 0, 9223372036854775808, 1, (0, 0, 9223372036854775808))
t(-7, 0, 9223372036854775808, 5, (0, 0, 9223372036854775808))
t(-7, 0, 9223372036854775808, 10, (3, 0, 9223372036854775808))
t(-7, 0, 9223372036854775808, 100, (93, 0, 9223372036854775808))
t(-7, 0, 9223372036854775808, 2147483647, (2147483640, 0, 9223372036854775808))
t(-7, 0, 9223372036854775808, 9223372036854775808, (9223372036854775801, 0, 9223372036854775808))
t(-7, 1, None, 0, (0, 0, 1))
t(-7, 1, None, 1, (0, 1, 1))
t(-7, 1, None, 5, (0, 1, 1))
t(-7, 1, None, 10, (3, 1, 1))
t(-7, 1, None, 100, (93, 1, 1))
t(-7, 1, None, 2147483647, (2147483640, 1, 1))
t(-7, 1, None, 9223372036854775808, (9223372036854775801, 1, 1))
t(-7, 1, -5, 0, (-1, -1, -5))
t(-7, 1, -5, 1, (-1, 0, -5))
t(-7, 1, -5, 5, (-1, 1, -5))
t(-7, 1, -5, 10, (3, 1, -5))
t(-7, 1, -5, 100, (93, 1, -5))
t(-7, 1, -5, 2147483647, (2147483640, 1, -5))
t(-7, 1, -5, 9223372036854775808, (9223372036854775801, 1, -5))
t(-7, 1, -3, 0, (-1, -1, -3))
t(-7, 1, -3, 1, (-1, 0, -3))
t(-7, 1, -3, 5, (-1, 1, -3))
t(-7, 1, -3, 10, (3, 1, -3))
t(-7, 1, -3, 100, (93, 1, -3))
t(-7, 1, -3, 2147483647, (2147483640, 1, -3))
t(-7, 1, -3, 9223372036854775808, (9223372036854775801, 1, -3))
t(-7, 1, -1, 0, (-1, -1, -1))
t(-7, 1, -1, 1, (-1, 0, -1))
t(-7, 1, -1, 5, (-1, 1, -1))
t(-7, 1, -1, 10, (3, 1, -1))
t(-7, 1, -1, 100, (93, 1, -1))
t(-7, 1, -1, 2147483647, (2147483640, 1, -1))
t(-7, 1, -1, 9223372036854775808, (9223372036854775801, 1, -1))
t(-7, 1, 1, 0, (0, 0, 1))
t(-7, 1, 1, 1, (0, 1, 1))
t(-7, 1, 1, 5, (0, 1, 1))
t(-7, 1, 1, 10, (3, 1, 1))
t(-7, 1, 1, 100, (93, 1, 1))
t(-7, 1, 1, 2147483647, (2147483640, 1, 1))
t(-7, 1, 1, 9223372036854775808, (9223372036854775801, 1, 1))
t(-7, 1, 5, 0, (0, 0, 5))
t(-7, 1, 5, 1, (0, 1, 5))
t(-7, 1, 5, 5, (0, 1, 5))
t(-7, 1, 5, 10, (3, 1, 5))
t(-7, 1, 5, 100, (93, 1, 5))
t(-7, 1, 5, 2147483647, (2147483640, 1, 5))
t(-7, 1, 5, 9223372036854775808, (9223372036854775801, 1, 5))
t(-7, 1, 20, 0, (0, 0, 20))
t(-7, 1, 20, 1, (0, 1, 20))
t(-7, 1, 20, 5, (0, 1, 20))
t(-7, 1, 20, 10, (3, 1, 20))
t(-7, 1, 20, 100, (93, 1, 20))
t(-7, 1, 20, 2147483647, (2147483640, 1, 20))
t(-7, 1, 20, 9223372036854775808, (9223372036854775801, 1, 20))
t(-7, 1, 2147483647, 0, (0, 0, 2147483647))
t(-7, 1, 2147483647, 1, (0, 1, 2147483647))
t(-7, 1, 2147483647, 5, (0, 1, 2147483647))
t(-7, 1, 2147483647, 10, (3, 1, 2147483647))
t(-7, 1, 2147483647, 100, (93, 1, 2147483647))
t(-7, 1, 2147483647, 2147483647, (2147483640, 1, 2147483647))
t(-7, 1, 2147483647, 9223372036854775808, (9223372036854775801, 1, 2147483647))
t(-7, 1, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-7, 1, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(-7, 1, 9223372036854775808, 5, (0, 1, 9223372036854775808))
t(-7, 1, 9223372036854775808, 10, (3, 1, 9223372036854775808))
t(-7, 1, 9223372036854775808, 100, (93, 1, 9223372036854775808))
t(-7, 1, 9223372036854775808, 2147483647, (2147483640, 1, 9223372036854775808))
t(-7, 1, 9223372036854775808, 9223372036854775808, (9223372036854775801, 1, 9223372036854775808))
t(-7, 6, None, 0, (0, 0, 1))
t(-7, 6, None, 1, (0, 1, 1))
t(-7, 6, None, 5, (0, 5, 1))
t(-7, 6, None, 10, (3, 6, 1))
t(-7, 6, None, 100, (93, 6, 1))
t(-7, 6, None, 2147483647, (2147483640, 6, 1))
t(-7, 6, None, 9223372036854775808, (9223372036854775801, 6, 1))
t(-7, 6, -5, 0, (-1, -1, -5))
t(-7, 6, -5, 1, (-1, 0, -5))
t(-7, 6, -5, 5, (-1, 4, -5))
t(-7, 6, -5, 10, (3, 6, -5))
t(-7, 6, -5, 100, (93, 6, -5))
t(-7, 6, -5, 2147483647, (2147483640, 6, -5))
t(-7, 6, -5, 9223372036854775808, (9223372036854775801, 6, -5))
t(-7, 6, -3, 0, (-1, -1, -3))
t(-7, 6, -3, 1, (-1, 0, -3))
t(-7, 6, -3, 5, (-1, 4, -3))
t(-7, 6, -3, 10, (3, 6, -3))
t(-7, 6, -3, 100, (93, 6, -3))
t(-7, 6, -3, 2147483647, (2147483640, 6, -3))
t(-7, 6, -3, 9223372036854775808, (9223372036854775801, 6, -3))
t(-7, 6, -1, 0, (-1, -1, -1))
t(-7, 6, -1, 1, (-1, 0, -1))
t(-7, 6, -1, 5, (-1, 4, -1))
t(-7, 6, -1, 10, (3, 6, -1))
t(-7, 6, -1, 100, (93, 6, -1))
t(-7, 6, -1, 2147483647, (2147483640, 6, -1))
t(-7, 6, -1, 9223372036854775808, (9223372036854775801, 6, -1))
t(-7, 6, 1, 0, (0, 0, 1))
t(-7, 6, 1, 1, (0, 1, 1))
t(-7, 6, 1, 5, (0, 5, 1))
t(-7, 6, 1, 10, (3, 6, 1))
t(-7, 6, 1, 100, (93, 6, 1))
t(-7, 6, 1, 2147483647, (2147483640, 6, 1))
t(-7, 6, 1, 9223372036854775808, (9223372036854775801, 6, 1))
t(-7, 6, 5, 0, (0, 0, 5))
t(-7, 6, 5, 1, (0, 1, 5))
t(-7, 6, 5, 5, (0, 5, 5))
t(-7, 6, 5, 10, (3, 6, 5))
t(-7, 6, 5, 100, (93, 6, 5))
t(-7, 6, 5, 2147483647, (2147483640, 6, 5))
t(-7, 6, 5, 9223372036854775808, (9223372036854775801, 6, 5))
t(-7, 6, 20, 0, (0, 0, 20))
t(-7, 6, 20, 1, (0, 1, 20))
t(-7, 6, 20, 5, (0, 5, 20))
t(-7, 6, 20, 10, (3, 6, 20))
t(-7, 6, 20, 100, (93, 6, 20))
t(-7, 6, 20, 2147483647, (2147483640, 6, 20))
t(-7, 6, 20, 9223372036854775808, (9223372036854775801, 6, 20))
t(-7, 6, 2147483647, 0, (0, 0, 2147483647))
t(-7, 6, 2147483647, 1, (0, 1, 2147483647))
t(-7, 6, 2147483647, 5, (0, 5, 2147483647))
t(-7, 6, 2147483647, 10, (3, 6, 2147483647))
t(-7, 6, 2147483647, 100, (93, 6, 2147483647))
t(-7, 6, 2147483647, 2147483647, (2147483640, 6, 2147483647))
t(-7, 6, 2147483647, 9223372036854775808, (9223372036854775801, 6, 2147483647))
t(-7, 6, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-7, 6, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(-7, 6, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(-7, 6, 9223372036854775808, 10, (3, 6, 9223372036854775808))
t(-7, 6, 9223372036854775808, 100, (93, 6, 9223372036854775808))
t(-7, 6, 9223372036854775808, 2147483647, (2147483640, 6, 9223372036854775808))
t(-7, 6, 9223372036854775808, 9223372036854775808, (9223372036854775801, 6, 9223372036854775808))
t(-7, 10, None, 0, (0, 0, 1))
t(-7, 10, None, 1, (0, 1, 1))
t(-7, 10, None, 5, (0, 5, 1))
t(-7, 10, None, 10, (3, 10, 1))
t(-7, 10, None, 100, (93, 10, 1))
t(-7, 10, None, 2147483647, (2147483640, 10, 1))
t(-7, 10, None, 9223372036854775808, (9223372036854775801, 10, 1))
t(-7, 10, -5, 0, (-1, -1, -5))
t(-7, 10, -5, 1, (-1, 0, -5))
t(-7, 10, -5, 5, (-1, 4, -5))
t(-7, 10, -5, 10, (3, 9, -5))
t(-7, 10, -5, 100, (93, 10, -5))
t(-7, 10, -5, 2147483647, (2147483640, 10, -5))
t(-7, 10, -5, 9223372036854775808, (9223372036854775801, 10, -5))
t(-7, 10, -3, 0, (-1, -1, -3))
t(-7, 10, -3, 1, (-1, 0, -3))
t(-7, 10, -3, 5, (-1, 4, -3))
t(-7, 10, -3, 10, (3, 9, -3))
t(-7, 10, -3, 100, (93, 10, -3))
t(-7, 10, -3, 2147483647, (2147483640, 10, -3))
t(-7, 10, -3, 9223372036854775808, (9223372036854775801, 10, -3))
t(-7, 10, -1, 0, (-1, -1, -1))
t(-7, 10, -1, 1, (-1, 0, -1))
t(-7, 10, -1, 5, (-1, 4, -1))
t(-7, 10, -1, 10, (3, 9, -1))
t(-7, 10, -1, 100, (93, 10, -1))
t(-7, 10, -1, 2147483647, (2147483640, 10, -1))
t(-7, 10, -1, 9223372036854775808, (9223372036854775801, 10, -1))
t(-7, 10, 1, 0, (0, 0, 1))
t(-7, 10, 1, 1, (0, 1, 1))
t(-7, 10, 1, 5, (0, 5, 1))
t(-7, 10, 1, 10, (3, 10, 1))
t(-7, 10, 1, 100, (93, 10, 1))
t(-7, 10, 1, 2147483647, (2147483640, 10, 1))
t(-7, 10, 1, 9223372036854775808, (9223372036854775801, 10, 1))
t(-7, 10, 5, 0, (0, 0, 5))
t(-7, 10, 5, 1, (0, 1, 5))
t(-7, 10, 5, 5, (0, 5, 5))
t(-7, 10, 5, 10, (3, 10, 5))
t(-7, 10, 5, 100, (93, 10, 5))
t(-7, 10, 5, 2147483647, (2147483640, 10, 5))
t(-7, 10, 5, 9223372036854775808, (9223372036854775801, 10, 5))
t(-7, 10, 20, 0, (0, 0, 20))
t(-7, 10, 20, 1, (0, 1, 20))
t(-7, 10, 20, 5, (0, 5, 20))
t(-7, 10, 20, 10, (3, 10, 20))
t(-7, 10, 20, 100, (93, 10, 20))
t(-7, 10, 20, 2147483647, (2147483640, 10, 20))
t(-7, 10, 20, 9223372036854775808, (9223372036854775801, 10, 20))
t(-7, 10, 2147483647, 0, (0, 0, 2147483647))
t(-7, 10, 2147483647, 1, (0, 1, 2147483647))
t(-7, 10, 2147483647, 5, (0, 5, 2147483647))
t(-7, 10, 2147483647, 10, (3, 10, 2147483647))
t(-7, 10, 2147483647, 100, (93, 10, 2147483647))
t(-7, 10, 2147483647, 2147483647, (2147483640, 10, 2147483647))
t(-7, 10, 2147483647, 9223372036854775808, (9223372036854775801, 10, 2147483647))
t(-7, 10, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-7, 10, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(-7, 10, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(-7, 10, 9223372036854775808, 10, (3, 10, 9223372036854775808))
t(-7, 10, 9223372036854775808, 100, (93, 10, 9223372036854775808))
t(-7, 10, 9223372036854775808, 2147483647, (2147483640, 10, 9223372036854775808))
t(-7, 10, 9223372036854775808, 9223372036854775808, (9223372036854775801, 10, 9223372036854775808))
t(-7, 2147483647, None, 0, (0, 0, 1))
t(-7, 2147483647, None, 1, (0, 1, 1))
t(-7, 2147483647, None, 5, (0, 5, 1))
t(-7, 2147483647, None, 10, (3, 10, 1))
t(-7, 2147483647, None, 100, (93, 100, 1))
t(-7, 2147483647, None, 2147483647, (2147483640, 2147483647, 1))
t(-7, 2147483647, None, 9223372036854775808, (9223372036854775801, 2147483647, 1))
t(-7, 2147483647, -5, 0, (-1, -1, -5))
t(-7, 2147483647, -5, 1, (-1, 0, -5))
t(-7, 2147483647, -5, 5, (-1, 4, -5))
t(-7, 2147483647, -5, 10, (3, 9, -5))
t(-7, 2147483647, -5, 100, (93, 99, -5))
t(-7, 2147483647, -5, 2147483647, (2147483640, 2147483646, -5))
t(-7, 2147483647, -5, 9223372036854775808, (9223372036854775801, 2147483647, -5))
t(-7, 2147483647, -3, 0, (-1, -1, -3))
t(-7, 2147483647, -3, 1, (-1, 0, -3))
t(-7, 2147483647, -3, 5, (-1, 4, -3))
t(-7, 2147483647, -3, 10, (3, 9, -3))
t(-7, 2147483647, -3, 100, (93, 99, -3))
t(-7, 2147483647, -3, 2147483647, (2147483640, 2147483646, -3))
t(-7, 2147483647, -3, 9223372036854775808, (9223372036854775801, 2147483647, -3))
t(-7, 2147483647, -1, 0, (-1, -1, -1))
t(-7, 2147483647, -1, 1, (-1, 0, -1))
t(-7, 2147483647, -1, 5, (-1, 4, -1))
t(-7, 2147483647, -1, 10, (3, 9, -1))
t(-7, 2147483647, -1, 100, (93, 99, -1))
t(-7, 2147483647, -1, 2147483647, (2147483640, 2147483646, -1))
t(-7, 2147483647, -1, 9223372036854775808, (9223372036854775801, 2147483647, -1))
t(-7, 2147483647, 1, 0, (0, 0, 1))
t(-7, 2147483647, 1, 1, (0, 1, 1))
t(-7, 2147483647, 1, 5, (0, 5, 1))
t(-7, 2147483647, 1, 10, (3, 10, 1))
t(-7, 2147483647, 1, 100, (93, 100, 1))
t(-7, 2147483647, 1, 2147483647, (2147483640, 2147483647, 1))
t(-7, 2147483647, 1, 9223372036854775808, (9223372036854775801, 2147483647, 1))
t(-7, 2147483647, 5, 0, (0, 0, 5))
t(-7, 2147483647, 5, 1, (0, 1, 5))
t(-7, 2147483647, 5, 5, (0, 5, 5))
t(-7, 2147483647, 5, 10, (3, 10, 5))
t(-7, 2147483647, 5, 100, (93, 100, 5))
t(-7, 2147483647, 5, 2147483647, (2147483640, 2147483647, 5))
t(-7, 2147483647, 5, 9223372036854775808, (9223372036854775801, 2147483647, 5))
t(-7, 2147483647, 20, 0, (0, 0, 20))
t(-7, 2147483647, 20, 1, (0, 1, 20))
t(-7, 2147483647, 20, 5, (0, 5, 20))
t(-7, 2147483647, 20, 10, (3, 10, 20))
t(-7, 2147483647, 20, 100, (93, 100, 20))
t(-7, 2147483647, 20, 2147483647, (2147483640, 2147483647, 20))
t(-7, 2147483647, 20, 9223372036854775808, (9223372036854775801, 2147483647, 20))
t(-7, 2147483647, 2147483647, 0, (0, 0, 2147483647))
t(-7, 2147483647, 2147483647, 1, (0, 1, 2147483647))
t(-7, 2147483647, 2147483647, 5, (0, 5, 2147483647))
t(-7, 2147483647, 2147483647, 10, (3, 10, 2147483647))
t(-7, 2147483647, 2147483647, 100, (93, 100, 2147483647))
t(-7, 2147483647, 2147483647, 2147483647, (2147483640, 2147483647, 2147483647))
t(-7, 2147483647, 2147483647, 9223372036854775808, (9223372036854775801, 2147483647, 2147483647))
t(-7, 2147483647, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-7, 2147483647, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(-7, 2147483647, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(-7, 2147483647, 9223372036854775808, 10, (3, 10, 9223372036854775808))
t(-7, 2147483647, 9223372036854775808, 100, (93, 100, 9223372036854775808))
t(-7, 2147483647, 9223372036854775808, 2147483647, (2147483640, 2147483647, 9223372036854775808))
t(-7, 2147483647, 9223372036854775808, 9223372036854775808, (9223372036854775801, 2147483647, 9223372036854775808))
t(-7, 9223372036854775808, None, 0, (0, 0, 1))
t(-7, 9223372036854775808, None, 1, (0, 1, 1))
t(-7, 9223372036854775808, None, 5, (0, 5, 1))
t(-7, 9223372036854775808, None, 10, (3, 10, 1))
t(-7, 9223372036854775808, None, 100, (93, 100, 1))
t(-7, 9223372036854775808, None, 2147483647, (2147483640, 2147483647, 1))
t(-7, 9223372036854775808, None, 9223372036854775808, (9223372036854775801, 9223372036854775808, 1))
t(-7, 9223372036854775808, -5, 0, (-1, -1, -5))
t(-7, 9223372036854775808, -5, 1, (-1, 0, -5))
t(-7, 9223372036854775808, -5, 5, (-1, 4, -5))
t(-7, 9223372036854775808, -5, 10, (3, 9, -5))
t(-7, 9223372036854775808, -5, 100, (93, 99, -5))
t(-7, 9223372036854775808, -5, 2147483647, (2147483640, 2147483646, -5))
t(-7, 9223372036854775808, -5, 9223372036854775808, (9223372036854775801, 9223372036854775807, -5))
t(-7, 9223372036854775808, -3, 0, (-1, -1, -3))
t(-7, 9223372036854775808, -3, 1, (-1, 0, -3))
t(-7, 9223372036854775808, -3, 5, (-1, 4, -3))
t(-7, 9223372036854775808, -3, 10, (3, 9, -3))
t(-7, 9223372036854775808, -3, 100, (93, 99, -3))
t(-7, 9223372036854775808, -3, 2147483647, (2147483640, 2147483646, -3))
t(-7, 9223372036854775808, -3, 9223372036854775808, (9223372036854775801, 9223372036854775807, -3))
t(-7, 9223372036854775808, -1, 0, (-1, -1, -1))
t(-7, 9223372036854775808, -1, 1, (-1, 0, -1))
t(-7, 9223372036854775808, -1, 5, (-1, 4, -1))
t(-7, 9223372036854775808, -1, 10, (3, 9, -1))
t(-7, 9223372036854775808, -1, 100, (93, 99, -1))
t(-7, 9223372036854775808, -1, 2147483647, (2147483640, 2147483646, -1))
t(-7, 9223372036854775808, -1, 9223372036854775808, (9223372036854775801, 9223372036854775807, -1))
t(-7, 9223372036854775808, 1, 0, (0, 0, 1))
t(-7, 9223372036854775808, 1, 1, (0, 1, 1))
t(-7, 9223372036854775808, 1, 5, (0, 5, 1))
t(-7, 9223372036854775808, 1, 10, (3, 10, 1))
t(-7, 9223372036854775808, 1, 100, (93, 100, 1))
t(-7, 9223372036854775808, 1, 2147483647, (2147483640, 2147483647, 1))
t(-7, 9223372036854775808, 1, 9223372036854775808, (9223372036854775801, 9223372036854775808, 1))
t(-7, 9223372036854775808, 5, 0, (0, 0, 5))
t(-7, 9223372036854775808, 5, 1, (0, 1, 5))
t(-7, 9223372036854775808, 5, 5, (0, 5, 5))
t(-7, 9223372036854775808, 5, 10, (3, 10, 5))
t(-7, 9223372036854775808, 5, 100, (93, 100, 5))
t(-7, 9223372036854775808, 5, 2147483647, (2147483640, 2147483647, 5))
t(-7, 9223372036854775808, 5, 9223372036854775808, (9223372036854775801, 9223372036854775808, 5))
t(-7, 9223372036854775808, 20, 0, (0, 0, 20))
t(-7, 9223372036854775808, 20, 1, (0, 1, 20))
t(-7, 9223372036854775808, 20, 5, (0, 5, 20))
t(-7, 9223372036854775808, 20, 10, (3, 10, 20))
t(-7, 9223372036854775808, 20, 100, (93, 100, 20))
t(-7, 9223372036854775808, 20, 2147483647, (2147483640, 2147483647, 20))
t(-7, 9223372036854775808, 20, 9223372036854775808, (9223372036854775801, 9223372036854775808, 20))
t(-7, 9223372036854775808, 2147483647, 0, (0, 0, 2147483647))
t(-7, 9223372036854775808, 2147483647, 1, (0, 1, 2147483647))
t(-7, 9223372036854775808, 2147483647, 5, (0, 5, 2147483647))
t(-7, 9223372036854775808, 2147483647, 10, (3, 10, 2147483647))
t(-7, 9223372036854775808, 2147483647, 100, (93, 100, 2147483647))
t(-7, 9223372036854775808, 2147483647, 2147483647, (2147483640, 2147483647, 2147483647))
t(-7, 9223372036854775808, 2147483647, 9223372036854775808, (9223372036854775801, 9223372036854775808, 2147483647))
t(-7, 9223372036854775808, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-7, 9223372036854775808, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(-7, 9223372036854775808, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(-7, 9223372036854775808, 9223372036854775808, 10, (3, 10, 9223372036854775808))
t(-7, 9223372036854775808, 9223372036854775808, 100, (93, 100, 9223372036854775808))
t(-7, 9223372036854775808, 9223372036854775808, 2147483647, (2147483640, 2147483647, 9223372036854775808))
t(-7, 9223372036854775808, 9223372036854775808, 9223372036854775808, (9223372036854775801, 9223372036854775808, 9223372036854775808))
t(-2, None, None, 0, (0, 0, 1))
t(-2, None, None, 1, (0, 1, 1))
t(-2, None, None, 5, (3, 5, 1))
t(-2, None, None, 10, (8, 10, 1))
t(-2, None, None, 100, (98, 100, 1))
t(-2, None, None, 2147483647, (2147483645, 2147483647, 1))
t(-2, None, None, 9223372036854775808, (9223372036854775806, 9223372036854775808, 1))
t(-2, None, -5, 0, (-1, -1, -5))
t(-2, None, -5, 1, (-1, -1, -5))
t(-2, None, -5, 5, (3, -1, -5))
t(-2, None, -5, 10, (8, -1, -5))
t(-2, None, -5, 100, (98, -1, -5))
t(-2, None, -5, 2147483647, (2147483645, -1, -5))
t(-2, None, -5, 9223372036854775808, (9223372036854775806, -1, -5))
t(-2, None, -3, 0, (-1, -1, -3))
t(-2, None, -3, 1, (-1, -1, -3))
t(-2, None, -3, 5, (3, -1, -3))
t(-2, None, -3, 10, (8, -1, -3))
t(-2, None, -3, 100, (98, -1, -3))
t(-2, None, -3, 2147483647, (2147483645, -1, -3))
t(-2, None, -3, 9223372036854775808, (9223372036854775806, -1, -3))
t(-2, None, -1, 0, (-1, -1, -1))
t(-2, None, -1, 1, (-1, -1, -1))
t(-2, None, -1, 5, (3, -1, -1))
t(-2, None, -1, 10, (8, -1, -1))
t(-2, None, -1, 100, (98, -1, -1))
t(-2, None, -1, 2147483647, (2147483645, -1, -1))
t(-2, None, -1, 9223372036854775808, (9223372036854775806, -1, -1))
t(-2, None, 1, 0, (0, 0, 1))
t(-2, None, 1, 1, (0, 1, 1))
t(-2, None, 1, 5, (3, 5, 1))
t(-2, None, 1, 10, (8, 10, 1))
t(-2, None, 1, 100, (98, 100, 1))
t(-2, None, 1, 2147483647, (2147483645, 2147483647, 1))
t(-2, None, 1, 9223372036854775808, (9223372036854775806, 9223372036854775808, 1))
t(-2, None, 5, 0, (0, 0, 5))
t(-2, None, 5, 1, (0, 1, 5))
t(-2, None, 5, 5, (3, 5, 5))
t(-2, None, 5, 10, (8, 10, 5))
t(-2, None, 5, 100, (98, 100, 5))
t(-2, None, 5, 2147483647, (2147483645, 2147483647, 5))
t(-2, None, 5, 9223372036854775808, (9223372036854775806, 9223372036854775808, 5))
t(-2, None, 20, 0, (0, 0, 20))
t(-2, None, 20, 1, (0, 1, 20))
t(-2, None, 20, 5, (3, 5, 20))
t(-2, None, 20, 10, (8, 10, 20))
t(-2, None, 20, 100, (98, 100, 20))
t(-2, None, 20, 2147483647, (2147483645, 2147483647, 20))
t(-2, None, 20, 9223372036854775808, (9223372036854775806, 9223372036854775808, 20))
t(-2, None, 2147483647, 0, (0, 0, 2147483647))
t(-2, None, 2147483647, 1, (0, 1, 2147483647))
t(-2, None, 2147483647, 5, (3, 5, 2147483647))
t(-2, None, 2147483647, 10, (8, 10, 2147483647))
t(-2, None, 2147483647, 100, (98, 100, 2147483647))
t(-2, None, 2147483647, 2147483647, (2147483645, 2147483647, 2147483647))
t(-2, None, 2147483647, 9223372036854775808, (9223372036854775806, 9223372036854775808, 2147483647))
t(-2, None, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-2, None, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(-2, None, 9223372036854775808, 5, (3, 5, 9223372036854775808))
t(-2, None, 9223372036854775808, 10, (8, 10, 9223372036854775808))
t(-2, None, 9223372036854775808, 100, (98, 100, 9223372036854775808))
t(-2, None, 9223372036854775808, 2147483647, (2147483645, 2147483647, 9223372036854775808))
t(-2, None, 9223372036854775808, 9223372036854775808, (9223372036854775806, 9223372036854775808, 9223372036854775808))
t(-2, -7, None, 0, (0, 0, 1))
t(-2, -7, None, 1, (0, 0, 1))
t(-2, -7, None, 5, (3, 0, 1))
t(-2, -7, None, 10, (8, 3, 1))
t(-2, -7, None, 100, (98, 93, 1))
t(-2, -7, None, 2147483647, (2147483645, 2147483640, 1))
t(-2, -7, None, 9223372036854775808, (9223372036854775806, 9223372036854775801, 1))
t(-2, -7, -5, 0, (-1, -1, -5))
t(-2, -7, -5, 1, (-1, -1, -5))
t(-2, -7, -5, 5, (3, -1, -5))
t(-2, -7, -5, 10, (8, 3, -5))
t(-2, -7, -5, 100, (98, 93, -5))
t(-2, -7, -5, 2147483647, (2147483645, 2147483640, -5))
t(-2, -7, -5, 9223372036854775808, (9223372036854775806, 9223372036854775801, -5))
t(-2, -7, -3, 0, (-1, -1, -3))
t(-2, -7, -3, 1, (-1, -1, -3))
t(-2, -7, -3, 5, (3, -1, -3))
t(-2, -7, -3, 10, (8, 3, -3))
t(-2, -7, -3, 100, (98, 93, -3))
t(-2, -7, -3, 2147483647, (2147483645, 2147483640, -3))
t(-2, -7, -3, 9223372036854775808, (9223372036854775806, 9223372036854775801, -3))
t(-2, -7, -1, 0, (-1, -1, -1))
t(-2, -7, -1, 1, (-1, -1, -1))
t(-2, -7, -1, 5, (3, -1, -1))
t(-2, -7, -1, 10, (8, 3, -1))
t(-2, -7, -1, 100, (98, 93, -1))
t(-2, -7, -1, 2147483647, (2147483645, 2147483640, -1))
t(-2, -7, -1, 9223372036854775808, (9223372036854775806, 9223372036854775801, -1))
t(-2, -7, 1, 0, (0, 0, 1))
t(-2, -7, 1, 1, (0, 0, 1))
t(-2, -7, 1, 5, (3, 0, 1))
t(-2, -7, 1, 10, (8, 3, 1))
t(-2, -7, 1, 100, (98, 93, 1))
t(-2, -7, 1, 2147483647, (2147483645, 2147483640, 1))
t(-2, -7, 1, 9223372036854775808, (9223372036854775806, 9223372036854775801, 1))
t(-2, -7, 5, 0, (0, 0, 5))
t(-2, -7, 5, 1, (0, 0, 5))
t(-2, -7, 5, 5, (3, 0, 5))
t(-2, -7, 5, 10, (8, 3, 5))
t(-2, -7, 5, 100, (98, 93, 5))
t(-2, -7, 5, 2147483647, (2147483645, 2147483640, 5))
t(-2, -7, 5, 9223372036854775808, (9223372036854775806, 9223372036854775801, 5))
t(-2, -7, 20, 0, (0, 0, 20))
t(-2, -7, 20, 1, (0, 0, 20))
t(-2, -7, 20, 5, (3, 0, 20))
t(-2, -7, 20, 10, (8, 3, 20))
t(-2, -7, 20, 100, (98, 93, 20))
t(-2, -7, 20, 2147483647, (2147483645, 2147483640, 20))
t(-2, -7, 20, 9223372036854775808, (9223372036854775806, 9223372036854775801, 20))
t(-2, -7, 2147483647, 0, (0, 0, 2147483647))
t(-2, -7, 2147483647, 1, (0, 0, 2147483647))
t(-2, -7, 2147483647, 5, (3, 0, 2147483647))
t(-2, -7, 2147483647, 10, (8, 3, 2147483647))
t(-2, -7, 2147483647, 100, (98, 93, 2147483647))
t(-2, -7, 2147483647, 2147483647, (2147483645, 2147483640, 2147483647))
t(-2, -7, 2147483647, 9223372036854775808, (9223372036854775806, 9223372036854775801, 2147483647))
t(-2, -7, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-2, -7, 9223372036854775808, 1, (0, 0, 9223372036854775808))
t(-2, -7, 9223372036854775808, 5, (3, 0, 9223372036854775808))
t(-2, -7, 9223372036854775808, 10, (8, 3, 9223372036854775808))
t(-2, -7, 9223372036854775808, 100, (98, 93, 9223372036854775808))
t(-2, -7, 9223372036854775808, 2147483647, (2147483645, 2147483640, 9223372036854775808))
t(-2, -7, 9223372036854775808, 9223372036854775808, (9223372036854775806, 9223372036854775801, 9223372036854775808))
t(-2, -2, None, 0, (0, 0, 1))
t(-2, -2, None, 1, (0, 0, 1))
t(-2, -2, None, 5, (3, 3, 1))
t(-2, -2, None, 10, (8, 8, 1))
t(-2, -2, None, 100, (98, 98, 1))
t(-2, -2, None, 2147483647, (2147483645, 2147483645, 1))
t(-2, -2, None, 9223372036854775808, (9223372036854775806, 9223372036854775806, 1))
t(-2, -2, -5, 0, (-1, -1, -5))
t(-2, -2, -5, 1, (-1, -1, -5))
t(-2, -2, -5, 5, (3, 3, -5))
t(-2, -2, -5, 10, (8, 8, -5))
t(-2, -2, -5, 100, (98, 98, -5))
t(-2, -2, -5, 2147483647, (2147483645, 2147483645, -5))
t(-2, -2, -5, 9223372036854775808, (9223372036854775806, 9223372036854775806, -5))
t(-2, -2, -3, 0, (-1, -1, -3))
t(-2, -2, -3, 1, (-1, -1, -3))
t(-2, -2, -3, 5, (3, 3, -3))
t(-2, -2, -3, 10, (8, 8, -3))
t(-2, -2, -3, 100, (98, 98, -3))
t(-2, -2, -3, 2147483647, (2147483645, 2147483645, -3))
t(-2, -2, -3, 9223372036854775808, (9223372036854775806, 9223372036854775806, -3))
t(-2, -2, -1, 0, (-1, -1, -1))
t(-2, -2, -1, 1, (-1, -1, -1))
t(-2, -2, -1, 5, (3, 3, -1))
t(-2, -2, -1, 10, (8, 8, -1))
t(-2, -2, -1, 100, (98, 98, -1))
t(-2, -2, -1, 2147483647, (2147483645, 2147483645, -1))
t(-2, -2, -1, 9223372036854775808, (9223372036854775806, 9223372036854775806, -1))
t(-2, -2, 1, 0, (0, 0, 1))
t(-2, -2, 1, 1, (0, 0, 1))
t(-2, -2, 1, 5, (3, 3, 1))
t(-2, -2, 1, 10, (8, 8, 1))
t(-2, -2, 1, 100, (98, 98, 1))
t(-2, -2, 1, 2147483647, (2147483645, 2147483645, 1))
t(-2, -2, 1, 9223372036854775808, (9223372036854775806, 9223372036854775806, 1))
t(-2, -2, 5, 0, (0, 0, 5))
t(-2, -2, 5, 1, (0, 0, 5))
t(-2, -2, 5, 5, (3, 3, 5))
t(-2, -2, 5, 10, (8, 8, 5))
t(-2, -2, 5, 100, (98, 98, 5))
t(-2, -2, 5, 2147483647, (2147483645, 2147483645, 5))
t(-2, -2, 5, 9223372036854775808, (9223372036854775806, 9223372036854775806, 5))
t(-2, -2, 20, 0, (0, 0, 20))
t(-2, -2, 20, 1, (0, 0, 20))
t(-2, -2, 20, 5, (3, 3, 20))
t(-2, -2, 20, 10, (8, 8, 20))
t(-2, -2, 20, 100, (98, 98, 20))
t(-2, -2, 20, 2147483647, (2147483645, 2147483645, 20))
t(-2, -2, 20, 9223372036854775808, (9223372036854775806, 9223372036854775806, 20))
t(-2, -2, 2147483647, 0, (0, 0, 2147483647))
t(-2, -2, 2147483647, 1, (0, 0, 2147483647))
t(-2, -2, 2147483647, 5, (3, 3, 2147483647))
t(-2, -2, 2147483647, 10, (8, 8, 2147483647))
t(-2, -2, 2147483647, 100, (98, 98, 2147483647))
t(-2, -2, 2147483647, 2147483647, (2147483645, 2147483645, 2147483647))
t(-2, -2, 2147483647, 9223372036854775808, (9223372036854775806, 9223372036854775806, 2147483647))
t(-2, -2, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-2, -2, 9223372036854775808, 1, (0, 0, 9223372036854775808))
t(-2, -2, 9223372036854775808, 5, (3, 3, 9223372036854775808))
t(-2, -2, 9223372036854775808, 10, (8, 8, 9223372036854775808))
t(-2, -2, 9223372036854775808, 100, (98, 98, 9223372036854775808))
t(-2, -2, 9223372036854775808, 2147483647, (2147483645, 2147483645, 9223372036854775808))
t(-2, -2, 9223372036854775808, 9223372036854775808, (9223372036854775806, 9223372036854775806, 9223372036854775808))
t(-2, 0, None, 0, (0, 0, 1))
t(-2, 0, None, 1, (0, 0, 1))
t(-2, 0, None, 5, (3, 0, 1))
t(-2, 0, None, 10, (8, 0, 1))
t(-2, 0, None, 100, (98, 0, 1))
t(-2, 0, None, 2147483647, (2147483645, 0, 1))
t(-2, 0, None, 9223372036854775808, (9223372036854775806, 0, 1))
t(-2, 0, -5, 0, (-1, -1, -5))
t(-2, 0, -5, 1, (-1, 0, -5))
t(-2, 0, -5, 5, (3, 0, -5))
t(-2, 0, -5, 10, (8, 0, -5))
t(-2, 0, -5, 100, (98, 0, -5))
t(-2, 0, -5, 2147483647, (2147483645, 0, -5))
t(-2, 0, -5, 9223372036854775808, (9223372036854775806, 0, -5))
t(-2, 0, -3, 0, (-1, -1, -3))
t(-2, 0, -3, 1, (-1, 0, -3))
t(-2, 0, -3, 5, (3, 0, -3))
t(-2, 0, -3, 10, (8, 0, -3))
t(-2, 0, -3, 100, (98, 0, -3))
t(-2, 0, -3, 2147483647, (2147483645, 0, -3))
t(-2, 0, -3, 9223372036854775808, (9223372036854775806, 0, -3))
t(-2, 0, -1, 0, (-1, -1, -1))
t(-2, 0, -1, 1, (-1, 0, -1))
t(-2, 0, -1, 5, (3, 0, -1))
t(-2, 0, -1, 10, (8, 0, -1))
t(-2, 0, -1, 100, (98, 0, -1))
t(-2, 0, -1, 2147483647, (2147483645, 0, -1))
t(-2, 0, -1, 9223372036854775808, (9223372036854775806, 0, -1))
t(-2, 0, 1, 0, (0, 0, 1))
t(-2, 0, 1, 1, (0, 0, 1))
t(-2, 0, 1, 5, (3, 0, 1))
t(-2, 0, 1, 10, (8, 0, 1))
t(-2, 0, 1, 100, (98, 0, 1))
t(-2, 0, 1, 2147483647, (2147483645, 0, 1))
t(-2, 0, 1, 9223372036854775808, (9223372036854775806, 0, 1))
t(-2, 0, 5, 0, (0, 0, 5))
t(-2, 0, 5, 1, (0, 0, 5))
t(-2, 0, 5, 5, (3, 0, 5))
t(-2, 0, 5, 10, (8, 0, 5))
t(-2, 0, 5, 100, (98, 0, 5))
t(-2, 0, 5, 2147483647, (2147483645, 0, 5))
t(-2, 0, 5, 9223372036854775808, (9223372036854775806, 0, 5))
t(-2, 0, 20, 0, (0, 0, 20))
t(-2, 0, 20, 1, (0, 0, 20))
t(-2, 0, 20, 5, (3, 0, 20))
t(-2, 0, 20, 10, (8, 0, 20))
t(-2, 0, 20, 100, (98, 0, 20))
t(-2, 0, 20, 2147483647, (2147483645, 0, 20))
t(-2, 0, 20, 9223372036854775808, (9223372036854775806, 0, 20))
t(-2, 0, 2147483647, 0, (0, 0, 2147483647))
t(-2, 0, 2147483647, 1, (0, 0, 2147483647))
t(-2, 0, 2147483647, 5, (3, 0, 2147483647))
t(-2, 0, 2147483647, 10, (8, 0, 2147483647))
t(-2, 0, 2147483647, 100, (98, 0, 2147483647))
t(-2, 0, 2147483647, 2147483647, (2147483645, 0, 2147483647))
t(-2, 0, 2147483647, 9223372036854775808, (9223372036854775806, 0, 2147483647))
t(-2, 0, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-2, 0, 9223372036854775808, 1, (0, 0, 9223372036854775808))
t(-2, 0, 9223372036854775808, 5, (3, 0, 9223372036854775808))
t(-2, 0, 9223372036854775808, 10, (8, 0, 9223372036854775808))
t(-2, 0, 9223372036854775808, 100, (98, 0, 9223372036854775808))
t(-2, 0, 9223372036854775808, 2147483647, (2147483645, 0, 9223372036854775808))
t(-2, 0, 9223372036854775808, 9223372036854775808, (9223372036854775806, 0, 9223372036854775808))
t(-2, 1, None, 0, (0, 0, 1))
t(-2, 1, None, 1, (0, 1, 1))
t(-2, 1, None, 5, (3, 1, 1))
t(-2, 1, None, 10, (8, 1, 1))
t(-2, 1, None, 100, (98, 1, 1))
t(-2, 1, None, 2147483647, (2147483645, 1, 1))
t(-2, 1, None, 9223372036854775808, (9223372036854775806, 1, 1))
t(-2, 1, -5, 0, (-1, -1, -5))
t(-2, 1, -5, 1, (-1, 0, -5))
t(-2, 1, -5, 5, (3, 1, -5))
t(-2, 1, -5, 10, (8, 1, -5))
t(-2, 1, -5, 100, (98, 1, -5))
t(-2, 1, -5, 2147483647, (2147483645, 1, -5))
t(-2, 1, -5, 9223372036854775808, (9223372036854775806, 1, -5))
t(-2, 1, -3, 0, (-1, -1, -3))
t(-2, 1, -3, 1, (-1, 0, -3))
t(-2, 1, -3, 5, (3, 1, -3))
t(-2, 1, -3, 10, (8, 1, -3))
t(-2, 1, -3, 100, (98, 1, -3))
t(-2, 1, -3, 2147483647, (2147483645, 1, -3))
t(-2, 1, -3, 9223372036854775808, (9223372036854775806, 1, -3))
t(-2, 1, -1, 0, (-1, -1, -1))
t(-2, 1, -1, 1, (-1, 0, -1))
t(-2, 1, -1, 5, (3, 1, -1))
t(-2, 1, -1, 10, (8, 1, -1))
t(-2, 1, -1, 100, (98, 1, -1))
t(-2, 1, -1, 2147483647, (2147483645, 1, -1))
t(-2, 1, -1, 9223372036854775808, (9223372036854775806, 1, -1))
t(-2, 1, 1, 0, (0, 0, 1))
t(-2, 1, 1, 1, (0, 1, 1))
t(-2, 1, 1, 5, (3, 1, 1))
t(-2, 1, 1, 10, (8, 1, 1))
t(-2, 1, 1, 100, (98, 1, 1))
t(-2, 1, 1, 2147483647, (2147483645, 1, 1))
t(-2, 1, 1, 9223372036854775808, (9223372036854775806, 1, 1))
t(-2, 1, 5, 0, (0, 0, 5))
t(-2, 1, 5, 1, (0, 1, 5))
t(-2, 1, 5, 5, (3, 1, 5))
t(-2, 1, 5, 10, (8, 1, 5))
t(-2, 1, 5, 100, (98, 1, 5))
t(-2, 1, 5, 2147483647, (2147483645, 1, 5))
t(-2, 1, 5, 9223372036854775808, (9223372036854775806, 1, 5))
t(-2, 1, 20, 0, (0, 0, 20))
t(-2, 1, 20, 1, (0, 1, 20))
t(-2, 1, 20, 5, (3, 1, 20))
t(-2, 1, 20, 10, (8, 1, 20))
t(-2, 1, 20, 100, (98, 1, 20))
t(-2, 1, 20, 2147483647, (2147483645, 1, 20))
t(-2, 1, 20, 9223372036854775808, (9223372036854775806, 1, 20))
t(-2, 1, 2147483647, 0, (0, 0, 2147483647))
t(-2, 1, 2147483647, 1, (0, 1, 2147483647))
t(-2, 1, 2147483647, 5, (3, 1, 2147483647))
t(-2, 1, 2147483647, 10, (8, 1, 2147483647))
t(-2, 1, 2147483647, 100, (98, 1, 2147483647))
t(-2, 1, 2147483647, 2147483647, (2147483645, 1, 2147483647))
t(-2, 1, 2147483647, 9223372036854775808, (9223372036854775806, 1, 2147483647))
t(-2, 1, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-2, 1, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(-2, 1, 9223372036854775808, 5, (3, 1, 9223372036854775808))
t(-2, 1, 9223372036854775808, 10, (8, 1, 9223372036854775808))
t(-2, 1, 9223372036854775808, 100, (98, 1, 9223372036854775808))
t(-2, 1, 9223372036854775808, 2147483647, (2147483645, 1, 9223372036854775808))
t(-2, 1, 9223372036854775808, 9223372036854775808, (9223372036854775806, 1, 9223372036854775808))
t(-2, 6, None, 0, (0, 0, 1))
t(-2, 6, None, 1, (0, 1, 1))
t(-2, 6, None, 5, (3, 5, 1))
t(-2, 6, None, 10, (8, 6, 1))
t(-2, 6, None, 100, (98, 6, 1))
t(-2, 6, None, 2147483647, (2147483645, 6, 1))
t(-2, 6, None, 9223372036854775808, (9223372036854775806, 6, 1))
t(-2, 6, -5, 0, (-1, -1, -5))
t(-2, 6, -5, 1, (-1, 0, -5))
t(-2, 6, -5, 5, (3, 4, -5))
t(-2, 6, -5, 10, (8, 6, -5))
t(-2, 6, -5, 100, (98, 6, -5))
t(-2, 6, -5, 2147483647, (2147483645, 6, -5))
t(-2, 6, -5, 9223372036854775808, (9223372036854775806, 6, -5))
t(-2, 6, -3, 0, (-1, -1, -3))
t(-2, 6, -3, 1, (-1, 0, -3))
t(-2, 6, -3, 5, (3, 4, -3))
t(-2, 6, -3, 10, (8, 6, -3))
t(-2, 6, -3, 100, (98, 6, -3))
t(-2, 6, -3, 2147483647, (2147483645, 6, -3))
t(-2, 6, -3, 9223372036854775808, (9223372036854775806, 6, -3))
t(-2, 6, -1, 0, (-1, -1, -1))
t(-2, 6, -1, 1, (-1, 0, -1))
t(-2, 6, -1, 5, (3, 4, -1))
t(-2, 6, -1, 10, (8, 6, -1))
t(-2, 6, -1, 100, (98, 6, -1))
t(-2, 6, -1, 2147483647, (2147483645, 6, -1))
t(-2, 6, -1, 9223372036854775808, (9223372036854775806, 6, -1))
t(-2, 6, 1, 0, (0, 0, 1))
t(-2, 6, 1, 1, (0, 1, 1))
t(-2, 6, 1, 5, (3, 5, 1))
t(-2, 6, 1, 10, (8, 6, 1))
t(-2, 6, 1, 100, (98, 6, 1))
t(-2, 6, 1, 2147483647, (2147483645, 6, 1))
t(-2, 6, 1, 9223372036854775808, (9223372036854775806, 6, 1))
t(-2, 6, 5, 0, (0, 0, 5))
t(-2, 6, 5, 1, (0, 1, 5))
t(-2, 6, 5, 5, (3, 5, 5))
t(-2, 6, 5, 10, (8, 6, 5))
t(-2, 6, 5, 100, (98, 6, 5))
t(-2, 6, 5, 2147483647, (2147483645, 6, 5))
t(-2, 6, 5, 9223372036854775808, (9223372036854775806, 6, 5))
t(-2, 6, 20, 0, (0, 0, 20))
t(-2, 6, 20, 1, (0, 1, 20))
t(-2, 6, 20, 5, (3, 5, 20))
t(-2, 6, 20, 10, (8, 6, 20))
t(-2, 6, 20, 100, (98, 6, 20))
t(-2, 6, 20, 2147483647, (2147483645, 6, 20))
t(-2, 6, 20, 9223372036854775808, (9223372036854775806, 6, 20))
t(-2, 6, 2147483647, 0, (0, 0, 2147483647))
t(-2, 6, 2147483647, 1, (0, 1, 2147483647))
t(-2, 6, 2147483647, 5, (3, 5, 2147483647))
t(-2, 6, 2147483647, 10, (8, 6, 2147483647))
t(-2, 6, 2147483647, 100, (98, 6, 2147483647))
t(-2, 6, 2147483647, 2147483647, (2147483645, 6, 2147483647))
t(-2, 6, 2147483647, 9223372036854775808, (9223372036854775806, 6, 2147483647))
t(-2, 6, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-2, 6, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(-2, 6, 9223372036854775808, 5, (3, 5, 9223372036854775808))
t(-2, 6, 9223372036854775808, 10, (8, 6, 9223372036854775808))
t(-2, 6, 9223372036854775808, 100, (98, 6, 9223372036854775808))
t(-2, 6, 9223372036854775808, 2147483647, (2147483645, 6, 9223372036854775808))
t(-2, 6, 9223372036854775808, 9223372036854775808, (9223372036854775806, 6, 9223372036854775808))
t(-2, 10, None, 0, (0, 0, 1))
t(-2, 10, None, 1, (0, 1, 1))
t(-2, 10, None, 5, (3, 5, 1))
t(-2, 10, None, 10, (8, 10, 1))
t(-2, 10, None, 100, (98, 10, 1))
t(-2, 10, None, 2147483647, (2147483645, 10, 1))
t(-2, 10, None, 9223372036854775808, (9223372036854775806, 10, 1))
t(-2, 10, -5, 0, (-1, -1, -5))
t(-2, 10, -5, 1, (-1, 0, -5))
t(-2, 10, -5, 5, (3, 4, -5))
t(-2, 10, -5, 10, (8, 9, -5))
t(-2, 10, -5, 100, (98, 10, -5))
t(-2, 10, -5, 2147483647, (2147483645, 10, -5))
t(-2, 10, -5, 9223372036854775808, (9223372036854775806, 10, -5))
t(-2, 10, -3, 0, (-1, -1, -3))
t(-2, 10, -3, 1, (-1, 0, -3))
t(-2, 10, -3, 5, (3, 4, -3))
t(-2, 10, -3, 10, (8, 9, -3))
t(-2, 10, -3, 100, (98, 10, -3))
t(-2, 10, -3, 2147483647, (2147483645, 10, -3))
t(-2, 10, -3, 9223372036854775808, (9223372036854775806, 10, -3))
t(-2, 10, -1, 0, (-1, -1, -1))
t(-2, 10, -1, 1, (-1, 0, -1))
t(-2, 10, -1, 5, (3, 4, -1))
t(-2, 10, -1, 10, (8, 9, -1))
t(-2, 10, -1, 100, (98, 10, -1))
t(-2, 10, -1, 2147483647, (2147483645, 10, -1))
t(-2, 10, -1, 9223372036854775808, (9223372036854775806, 10, -1))
t(-2, 10, 1, 0, (0, 0, 1))
t(-2, 10, 1, 1, (0, 1, 1))
t(-2, 10, 1, 5, (3, 5, 1))
t(-2, 10, 1, 10, (8, 10, 1))
t(-2, 10, 1, 100, (98, 10, 1))
t(-2, 10, 1, 2147483647, (2147483645, 10, 1))
t(-2, 10, 1, 9223372036854775808, (9223372036854775806, 10, 1))
t(-2, 10, 5, 0, (0, 0, 5))
t(-2, 10, 5, 1, (0, 1, 5))
t(-2, 10, 5, 5, (3, 5, 5))
t(-2, 10, 5, 10, (8, 10, 5))
t(-2, 10, 5, 100, (98, 10, 5))
t(-2, 10, 5, 2147483647, (2147483645, 10, 5))
t(-2, 10, 5, 9223372036854775808, (9223372036854775806, 10, 5))
t(-2, 10, 20, 0, (0, 0, 20))
t(-2, 10, 20, 1, (0, 1, 20))
t(-2, 10, 20, 5, (3, 5, 20))
t(-2, 10, 20, 10, (8, 10, 20))
t(-2, 10, 20, 100, (98, 10, 20))
t(-2, 10, 20, 2147483647, (2147483645, 10, 20))
t(-2, 10, 20, 9223372036854775808, (9223372036854775806, 10, 20))
t(-2, 10, 2147483647, 0, (0, 0, 2147483647))
t(-2, 10, 2147483647, 1, (0, 1, 2147483647))
t(-2, 10, 2147483647, 5, (3, 5, 2147483647))
t(-2, 10, 2147483647, 10, (8, 10, 2147483647))
t(-2, 10, 2147483647, 100, (98, 10, 2147483647))
t(-2, 10, 2147483647, 2147483647, (2147483645, 10, 2147483647))
t(-2, 10, 2147483647, 9223372036854775808, (9223372036854775806, 10, 2147483647))
t(-2, 10, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-2, 10, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(-2, 10, 9223372036854775808, 5, (3, 5, 9223372036854775808))
t(-2, 10, 9223372036854775808, 10, (8, 10, 9223372036854775808))
t(-2, 10, 9223372036854775808, 100, (98, 10, 9223372036854775808))
t(-2, 10, 9223372036854775808, 2147483647, (2147483645, 10, 9223372036854775808))
t(-2, 10, 9223372036854775808, 9223372036854775808, (9223372036854775806, 10, 9223372036854775808))
t(-2, 2147483647, None, 0, (0, 0, 1))
t(-2, 2147483647, None, 1, (0, 1, 1))
t(-2, 2147483647, None, 5, (3, 5, 1))
t(-2, 2147483647, None, 10, (8, 10, 1))
t(-2, 2147483647, None, 100, (98, 100, 1))
t(-2, 2147483647, None, 2147483647, (2147483645, 2147483647, 1))
t(-2, 2147483647, None, 9223372036854775808, (9223372036854775806, 2147483647, 1))
t(-2, 2147483647, -5, 0, (-1, -1, -5))
t(-2, 2147483647, -5, 1, (-1, 0, -5))
t(-2, 2147483647, -5, 5, (3, 4, -5))
t(-2, 2147483647, -5, 10, (8, 9, -5))
t(-2, 2147483647, -5, 100, (98, 99, -5))
t(-2, 2147483647, -5, 2147483647, (2147483645, 2147483646, -5))
t(-2, 2147483647, -5, 9223372036854775808, (9223372036854775806, 2147483647, -5))
t(-2, 2147483647, -3, 0, (-1, -1, -3))
t(-2, 2147483647, -3, 1, (-1, 0, -3))
t(-2, 2147483647, -3, 5, (3, 4, -3))
t(-2, 2147483647, -3, 10, (8, 9, -3))
t(-2, 2147483647, -3, 100, (98, 99, -3))
t(-2, 2147483647, -3, 2147483647, (2147483645, 2147483646, -3))
t(-2, 2147483647, -3, 9223372036854775808, (9223372036854775806, 2147483647, -3))
t(-2, 2147483647, -1, 0, (-1, -1, -1))
t(-2, 2147483647, -1, 1, (-1, 0, -1))
t(-2, 2147483647, -1, 5, (3, 4, -1))
t(-2, 2147483647, -1, 10, (8, 9, -1))
t(-2, 2147483647, -1, 100, (98, 99, -1))
t(-2, 2147483647, -1, 2147483647, (2147483645, 2147483646, -1))
t(-2, 2147483647, -1, 9223372036854775808, (9223372036854775806, 2147483647, -1))
t(-2, 2147483647, 1, 0, (0, 0, 1))
t(-2, 2147483647, 1, 1, (0, 1, 1))
t(-2, 2147483647, 1, 5, (3, 5, 1))
t(-2, 2147483647, 1, 10, (8, 10, 1))
t(-2, 2147483647, 1, 100, (98, 100, 1))
t(-2, 2147483647, 1, 2147483647, (2147483645, 2147483647, 1))
t(-2, 2147483647, 1, 9223372036854775808, (9223372036854775806, 2147483647, 1))
t(-2, 2147483647, 5, 0, (0, 0, 5))
t(-2, 2147483647, 5, 1, (0, 1, 5))
t(-2, 2147483647, 5, 5, (3, 5, 5))
t(-2, 2147483647, 5, 10, (8, 10, 5))
t(-2, 2147483647, 5, 100, (98, 100, 5))
t(-2, 2147483647, 5, 2147483647, (2147483645, 2147483647, 5))
t(-2, 2147483647, 5, 9223372036854775808, (9223372036854775806, 2147483647, 5))
t(-2, 2147483647, 20, 0, (0, 0, 20))
t(-2, 2147483647, 20, 1, (0, 1, 20))
t(-2, 2147483647, 20, 5, (3, 5, 20))
t(-2, 2147483647, 20, 10, (8, 10, 20))
t(-2, 2147483647, 20, 100, (98, 100, 20))
t(-2, 2147483647, 20, 2147483647, (2147483645, 2147483647, 20))
t(-2, 2147483647, 20, 9223372036854775808, (9223372036854775806, 2147483647, 20))
t(-2, 2147483647, 2147483647, 0, (0, 0, 2147483647))
t(-2, 2147483647, 2147483647, 1, (0, 1, 2147483647))
t(-2, 2147483647, 2147483647, 5, (3, 5, 2147483647))
t(-2, 2147483647, 2147483647, 10, (8, 10, 2147483647))
t(-2, 2147483647, 2147483647, 100, (98, 100, 2147483647))
t(-2, 2147483647, 2147483647, 2147483647, (2147483645, 2147483647, 2147483647))
t(-2, 2147483647, 2147483647, 9223372036854775808, (9223372036854775806, 2147483647, 2147483647))
t(-2, 2147483647, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-2, 2147483647, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(-2, 2147483647, 9223372036854775808, 5, (3, 5, 9223372036854775808))
t(-2, 2147483647, 9223372036854775808, 10, (8, 10, 9223372036854775808))
t(-2, 2147483647, 9223372036854775808, 100, (98, 100, 9223372036854775808))
t(-2, 2147483647, 9223372036854775808, 2147483647, (2147483645, 2147483647, 9223372036854775808))
t(-2, 2147483647, 9223372036854775808, 9223372036854775808, (9223372036854775806, 2147483647, 9223372036854775808))
t(-2, 9223372036854775808, None, 0, (0, 0, 1))
t(-2, 9223372036854775808, None, 1, (0, 1, 1))
t(-2, 9223372036854775808, None, 5, (3, 5, 1))
t(-2, 9223372036854775808, None, 10, (8, 10, 1))
t(-2, 9223372036854775808, None, 100, (98, 100, 1))
t(-2, 9223372036854775808, None, 2147483647, (2147483645, 2147483647, 1))
t(-2, 9223372036854775808, None, 9223372036854775808, (9223372036854775806, 9223372036854775808, 1))
t(-2, 9223372036854775808, -5, 0, (-1, -1, -5))
t(-2, 9223372036854775808, -5, 1, (-1, 0, -5))
t(-2, 9223372036854775808, -5, 5, (3, 4, -5))
t(-2, 9223372036854775808, -5, 10, (8, 9, -5))
t(-2, 9223372036854775808, -5, 100, (98, 99, -5))
t(-2, 9223372036854775808, -5, 2147483647, (2147483645, 2147483646, -5))
t(-2, 9223372036854775808, -5, 9223372036854775808, (9223372036854775806, 9223372036854775807, -5))
t(-2, 9223372036854775808, -3, 0, (-1, -1, -3))
t(-2, 9223372036854775808, -3, 1, (-1, 0, -3))
t(-2, 9223372036854775808, -3, 5, (3, 4, -3))
t(-2, 9223372036854775808, -3, 10, (8, 9, -3))
t(-2, 9223372036854775808, -3, 100, (98, 99, -3))
t(-2, 9223372036854775808, -3, 2147483647, (2147483645, 2147483646, -3))
t(-2, 9223372036854775808, -3, 9223372036854775808, (9223372036854775806, 9223372036854775807, -3))
t(-2, 9223372036854775808, -1, 0, (-1, -1, -1))
t(-2, 9223372036854775808, -1, 1, (-1, 0, -1))
t(-2, 9223372036854775808, -1, 5, (3, 4, -1))
t(-2, 9223372036854775808, -1, 10, (8, 9, -1))
t(-2, 9223372036854775808, -1, 100, (98, 99, -1))
t(-2, 9223372036854775808, -1, 2147483647, (2147483645, 2147483646, -1))
t(-2, 9223372036854775808, -1, 9223372036854775808, (9223372036854775806, 9223372036854775807, -1))
t(-2, 9223372036854775808, 1, 0, (0, 0, 1))
t(-2, 9223372036854775808, 1, 1, (0, 1, 1))
t(-2, 9223372036854775808, 1, 5, (3, 5, 1))
t(-2, 9223372036854775808, 1, 10, (8, 10, 1))
t(-2, 9223372036854775808, 1, 100, (98, 100, 1))
t(-2, 9223372036854775808, 1, 2147483647, (2147483645, 2147483647, 1))
t(-2, 9223372036854775808, 1, 9223372036854775808, (9223372036854775806, 9223372036854775808, 1))
t(-2, 9223372036854775808, 5, 0, (0, 0, 5))
t(-2, 9223372036854775808, 5, 1, (0, 1, 5))
t(-2, 9223372036854775808, 5, 5, (3, 5, 5))
t(-2, 9223372036854775808, 5, 10, (8, 10, 5))
t(-2, 9223372036854775808, 5, 100, (98, 100, 5))
t(-2, 9223372036854775808, 5, 2147483647, (2147483645, 2147483647, 5))
t(-2, 9223372036854775808, 5, 9223372036854775808, (9223372036854775806, 9223372036854775808, 5))
t(-2, 9223372036854775808, 20, 0, (0, 0, 20))
t(-2, 9223372036854775808, 20, 1, (0, 1, 20))
t(-2, 9223372036854775808, 20, 5, (3, 5, 20))
t(-2, 9223372036854775808, 20, 10, (8, 10, 20))
t(-2, 9223372036854775808, 20, 100, (98, 100, 20))
t(-2, 9223372036854775808, 20, 2147483647, (2147483645, 2147483647, 20))
t(-2, 9223372036854775808, 20, 9223372036854775808, (9223372036854775806, 9223372036854775808, 20))
t(-2, 9223372036854775808, 2147483647, 0, (0, 0, 2147483647))
t(-2, 9223372036854775808, 2147483647, 1, (0, 1, 2147483647))
t(-2, 9223372036854775808, 2147483647, 5, (3, 5, 2147483647))
t(-2, 9223372036854775808, 2147483647, 10, (8, 10, 2147483647))
t(-2, 9223372036854775808, 2147483647, 100, (98, 100, 2147483647))
t(-2, 9223372036854775808, 2147483647, 2147483647, (2147483645, 2147483647, 2147483647))
t(-2, 9223372036854775808, 2147483647, 9223372036854775808, (9223372036854775806, 9223372036854775808, 2147483647))
t(-2, 9223372036854775808, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(-2, 9223372036854775808, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(-2, 9223372036854775808, 9223372036854775808, 5, (3, 5, 9223372036854775808))
t(-2, 9223372036854775808, 9223372036854775808, 10, (8, 10, 9223372036854775808))
t(-2, 9223372036854775808, 9223372036854775808, 100, (98, 100, 9223372036854775808))
t(-2, 9223372036854775808, 9223372036854775808, 2147483647, (2147483645, 2147483647, 9223372036854775808))
t(-2, 9223372036854775808, 9223372036854775808, 9223372036854775808, (9223372036854775806, 9223372036854775808, 9223372036854775808))
t(0, None, None, 0, (0, 0, 1))
t(0, None, None, 1, (0, 1, 1))
t(0, None, None, 5, (0, 5, 1))
t(0, None, None, 10, (0, 10, 1))
t(0, None, None, 100, (0, 100, 1))
t(0, None, None, 2147483647, (0, 2147483647, 1))
t(0, None, None, 9223372036854775808, (0, 9223372036854775808, 1))
t(0, None, -5, 0, (-1, -1, -5))
t(0, None, -5, 1, (0, -1, -5))
t(0, None, -5, 5, (0, -1, -5))
t(0, None, -5, 10, (0, -1, -5))
t(0, None, -5, 100, (0, -1, -5))
t(0, None, -5, 2147483647, (0, -1, -5))
t(0, None, -5, 9223372036854775808, (0, -1, -5))
t(0, None, -3, 0, (-1, -1, -3))
t(0, None, -3, 1, (0, -1, -3))
t(0, None, -3, 5, (0, -1, -3))
t(0, None, -3, 10, (0, -1, -3))
t(0, None, -3, 100, (0, -1, -3))
t(0, None, -3, 2147483647, (0, -1, -3))
t(0, None, -3, 9223372036854775808, (0, -1, -3))
t(0, None, -1, 0, (-1, -1, -1))
t(0, None, -1, 1, (0, -1, -1))
t(0, None, -1, 5, (0, -1, -1))
t(0, None, -1, 10, (0, -1, -1))
t(0, None, -1, 100, (0, -1, -1))
t(0, None, -1, 2147483647, (0, -1, -1))
t(0, None, -1, 9223372036854775808, (0, -1, -1))
t(0, None, 1, 0, (0, 0, 1))
t(0, None, 1, 1, (0, 1, 1))
t(0, None, 1, 5, (0, 5, 1))
t(0, None, 1, 10, (0, 10, 1))
t(0, None, 1, 100, (0, 100, 1))
t(0, None, 1, 2147483647, (0, 2147483647, 1))
t(0, None, 1, 9223372036854775808, (0, 9223372036854775808, 1))
t(0, None, 5, 0, (0, 0, 5))
t(0, None, 5, 1, (0, 1, 5))
t(0, None, 5, 5, (0, 5, 5))
t(0, None, 5, 10, (0, 10, 5))
t(0, None, 5, 100, (0, 100, 5))
t(0, None, 5, 2147483647, (0, 2147483647, 5))
t(0, None, 5, 9223372036854775808, (0, 9223372036854775808, 5))
t(0, None, 20, 0, (0, 0, 20))
t(0, None, 20, 1, (0, 1, 20))
t(0, None, 20, 5, (0, 5, 20))
t(0, None, 20, 10, (0, 10, 20))
t(0, None, 20, 100, (0, 100, 20))
t(0, None, 20, 2147483647, (0, 2147483647, 20))
t(0, None, 20, 9223372036854775808, (0, 9223372036854775808, 20))
t(0, None, 2147483647, 0, (0, 0, 2147483647))
t(0, None, 2147483647, 1, (0, 1, 2147483647))
t(0, None, 2147483647, 5, (0, 5, 2147483647))
t(0, None, 2147483647, 10, (0, 10, 2147483647))
t(0, None, 2147483647, 100, (0, 100, 2147483647))
t(0, None, 2147483647, 2147483647, (0, 2147483647, 2147483647))
t(0, None, 2147483647, 9223372036854775808, (0, 9223372036854775808, 2147483647))
t(0, None, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(0, None, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(0, None, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(0, None, 9223372036854775808, 10, (0, 10, 9223372036854775808))
t(0, None, 9223372036854775808, 100, (0, 100, 9223372036854775808))
t(0, None, 9223372036854775808, 2147483647, (0, 2147483647, 9223372036854775808))
t(0, None, 9223372036854775808, 9223372036854775808, (0, 9223372036854775808, 9223372036854775808))
t(0, -7, None, 0, (0, 0, 1))
t(0, -7, None, 1, (0, 0, 1))
t(0, -7, None, 5, (0, 0, 1))
t(0, -7, None, 10, (0, 3, 1))
t(0, -7, None, 100, (0, 93, 1))
t(0, -7, None, 2147483647, (0, 2147483640, 1))
t(0, -7, None, 9223372036854775808, (0, 9223372036854775801, 1))
t(0, -7, -5, 0, (-1, -1, -5))
t(0, -7, -5, 1, (0, -1, -5))
t(0, -7, -5, 5, (0, -1, -5))
t(0, -7, -5, 10, (0, 3, -5))
t(0, -7, -5, 100, (0, 93, -5))
t(0, -7, -5, 2147483647, (0, 2147483640, -5))
t(0, -7, -5, 9223372036854775808, (0, 9223372036854775801, -5))
t(0, -7, -3, 0, (-1, -1, -3))
t(0, -7, -3, 1, (0, -1, -3))
t(0, -7, -3, 5, (0, -1, -3))
t(0, -7, -3, 10, (0, 3, -3))
t(0, -7, -3, 100, (0, 93, -3))
t(0, -7, -3, 2147483647, (0, 2147483640, -3))
t(0, -7, -3, 9223372036854775808, (0, 9223372036854775801, -3))
t(0, -7, -1, 0, (-1, -1, -1))
t(0, -7, -1, 1, (0, -1, -1))
t(0, -7, -1, 5, (0, -1, -1))
t(0, -7, -1, 10, (0, 3, -1))
t(0, -7, -1, 100, (0, 93, -1))
t(0, -7, -1, 2147483647, (0, 2147483640, -1))
t(0, -7, -1, 9223372036854775808, (0, 9223372036854775801, -1))
t(0, -7, 1, 0, (0, 0, 1))
t(0, -7, 1, 1, (0, 0, 1))
t(0, -7, 1, 5, (0, 0, 1))
t(0, -7, 1, 10, (0, 3, 1))
t(0, -7, 1, 100, (0, 93, 1))
t(0, -7, 1, 2147483647, (0, 2147483640, 1))
t(0, -7, 1, 9223372036854775808, (0, 9223372036854775801, 1))
t(0, -7, 5, 0, (0, 0, 5))
t(0, -7, 5, 1, (0, 0, 5))
t(0, -7, 5, 5, (0, 0, 5))
t(0, -7, 5, 10, (0, 3, 5))
t(0, -7, 5, 100, (0, 93, 5))
t(0, -7, 5, 2147483647, (0, 2147483640, 5))
t(0, -7, 5, 9223372036854775808, (0, 9223372036854775801, 5))
t(0, -7, 20, 0, (0, 0, 20))
t(0, -7, 20, 1, (0, 0, 20))
t(0, -7, 20, 5, (0, 0, 20))
t(0, -7, 20, 10, (0, 3, 20))
t(0, -7, 20, 100, (0, 93, 20))
t(0, -7, 20, 2147483647, (0, 2147483640, 20))
t(0, -7, 20, 9223372036854775808, (0, 9223372036854775801, 20))
t(0, -7, 2147483647, 0, (0, 0, 2147483647))
t(0, -7, 2147483647, 1, (0, 0, 2147483647))
t(0, -7, 2147483647, 5, (0, 0, 2147483647))
t(0, -7, 2147483647, 10, (0, 3, 2147483647))
t(0, -7, 2147483647, 100, (0, 93, 2147483647))
t(0, -7, 2147483647, 2147483647, (0, 2147483640, 2147483647))
t(0, -7, 2147483647, 9223372036854775808, (0, 9223372036854775801, 2147483647))
t(0, -7, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(0, -7, 9223372036854775808, 1, (0, 0, 9223372036854775808))
t(0, -7, 9223372036854775808, 5, (0, 0, 9223372036854775808))
t(0, -7, 9223372036854775808, 10, (0, 3, 9223372036854775808))
t(0, -7, 9223372036854775808, 100, (0, 93, 9223372036854775808))
t(0, -7, 9223372036854775808, 2147483647, (0, 2147483640, 9223372036854775808))
t(0, -7, 9223372036854775808, 9223372036854775808, (0, 9223372036854775801, 9223372036854775808))
t(0, -2, None, 0, (0, 0, 1))
t(0, -2, None, 1, (0, 0, 1))
t(0, -2, None, 5, (0, 3, 1))
t(0, -2, None, 10, (0, 8, 1))
t(0, -2, None, 100, (0, 98, 1))
t(0, -2, None, 2147483647, (0, 2147483645, 1))
t(0, -2, None, 9223372036854775808, (0, 9223372036854775806, 1))
t(0, -2, -5, 0, (-1, -1, -5))
t(0, -2, -5, 1, (0, -1, -5))
t(0, -2, -5, 5, (0, 3, -5))
t(0, -2, -5, 10, (0, 8, -5))
t(0, -2, -5, 100, (0, 98, -5))
t(0, -2, -5, 2147483647, (0, 2147483645, -5))
t(0, -2, -5, 9223372036854775808, (0, 9223372036854775806, -5))
t(0, -2, -3, 0, (-1, -1, -3))
t(0, -2, -3, 1, (0, -1, -3))
t(0, -2, -3, 5, (0, 3, -3))
t(0, -2, -3, 10, (0, 8, -3))
t(0, -2, -3, 100, (0, 98, -3))
t(0, -2, -3, 2147483647, (0, 2147483645, -3))
t(0, -2, -3, 9223372036854775808, (0, 9223372036854775806, -3))
t(0, -2, -1, 0, (-1, -1, -1))
t(0, -2, -1, 1, (0, -1, -1))
t(0, -2, -1, 5, (0, 3, -1))
t(0, -2, -1, 10, (0, 8, -1))
t(0, -2, -1, 100, (0, 98, -1))
t(0, -2, -1, 2147483647, (0, 2147483645, -1))
t(0, -2, -1, 9223372036854775808, (0, 9223372036854775806, -1))
t(0, -2, 1, 0, (0, 0, 1))
t(0, -2, 1, 1, (0, 0, 1))
t(0, -2, 1, 5, (0, 3, 1))
t(0, -2, 1, 10, (0, 8, 1))
t(0, -2, 1, 100, (0, 98, 1))
t(0, -2, 1, 2147483647, (0, 2147483645, 1))
t(0, -2, 1, 9223372036854775808, (0, 9223372036854775806, 1))
t(0, -2, 5, 0, (0, 0, 5))
t(0, -2, 5, 1, (0, 0, 5))
t(0, -2, 5, 5, (0, 3, 5))
t(0, -2, 5, 10, (0, 8, 5))
t(0, -2, 5, 100, (0, 98, 5))
t(0, -2, 5, 2147483647, (0, 2147483645, 5))
t(0, -2, 5, 9223372036854775808, (0, 9223372036854775806, 5))
t(0, -2, 20, 0, (0, 0, 20))
t(0, -2, 20, 1, (0, 0, 20))
t(0, -2, 20, 5, (0, 3, 20))
t(0, -2, 20, 10, (0, 8, 20))
t(0, -2, 20, 100, (0, 98, 20))
t(0, -2, 20, 2147483647, (0, 2147483645, 20))
t(0, -2, 20, 9223372036854775808, (0, 9223372036854775806, 20))
t(0, -2, 2147483647, 0, (0, 0, 2147483647))
t(0, -2, 2147483647, 1, (0, 0, 2147483647))
t(0, -2, 2147483647, 5, (0, 3, 2147483647))
t(0, -2, 2147483647, 10, (0, 8, 2147483647))
t(0, -2, 2147483647, 100, (0, 98, 2147483647))
t(0, -2, 2147483647, 2147483647, (0, 2147483645, 2147483647))
t(0, -2, 2147483647, 9223372036854775808, (0, 9223372036854775806, 2147483647))
t(0, -2, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(0, -2, 9223372036854775808, 1, (0, 0, 9223372036854775808))
t(0, -2, 9223372036854775808, 5, (0, 3, 9223372036854775808))
t(0, -2, 9223372036854775808, 10, (0, 8, 9223372036854775808))
t(0, -2, 9223372036854775808, 100, (0, 98, 9223372036854775808))
t(0, -2, 9223372036854775808, 2147483647, (0, 2147483645, 9223372036854775808))
t(0, -2, 9223372036854775808, 9223372036854775808, (0, 9223372036854775806, 9223372036854775808))
t(0, 0, None, 0, (0, 0, 1))
t(0, 0, None, 1, (0, 0, 1))
t(0, 0, None, 5, (0, 0, 1))
t(0, 0, None, 10, (0, 0, 1))
t(0, 0, None, 100, (0, 0, 1))
t(0, 0, None, 2147483647, (0, 0, 1))
t(0, 0, None, 9223372036854775808, (0, 0, 1))
t(0, 0, -5, 0, (-1, -1, -5))
t(0, 0, -5, 1, (0, 0, -5))
t(0, 0, -5, 5, (0, 0, -5))
t(0, 0, -5, 10, (0, 0, -5))
t(0, 0, -5, 100, (0, 0, -5))
t(0, 0, -5, 2147483647, (0, 0, -5))
t(0, 0, -5, 9223372036854775808, (0, 0, -5))
t(0, 0, -3, 0, (-1, -1, -3))
t(0, 0, -3, 1, (0, 0, -3))
t(0, 0, -3, 5, (0, 0, -3))
t(0, 0, -3, 10, (0, 0, -3))
t(0, 0, -3, 100, (0, 0, -3))
t(0, 0, -3, 2147483647, (0, 0, -3))
t(0, 0, -3, 9223372036854775808, (0, 0, -3))
t(0, 0, -1, 0, (-1, -1, -1))
t(0, 0, -1, 1, (0, 0, -1))
t(0, 0, -1, 5, (0, 0, -1))
t(0, 0, -1, 10, (0, 0, -1))
t(0, 0, -1, 100, (0, 0, -1))
t(0, 0, -1, 2147483647, (0, 0, -1))
t(0, 0, -1, 9223372036854775808, (0, 0, -1))
t(0, 0, 1, 0, (0, 0, 1))
t(0, 0, 1, 1, (0, 0, 1))
t(0, 0, 1, 5, (0, 0, 1))
t(0, 0, 1, 10, (0, 0, 1))
t(0, 0, 1, 100, (0, 0, 1))
t(0, 0, 1, 2147483647, (0, 0, 1))
t(0, 0, 1, 9223372036854775808, (0, 0, 1))
t(0, 0, 5, 0, (0, 0, 5))
t(0, 0, 5, 1, (0, 0, 5))
t(0, 0, 5, 5, (0, 0, 5))
t(0, 0, 5, 10, (0, 0, 5))
t(0, 0, 5, 100, (0, 0, 5))
t(0, 0, 5, 2147483647, (0, 0, 5))
t(0, 0, 5, 9223372036854775808, (0, 0, 5))
t(0, 0, 20, 0, (0, 0, 20))
t(0, 0, 20, 1, (0, 0, 20))
t(0, 0, 20, 5, (0, 0, 20))
t(0, 0, 20, 10, (0, 0, 20))
t(0, 0, 20, 100, (0, 0, 20))
t(0, 0, 20, 2147483647, (0, 0, 20))
t(0, 0, 20, 9223372036854775808, (0, 0, 20))
t(0, 0, 2147483647, 0, (0, 0, 2147483647))
t(0, 0, 2147483647, 1, (0, 0, 2147483647))
t(0, 0, 2147483647, 5, (0, 0, 2147483647))
t(0, 0, 2147483647, 10, (0, 0, 2147483647))
t(0, 0, 2147483647, 100, (0, 0, 2147483647))
t(0, 0, 2147483647, 2147483647, (0, 0, 2147483647))
t(0, 0, 2147483647, 9223372036854775808, (0, 0, 2147483647))
t(0, 0, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(0, 0, 9223372036854775808, 1, (0, 0, 9223372036854775808))
t(0, 0, 9223372036854775808, 5, (0, 0, 9223372036854775808))
t(0, 0, 9223372036854775808, 10, (0, 0, 9223372036854775808))
t(0, 0, 9223372036854775808, 100, (0, 0, 9223372036854775808))
t(0, 0, 9223372036854775808, 2147483647, (0, 0, 9223372036854775808))
t(0, 0, 9223372036854775808, 9223372036854775808, (0, 0, 9223372036854775808))
t(0, 1, None, 0, (0, 0, 1))
t(0, 1, None, 1, (0, 1, 1))
t(0, 1, None, 5, (0, 1, 1))
t(0, 1, None, 10, (0, 1, 1))
t(0, 1, None, 100, (0, 1, 1))
t(0, 1, None, 2147483647, (0, 1, 1))
t(0, 1, None, 9223372036854775808, (0, 1, 1))
t(0, 1, -5, 0, (-1, -1, -5))
t(0, 1, -5, 1, (0, 0, -5))
t(0, 1, -5, 5, (0, 1, -5))
t(0, 1, -5, 10, (0, 1, -5))
t(0, 1, -5, 100, (0, 1, -5))
t(0, 1, -5, 2147483647, (0, 1, -5))
t(0, 1, -5, 9223372036854775808, (0, 1, -5))
t(0, 1, -3, 0, (-1, -1, -3))
t(0, 1, -3, 1, (0, 0, -3))
t(0, 1, -3, 5, (0, 1, -3))
t(0, 1, -3, 10, (0, 1, -3))
t(0, 1, -3, 100, (0, 1, -3))
t(0, 1, -3, 2147483647, (0, 1, -3))
t(0, 1, -3, 9223372036854775808, (0, 1, -3))
t(0, 1, -1, 0, (-1, -1, -1))
t(0, 1, -1, 1, (0, 0, -1))
t(0, 1, -1, 5, (0, 1, -1))
t(0, 1, -1, 10, (0, 1, -1))
t(0, 1, -1, 100, (0, 1, -1))
t(0, 1, -1, 2147483647, (0, 1, -1))
t(0, 1, -1, 9223372036854775808, (0, 1, -1))
t(0, 1, 1, 0, (0, 0, 1))
t(0, 1, 1, 1, (0, 1, 1))
t(0, 1, 1, 5, (0, 1, 1))
t(0, 1, 1, 10, (0, 1, 1))
t(0, 1, 1, 100, (0, 1, 1))
t(0, 1, 1, 2147483647, (0, 1, 1))
t(0, 1, 1, 9223372036854775808, (0, 1, 1))
t(0, 1, 5, 0, (0, 0, 5))
t(0, 1, 5, 1, (0, 1, 5))
t(0, 1, 5, 5, (0, 1, 5))
t(0, 1, 5, 10, (0, 1, 5))
t(0, 1, 5, 100, (0, 1, 5))
t(0, 1, 5, 2147483647, (0, 1, 5))
t(0, 1, 5, 9223372036854775808, (0, 1, 5))
t(0, 1, 20, 0, (0, 0, 20))
t(0, 1, 20, 1, (0, 1, 20))
t(0, 1, 20, 5, (0, 1, 20))
t(0, 1, 20, 10, (0, 1, 20))
t(0, 1, 20, 100, (0, 1, 20))
t(0, 1, 20, 2147483647, (0, 1, 20))
t(0, 1, 20, 9223372036854775808, (0, 1, 20))
t(0, 1, 2147483647, 0, (0, 0, 2147483647))
t(0, 1, 2147483647, 1, (0, 1, 2147483647))
t(0, 1, 2147483647, 5, (0, 1, 2147483647))
t(0, 1, 2147483647, 10, (0, 1, 2147483647))
t(0, 1, 2147483647, 100, (0, 1, 2147483647))
t(0, 1, 2147483647, 2147483647, (0, 1, 2147483647))
t(0, 1, 2147483647, 9223372036854775808, (0, 1, 2147483647))
t(0, 1, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(0, 1, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(0, 1, 9223372036854775808, 5, (0, 1, 9223372036854775808))
t(0, 1, 9223372036854775808, 10, (0, 1, 9223372036854775808))
t(0, 1, 9223372036854775808, 100, (0, 1, 9223372036854775808))
t(0, 1, 9223372036854775808, 2147483647, (0, 1, 9223372036854775808))
t(0, 1, 9223372036854775808, 9223372036854775808, (0, 1, 9223372036854775808))
t(0, 6, None, 0, (0, 0, 1))
t(0, 6, None, 1, (0, 1, 1))
t(0, 6, None, 5, (0, 5, 1))
t(0, 6, None, 10, (0, 6, 1))
t(0, 6, None, 100, (0, 6, 1))
t(0, 6, None, 2147483647, (0, 6, 1))
t(0, 6, None, 9223372036854775808, (0, 6, 1))
t(0, 6, -5, 0, (-1, -1, -5))
t(0, 6, -5, 1, (0, 0, -5))
t(0, 6, -5, 5, (0, 4, -5))
t(0, 6, -5, 10, (0, 6, -5))
t(0, 6, -5, 100, (0, 6, -5))
t(0, 6, -5, 2147483647, (0, 6, -5))
t(0, 6, -5, 9223372036854775808, (0, 6, -5))
t(0, 6, -3, 0, (-1, -1, -3))
t(0, 6, -3, 1, (0, 0, -3))
t(0, 6, -3, 5, (0, 4, -3))
t(0, 6, -3, 10, (0, 6, -3))
t(0, 6, -3, 100, (0, 6, -3))
t(0, 6, -3, 2147483647, (0, 6, -3))
t(0, 6, -3, 9223372036854775808, (0, 6, -3))
t(0, 6, -1, 0, (-1, -1, -1))
t(0, 6, -1, 1, (0, 0, -1))
t(0, 6, -1, 5, (0, 4, -1))
t(0, 6, -1, 10, (0, 6, -1))
t(0, 6, -1, 100, (0, 6, -1))
t(0, 6, -1, 2147483647, (0, 6, -1))
t(0, 6, -1, 9223372036854775808, (0, 6, -1))
t(0, 6, 1, 0, (0, 0, 1))
t(0, 6, 1, 1, (0, 1, 1))
t(0, 6, 1, 5, (0, 5, 1))
t(0, 6, 1, 10, (0, 6, 1))
t(0, 6, 1, 100, (0, 6, 1))
t(0, 6, 1, 2147483647, (0, 6, 1))
t(0, 6, 1, 9223372036854775808, (0, 6, 1))
t(0, 6, 5, 0, (0, 0, 5))
t(0, 6, 5, 1, (0, 1, 5))
t(0, 6, 5, 5, (0, 5, 5))
t(0, 6, 5, 10, (0, 6, 5))
t(0, 6, 5, 100, (0, 6, 5))
t(0, 6, 5, 2147483647, (0, 6, 5))
t(0, 6, 5, 9223372036854775808, (0, 6, 5))
t(0, 6, 20, 0, (0, 0, 20))
t(0, 6, 20, 1, (0, 1, 20))
t(0, 6, 20, 5, (0, 5, 20))
t(0, 6, 20, 10, (0, 6, 20))
t(0, 6, 20, 100, (0, 6, 20))
t(0, 6, 20, 2147483647, (0, 6, 20))
t(0, 6, 20, 9223372036854775808, (0, 6, 20))
t(0, 6, 2147483647, 0, (0, 0, 2147483647))
t(0, 6, 2147483647, 1, (0, 1, 2147483647))
t(0, 6, 2147483647, 5, (0, 5, 2147483647))
t(0, 6, 2147483647, 10, (0, 6, 2147483647))
t(0, 6, 2147483647, 100, (0, 6, 2147483647))
t(0, 6, 2147483647, 2147483647, (0, 6, 2147483647))
t(0, 6, 2147483647, 9223372036854775808, (0, 6, 2147483647))
t(0, 6, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(0, 6, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(0, 6, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(0, 6, 9223372036854775808, 10, (0, 6, 9223372036854775808))
t(0, 6, 9223372036854775808, 100, (0, 6, 9223372036854775808))
t(0, 6, 9223372036854775808, 2147483647, (0, 6, 9223372036854775808))
t(0, 6, 9223372036854775808, 9223372036854775808, (0, 6, 9223372036854775808))
t(0, 10, None, 0, (0, 0, 1))
t(0, 10, None, 1, (0, 1, 1))
t(0, 10, None, 5, (0, 5, 1))
t(0, 10, None, 10, (0, 10, 1))
t(0, 10, None, 100, (0, 10, 1))
t(0, 10, None, 2147483647, (0, 10, 1))
t(0, 10, None, 9223372036854775808, (0, 10, 1))
t(0, 10, -5, 0, (-1, -1, -5))
t(0, 10, -5, 1, (0, 0, -5))
t(0, 10, -5, 5, (0, 4, -5))
t(0, 10, -5, 10, (0, 9, -5))
t(0, 10, -5, 100, (0, 10, -5))
t(0, 10, -5, 2147483647, (0, 10, -5))
t(0, 10, -5, 9223372036854775808, (0, 10, -5))
t(0, 10, -3, 0, (-1, -1, -3))
t(0, 10, -3, 1, (0, 0, -3))
t(0, 10, -3, 5, (0, 4, -3))
t(0, 10, -3, 10, (0, 9, -3))
t(0, 10, -3, 100, (0, 10, -3))
t(0, 10, -3, 2147483647, (0, 10, -3))
t(0, 10, -3, 9223372036854775808, (0, 10, -3))
t(0, 10, -1, 0, (-1, -1, -1))
t(0, 10, -1, 1, (0, 0, -1))
t(0, 10, -1, 5, (0, 4, -1))
t(0, 10, -1, 10, (0, 9, -1))
t(0, 10, -1, 100, (0, 10, -1))
t(0, 10, -1, 2147483647, (0, 10, -1))
t(0, 10, -1, 9223372036854775808, (0, 10, -1))
t(0, 10, 1, 0, (0, 0, 1))
t(0, 10, 1, 1, (0, 1, 1))
t(0, 10, 1, 5, (0, 5, 1))
t(0, 10, 1, 10, (0, 10, 1))
t(0, 10, 1, 100, (0, 10, 1))
t(0, 10, 1, 2147483647, (0, 10, 1))
t(0, 10, 1, 9223372036854775808, (0, 10, 1))
t(0, 10, 5, 0, (0, 0, 5))
t(0, 10, 5, 1, (0, 1, 5))
t(0, 10, 5, 5, (0, 5, 5))
t(0, 10, 5, 10, (0, 10, 5))
t(0, 10, 5, 100, (0, 10, 5))
t(0, 10, 5, 2147483647, (0, 10, 5))
t(0, 10, 5, 9223372036854775808, (0, 10, 5))
t(0, 10, 20, 0, (0, 0, 20))
t(0, 10, 20, 1, (0, 1, 20))
t(0, 10, 20, 5, (0, 5, 20))
t(0, 10, 20, 10, (0, 10, 20))
t(0, 10, 20, 100, (0, 10, 20))
t(0, 10, 20, 2147483647, (0, 10, 20))
t(0, 10, 20, 9223372036854775808, (0, 10, 20))
t(0, 10, 2147483647, 0, (0, 0, 2147483647))
t(0, 10, 2147483647, 1, (0, 1, 2147483647))
t(0, 10, 2147483647, 5, (0, 5, 2147483647))
t(0, 10, 2147483647, 10, (0, 10, 2147483647))
t(0, 10, 2147483647, 100, (0, 10, 2147483647))
t(0, 10, 2147483647, 2147483647, (0, 10, 2147483647))
t(0, 10, 2147483647, 9223372036854775808, (0, 10, 2147483647))
t(0, 10, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(0, 10, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(0, 10, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(0, 10, 9223372036854775808, 10, (0, 10, 9223372036854775808))
t(0, 10, 9223372036854775808, 100, (0, 10, 9223372036854775808))
t(0, 10, 9223372036854775808, 2147483647, (0, 10, 9223372036854775808))
t(0, 10, 9223372036854775808, 9223372036854775808, (0, 10, 9223372036854775808))
t(0, 2147483647, None, 0, (0, 0, 1))
t(0, 2147483647, None, 1, (0, 1, 1))
t(0, 2147483647, None, 5, (0, 5, 1))
t(0, 2147483647, None, 10, (0, 10, 1))
t(0, 2147483647, None, 100, (0, 100, 1))
t(0, 2147483647, None, 2147483647, (0, 2147483647, 1))
t(0, 2147483647, None, 9223372036854775808, (0, 2147483647, 1))
t(0, 2147483647, -5, 0, (-1, -1, -5))
t(0, 2147483647, -5, 1, (0, 0, -5))
t(0, 2147483647, -5, 5, (0, 4, -5))
t(0, 2147483647, -5, 10, (0, 9, -5))
t(0, 2147483647, -5, 100, (0, 99, -5))
t(0, 2147483647, -5, 2147483647, (0, 2147483646, -5))
t(0, 2147483647, -5, 9223372036854775808, (0, 2147483647, -5))
t(0, 2147483647, -3, 0, (-1, -1, -3))
t(0, 2147483647, -3, 1, (0, 0, -3))
t(0, 2147483647, -3, 5, (0, 4, -3))
t(0, 2147483647, -3, 10, (0, 9, -3))
t(0, 2147483647, -3, 100, (0, 99, -3))
t(0, 2147483647, -3, 2147483647, (0, 2147483646, -3))
t(0, 2147483647, -3, 9223372036854775808, (0, 2147483647, -3))
t(0, 2147483647, -1, 0, (-1, -1, -1))
t(0, 2147483647, -1, 1, (0, 0, -1))
t(0, 2147483647, -1, 5, (0, 4, -1))
t(0, 2147483647, -1, 10, (0, 9, -1))
t(0, 2147483647, -1, 100, (0, 99, -1))
t(0, 2147483647, -1, 2147483647, (0, 2147483646, -1))
t(0, 2147483647, -1, 9223372036854775808, (0, 2147483647, -1))
t(0, 2147483647, 1, 0, (0, 0, 1))
t(0, 2147483647, 1, 1, (0, 1, 1))
t(0, 2147483647, 1, 5, (0, 5, 1))
t(0, 2147483647, 1, 10, (0, 10, 1))
t(0, 2147483647, 1, 100, (0, 100, 1))
t(0, 2147483647, 1, 2147483647, (0, 2147483647, 1))
t(0, 2147483647, 1, 9223372036854775808, (0, 2147483647, 1))
t(0, 2147483647, 5, 0, (0, 0, 5))
t(0, 2147483647, 5, 1, (0, 1, 5))
t(0, 2147483647, 5, 5, (0, 5, 5))
t(0, 2147483647, 5, 10, (0, 10, 5))
t(0, 2147483647, 5, 100, (0, 100, 5))
t(0, 2147483647, 5, 2147483647, (0, 2147483647, 5))
t(0, 2147483647, 5, 9223372036854775808, (0, 2147483647, 5))
t(0, 2147483647, 20, 0, (0, 0, 20))
t(0, 2147483647, 20, 1, (0, 1, 20))
t(0, 2147483647, 20, 5, (0, 5, 20))
t(0, 2147483647, 20, 10, (0, 10, 20))
t(0, 2147483647, 20, 100, (0, 100, 20))
t(0, 2147483647, 20, 2147483647, (0, 2147483647, 20))
t(0, 2147483647, 20, 9223372036854775808, (0, 2147483647, 20))
t(0, 2147483647, 2147483647, 0, (0, 0, 2147483647))
t(0, 2147483647, 2147483647, 1, (0, 1, 2147483647))
t(0, 2147483647, 2147483647, 5, (0, 5, 2147483647))
t(0, 2147483647, 2147483647, 10, (0, 10, 2147483647))
t(0, 2147483647, 2147483647, 100, (0, 100, 2147483647))
t(0, 2147483647, 2147483647, 2147483647, (0, 2147483647, 2147483647))
t(0, 2147483647, 2147483647, 9223372036854775808, (0, 2147483647, 2147483647))
t(0, 2147483647, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(0, 2147483647, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(0, 2147483647, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(0, 2147483647, 9223372036854775808, 10, (0, 10, 9223372036854775808))
t(0, 2147483647, 9223372036854775808, 100, (0, 100, 9223372036854775808))
t(0, 2147483647, 9223372036854775808, 2147483647, (0, 2147483647, 9223372036854775808))
t(0, 2147483647, 9223372036854775808, 9223372036854775808, (0, 2147483647, 9223372036854775808))
t(0, 9223372036854775808, None, 0, (0, 0, 1))
t(0, 9223372036854775808, None, 1, (0, 1, 1))
t(0, 9223372036854775808, None, 5, (0, 5, 1))
t(0, 9223372036854775808, None, 10, (0, 10, 1))
t(0, 9223372036854775808, None, 100, (0, 100, 1))
t(0, 9223372036854775808, None, 2147483647, (0, 2147483647, 1))
t(0, 9223372036854775808, None, 9223372036854775808, (0, 9223372036854775808, 1))
t(0, 9223372036854775808, -5, 0, (-1, -1, -5))
t(0, 9223372036854775808, -5, 1, (0, 0, -5))
t(0, 9223372036854775808, -5, 5, (0, 4, -5))
t(0, 9223372036854775808, -5, 10, (0, 9, -5))
t(0, 9223372036854775808, -5, 100, (0, 99, -5))
t(0, 9223372036854775808, -5, 2147483647, (0, 2147483646, -5))
t(0, 9223372036854775808, -5, 9223372036854775808, (0, 9223372036854775807, -5))
t(0, 9223372036854775808, -3, 0, (-1, -1, -3))
t(0, 9223372036854775808, -3, 1, (0, 0, -3))
t(0, 9223372036854775808, -3, 5, (0, 4, -3))
t(0, 9223372036854775808, -3, 10, (0, 9, -3))
t(0, 9223372036854775808, -3, 100, (0, 99, -3))
t(0, 9223372036854775808, -3, 2147483647, (0, 2147483646, -3))
t(0, 9223372036854775808, -3, 9223372036854775808, (0, 9223372036854775807, -3))
t(0, 9223372036854775808, -1, 0, (-1, -1, -1))
t(0, 9223372036854775808, -1, 1, (0, 0, -1))
t(0, 9223372036854775808, -1, 5, (0, 4, -1))
t(0, 9223372036854775808, -1, 10, (0, 9, -1))
t(0, 9223372036854775808, -1, 100, (0, 99, -1))
t(0, 9223372036854775808, -1, 2147483647, (0, 2147483646, -1))
t(0, 9223372036854775808, -1, 9223372036854775808, (0, 9223372036854775807, -1))
t(0, 9223372036854775808, 1, 0, (0, 0, 1))
t(0, 9223372036854775808, 1, 1, (0, 1, 1))
t(0, 9223372036854775808, 1, 5, (0, 5, 1))
t(0, 9223372036854775808, 1, 10, (0, 10, 1))
t(0, 9223372036854775808, 1, 100, (0, 100, 1))
t(0, 9223372036854775808, 1, 2147483647, (0, 2147483647, 1))
t(0, 9223372036854775808, 1, 9223372036854775808, (0, 9223372036854775808, 1))
t(0, 9223372036854775808, 5, 0, (0, 0, 5))
t(0, 9223372036854775808, 5, 1, (0, 1, 5))
t(0, 9223372036854775808, 5, 5, (0, 5, 5))
t(0, 9223372036854775808, 5, 10, (0, 10, 5))
t(0, 9223372036854775808, 5, 100, (0, 100, 5))
t(0, 9223372036854775808, 5, 2147483647, (0, 2147483647, 5))
t(0, 9223372036854775808, 5, 9223372036854775808, (0, 9223372036854775808, 5))
t(0, 9223372036854775808, 20, 0, (0, 0, 20))
t(0, 9223372036854775808, 20, 1, (0, 1, 20))
t(0, 9223372036854775808, 20, 5, (0, 5, 20))
t(0, 9223372036854775808, 20, 10, (0, 10, 20))
t(0, 9223372036854775808, 20, 100, (0, 100, 20))
t(0, 9223372036854775808, 20, 2147483647, (0, 2147483647, 20))
t(0, 9223372036854775808, 20, 9223372036854775808, (0, 9223372036854775808, 20))
t(0, 9223372036854775808, 2147483647, 0, (0, 0, 2147483647))
t(0, 9223372036854775808, 2147483647, 1, (0, 1, 2147483647))
t(0, 9223372036854775808, 2147483647, 5, (0, 5, 2147483647))
t(0, 9223372036854775808, 2147483647, 10, (0, 10, 2147483647))
t(0, 9223372036854775808, 2147483647, 100, (0, 100, 2147483647))
t(0, 9223372036854775808, 2147483647, 2147483647, (0, 2147483647, 2147483647))
t(0, 9223372036854775808, 2147483647, 9223372036854775808, (0, 9223372036854775808, 2147483647))
t(0, 9223372036854775808, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(0, 9223372036854775808, 9223372036854775808, 1, (0, 1, 9223372036854775808))
t(0, 9223372036854775808, 9223372036854775808, 5, (0, 5, 9223372036854775808))
t(0, 9223372036854775808, 9223372036854775808, 10, (0, 10, 9223372036854775808))
t(0, 9223372036854775808, 9223372036854775808, 100, (0, 100, 9223372036854775808))
t(0, 9223372036854775808, 9223372036854775808, 2147483647, (0, 2147483647, 9223372036854775808))
t(0, 9223372036854775808, 9223372036854775808, 9223372036854775808, (0, 9223372036854775808, 9223372036854775808))
t(1, None, None, 0, (0, 0, 1))
t(1, None, None, 1, (1, 1, 1))
t(1, None, None, 5, (1, 5, 1))
t(1, None, None, 10, (1, 10, 1))
t(1, None, None, 100, (1, 100, 1))
t(1, None, None, 2147483647, (1, 2147483647, 1))
t(1, None, None, 9223372036854775808, (1, 9223372036854775808, 1))
t(1, None, -5, 0, (-1, -1, -5))
t(1, None, -5, 1, (0, -1, -5))
t(1, None, -5, 5, (1, -1, -5))
t(1, None, -5, 10, (1, -1, -5))
t(1, None, -5, 100, (1, -1, -5))
t(1, None, -5, 2147483647, (1, -1, -5))
t(1, None, -5, 9223372036854775808, (1, -1, -5))
t(1, None, -3, 0, (-1, -1, -3))
t(1, None, -3, 1, (0, -1, -3))
t(1, None, -3, 5, (1, -1, -3))
t(1, None, -3, 10, (1, -1, -3))
t(1, None, -3, 100, (1, -1, -3))
t(1, None, -3, 2147483647, (1, -1, -3))
t(1, None, -3, 9223372036854775808, (1, -1, -3))
t(1, None, -1, 0, (-1, -1, -1))
t(1, None, -1, 1, (0, -1, -1))
t(1, None, -1, 5, (1, -1, -1))
t(1, None, -1, 10, (1, -1, -1))
t(1, None, -1, 100, (1, -1, -1))
t(1, None, -1, 2147483647, (1, -1, -1))
t(1, None, -1, 9223372036854775808, (1, -1, -1))
t(1, None, 1, 0, (0, 0, 1))
t(1, None, 1, 1, (1, 1, 1))
t(1, None, 1, 5, (1, 5, 1))
t(1, None, 1, 10, (1, 10, 1))
t(1, None, 1, 100, (1, 100, 1))
t(1, None, 1, 2147483647, (1, 2147483647, 1))
t(1, None, 1, 9223372036854775808, (1, 9223372036854775808, 1))
t(1, None, 5, 0, (0, 0, 5))
t(1, None, 5, 1, (1, 1, 5))
t(1, None, 5, 5, (1, 5, 5))
t(1, None, 5, 10, (1, 10, 5))
t(1, None, 5, 100, (1, 100, 5))
t(1, None, 5, 2147483647, (1, 2147483647, 5))
t(1, None, 5, 9223372036854775808, (1, 9223372036854775808, 5))
t(1, None, 20, 0, (0, 0, 20))
t(1, None, 20, 1, (1, 1, 20))
t(1, None, 20, 5, (1, 5, 20))
t(1, None, 20, 10, (1, 10, 20))
t(1, None, 20, 100, (1, 100, 20))
t(1, None, 20, 2147483647, (1, 2147483647, 20))
t(1, None, 20, 9223372036854775808, (1, 9223372036854775808, 20))
t(1, None, 2147483647, 0, (0, 0, 2147483647))
t(1, None, 2147483647, 1, (1, 1, 2147483647))
t(1, None, 2147483647, 5, (1, 5, 2147483647))
t(1, None, 2147483647, 10, (1, 10, 2147483647))
t(1, None, 2147483647, 100, (1, 100, 2147483647))
t(1, None, 2147483647, 2147483647, (1, 2147483647, 2147483647))
t(1, None, 2147483647, 9223372036854775808, (1, 9223372036854775808, 2147483647))
t(1, None, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(1, None, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(1, None, 9223372036854775808, 5, (1, 5, 9223372036854775808))
t(1, None, 9223372036854775808, 10, (1, 10, 9223372036854775808))
t(1, None, 9223372036854775808, 100, (1, 100, 9223372036854775808))
t(1, None, 9223372036854775808, 2147483647, (1, 2147483647, 9223372036854775808))
t(1, None, 9223372036854775808, 9223372036854775808, (1, 9223372036854775808, 9223372036854775808))
t(1, -7, None, 0, (0, 0, 1))
t(1, -7, None, 1, (1, 0, 1))
t(1, -7, None, 5, (1, 0, 1))
t(1, -7, None, 10, (1, 3, 1))
t(1, -7, None, 100, (1, 93, 1))
t(1, -7, None, 2147483647, (1, 2147483640, 1))
t(1, -7, None, 9223372036854775808, (1, 9223372036854775801, 1))
t(1, -7, -5, 0, (-1, -1, -5))
t(1, -7, -5, 1, (0, -1, -5))
t(1, -7, -5, 5, (1, -1, -5))
t(1, -7, -5, 10, (1, 3, -5))
t(1, -7, -5, 100, (1, 93, -5))
t(1, -7, -5, 2147483647, (1, 2147483640, -5))
t(1, -7, -5, 9223372036854775808, (1, 9223372036854775801, -5))
t(1, -7, -3, 0, (-1, -1, -3))
t(1, -7, -3, 1, (0, -1, -3))
t(1, -7, -3, 5, (1, -1, -3))
t(1, -7, -3, 10, (1, 3, -3))
t(1, -7, -3, 100, (1, 93, -3))
t(1, -7, -3, 2147483647, (1, 2147483640, -3))
t(1, -7, -3, 9223372036854775808, (1, 9223372036854775801, -3))
t(1, -7, -1, 0, (-1, -1, -1))
t(1, -7, -1, 1, (0, -1, -1))
t(1, -7, -1, 5, (1, -1, -1))
t(1, -7, -1, 10, (1, 3, -1))
t(1, -7, -1, 100, (1, 93, -1))
t(1, -7, -1, 2147483647, (1, 2147483640, -1))
t(1, -7, -1, 9223372036854775808, (1, 9223372036854775801, -1))
t(1, -7, 1, 0, (0, 0, 1))
t(1, -7, 1, 1, (1, 0, 1))
t(1, -7, 1, 5, (1, 0, 1))
t(1, -7, 1, 10, (1, 3, 1))
t(1, -7, 1, 100, (1, 93, 1))
t(1, -7, 1, 2147483647, (1, 2147483640, 1))
t(1, -7, 1, 9223372036854775808, (1, 9223372036854775801, 1))
t(1, -7, 5, 0, (0, 0, 5))
t(1, -7, 5, 1, (1, 0, 5))
t(1, -7, 5, 5, (1, 0, 5))
t(1, -7, 5, 10, (1, 3, 5))
t(1, -7, 5, 100, (1, 93, 5))
t(1, -7, 5, 2147483647, (1, 2147483640, 5))
t(1, -7, 5, 9223372036854775808, (1, 9223372036854775801, 5))
t(1, -7, 20, 0, (0, 0, 20))
t(1, -7, 20, 1, (1, 0, 20))
t(1, -7, 20, 5, (1, 0, 20))
t(1, -7, 20, 10, (1, 3, 20))
t(1, -7, 20, 100, (1, 93, 20))
t(1, -7, 20, 2147483647, (1, 2147483640, 20))
t(1, -7, 20, 9223372036854775808, (1, 9223372036854775801, 20))
t(1, -7, 2147483647, 0, (0, 0, 2147483647))
t(1, -7, 2147483647, 1, (1, 0, 2147483647))
t(1, -7, 2147483647, 5, (1, 0, 2147483647))
t(1, -7, 2147483647, 10, (1, 3, 2147483647))
t(1, -7, 2147483647, 100, (1, 93, 2147483647))
t(1, -7, 2147483647, 2147483647, (1, 2147483640, 2147483647))
t(1, -7, 2147483647, 9223372036854775808, (1, 9223372036854775801, 2147483647))
t(1, -7, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(1, -7, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(1, -7, 9223372036854775808, 5, (1, 0, 9223372036854775808))
t(1, -7, 9223372036854775808, 10, (1, 3, 9223372036854775808))
t(1, -7, 9223372036854775808, 100, (1, 93, 9223372036854775808))
t(1, -7, 9223372036854775808, 2147483647, (1, 2147483640, 9223372036854775808))
t(1, -7, 9223372036854775808, 9223372036854775808, (1, 9223372036854775801, 9223372036854775808))
t(1, -2, None, 0, (0, 0, 1))
t(1, -2, None, 1, (1, 0, 1))
t(1, -2, None, 5, (1, 3, 1))
t(1, -2, None, 10, (1, 8, 1))
t(1, -2, None, 100, (1, 98, 1))
t(1, -2, None, 2147483647, (1, 2147483645, 1))
t(1, -2, None, 9223372036854775808, (1, 9223372036854775806, 1))
t(1, -2, -5, 0, (-1, -1, -5))
t(1, -2, -5, 1, (0, -1, -5))
t(1, -2, -5, 5, (1, 3, -5))
t(1, -2, -5, 10, (1, 8, -5))
t(1, -2, -5, 100, (1, 98, -5))
t(1, -2, -5, 2147483647, (1, 2147483645, -5))
t(1, -2, -5, 9223372036854775808, (1, 9223372036854775806, -5))
t(1, -2, -3, 0, (-1, -1, -3))
t(1, -2, -3, 1, (0, -1, -3))
t(1, -2, -3, 5, (1, 3, -3))
t(1, -2, -3, 10, (1, 8, -3))
t(1, -2, -3, 100, (1, 98, -3))
t(1, -2, -3, 2147483647, (1, 2147483645, -3))
t(1, -2, -3, 9223372036854775808, (1, 9223372036854775806, -3))
t(1, -2, -1, 0, (-1, -1, -1))
t(1, -2, -1, 1, (0, -1, -1))
t(1, -2, -1, 5, (1, 3, -1))
t(1, -2, -1, 10, (1, 8, -1))
t(1, -2, -1, 100, (1, 98, -1))
t(1, -2, -1, 2147483647, (1, 2147483645, -1))
t(1, -2, -1, 9223372036854775808, (1, 9223372036854775806, -1))
t(1, -2, 1, 0, (0, 0, 1))
t(1, -2, 1, 1, (1, 0, 1))
t(1, -2, 1, 5, (1, 3, 1))
t(1, -2, 1, 10, (1, 8, 1))
t(1, -2, 1, 100, (1, 98, 1))
t(1, -2, 1, 2147483647, (1, 2147483645, 1))
t(1, -2, 1, 9223372036854775808, (1, 9223372036854775806, 1))
t(1, -2, 5, 0, (0, 0, 5))
t(1, -2, 5, 1, (1, 0, 5))
t(1, -2, 5, 5, (1, 3, 5))
t(1, -2, 5, 10, (1, 8, 5))
t(1, -2, 5, 100, (1, 98, 5))
t(1, -2, 5, 2147483647, (1, 2147483645, 5))
t(1, -2, 5, 9223372036854775808, (1, 9223372036854775806, 5))
t(1, -2, 20, 0, (0, 0, 20))
t(1, -2, 20, 1, (1, 0, 20))
t(1, -2, 20, 5, (1, 3, 20))
t(1, -2, 20, 10, (1, 8, 20))
t(1, -2, 20, 100, (1, 98, 20))
t(1, -2, 20, 2147483647, (1, 2147483645, 20))
t(1, -2, 20, 9223372036854775808, (1, 9223372036854775806, 20))
t(1, -2, 2147483647, 0, (0, 0, 2147483647))
t(1, -2, 2147483647, 1, (1, 0, 2147483647))
t(1, -2, 2147483647, 5, (1, 3, 2147483647))
t(1, -2, 2147483647, 10, (1, 8, 2147483647))
t(1, -2, 2147483647, 100, (1, 98, 2147483647))
t(1, -2, 2147483647, 2147483647, (1, 2147483645, 2147483647))
t(1, -2, 2147483647, 9223372036854775808, (1, 9223372036854775806, 2147483647))
t(1, -2, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(1, -2, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(1, -2, 9223372036854775808, 5, (1, 3, 9223372036854775808))
t(1, -2, 9223372036854775808, 10, (1, 8, 9223372036854775808))
t(1, -2, 9223372036854775808, 100, (1, 98, 9223372036854775808))
t(1, -2, 9223372036854775808, 2147483647, (1, 2147483645, 9223372036854775808))
t(1, -2, 9223372036854775808, 9223372036854775808, (1, 9223372036854775806, 9223372036854775808))
t(1, 0, None, 0, (0, 0, 1))
t(1, 0, None, 1, (1, 0, 1))
t(1, 0, None, 5, (1, 0, 1))
t(1, 0, None, 10, (1, 0, 1))
t(1, 0, None, 100, (1, 0, 1))
t(1, 0, None, 2147483647, (1, 0, 1))
t(1, 0, None, 9223372036854775808, (1, 0, 1))
t(1, 0, -5, 0, (-1, -1, -5))
t(1, 0, -5, 1, (0, 0, -5))
t(1, 0, -5, 5, (1, 0, -5))
t(1, 0, -5, 10, (1, 0, -5))
t(1, 0, -5, 100, (1, 0, -5))
t(1, 0, -5, 2147483647, (1, 0, -5))
t(1, 0, -5, 9223372036854775808, (1, 0, -5))
t(1, 0, -3, 0, (-1, -1, -3))
t(1, 0, -3, 1, (0, 0, -3))
t(1, 0, -3, 5, (1, 0, -3))
t(1, 0, -3, 10, (1, 0, -3))
t(1, 0, -3, 100, (1, 0, -3))
t(1, 0, -3, 2147483647, (1, 0, -3))
t(1, 0, -3, 9223372036854775808, (1, 0, -3))
t(1, 0, -1, 0, (-1, -1, -1))
t(1, 0, -1, 1, (0, 0, -1))
t(1, 0, -1, 5, (1, 0, -1))
t(1, 0, -1, 10, (1, 0, -1))
t(1, 0, -1, 100, (1, 0, -1))
t(1, 0, -1, 2147483647, (1, 0, -1))
t(1, 0, -1, 9223372036854775808, (1, 0, -1))
t(1, 0, 1, 0, (0, 0, 1))
t(1, 0, 1, 1, (1, 0, 1))
t(1, 0, 1, 5, (1, 0, 1))
t(1, 0, 1, 10, (1, 0, 1))
t(1, 0, 1, 100, (1, 0, 1))
t(1, 0, 1, 2147483647, (1, 0, 1))
t(1, 0, 1, 9223372036854775808, (1, 0, 1))
t(1, 0, 5, 0, (0, 0, 5))
t(1, 0, 5, 1, (1, 0, 5))
t(1, 0, 5, 5, (1, 0, 5))
t(1, 0, 5, 10, (1, 0, 5))
t(1, 0, 5, 100, (1, 0, 5))
t(1, 0, 5, 2147483647, (1, 0, 5))
t(1, 0, 5, 9223372036854775808, (1, 0, 5))
t(1, 0, 20, 0, (0, 0, 20))
t(1, 0, 20, 1, (1, 0, 20))
t(1, 0, 20, 5, (1, 0, 20))
t(1, 0, 20, 10, (1, 0, 20))
t(1, 0, 20, 100, (1, 0, 20))
t(1, 0, 20, 2147483647, (1, 0, 20))
t(1, 0, 20, 9223372036854775808, (1, 0, 20))
t(1, 0, 2147483647, 0, (0, 0, 2147483647))
t(1, 0, 2147483647, 1, (1, 0, 2147483647))
t(1, 0, 2147483647, 5, (1, 0, 2147483647))
t(1, 0, 2147483647, 10, (1, 0, 2147483647))
t(1, 0, 2147483647, 100, (1, 0, 2147483647))
t(1, 0, 2147483647, 2147483647, (1, 0, 2147483647))
t(1, 0, 2147483647, 9223372036854775808, (1, 0, 2147483647))
t(1, 0, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(1, 0, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(1, 0, 9223372036854775808, 5, (1, 0, 9223372036854775808))
t(1, 0, 9223372036854775808, 10, (1, 0, 9223372036854775808))
t(1, 0, 9223372036854775808, 100, (1, 0, 9223372036854775808))
t(1, 0, 9223372036854775808, 2147483647, (1, 0, 9223372036854775808))
t(1, 0, 9223372036854775808, 9223372036854775808, (1, 0, 9223372036854775808))
t(1, 1, None, 0, (0, 0, 1))
t(1, 1, None, 1, (1, 1, 1))
t(1, 1, None, 5, (1, 1, 1))
t(1, 1, None, 10, (1, 1, 1))
t(1, 1, None, 100, (1, 1, 1))
t(1, 1, None, 2147483647, (1, 1, 1))
t(1, 1, None, 9223372036854775808, (1, 1, 1))
t(1, 1, -5, 0, (-1, -1, -5))
t(1, 1, -5, 1, (0, 0, -5))
t(1, 1, -5, 5, (1, 1, -5))
t(1, 1, -5, 10, (1, 1, -5))
t(1, 1, -5, 100, (1, 1, -5))
t(1, 1, -5, 2147483647, (1, 1, -5))
t(1, 1, -5, 9223372036854775808, (1, 1, -5))
t(1, 1, -3, 0, (-1, -1, -3))
t(1, 1, -3, 1, (0, 0, -3))
t(1, 1, -3, 5, (1, 1, -3))
t(1, 1, -3, 10, (1, 1, -3))
t(1, 1, -3, 100, (1, 1, -3))
t(1, 1, -3, 2147483647, (1, 1, -3))
t(1, 1, -3, 9223372036854775808, (1, 1, -3))
t(1, 1, -1, 0, (-1, -1, -1))
t(1, 1, -1, 1, (0, 0, -1))
t(1, 1, -1, 5, (1, 1, -1))
t(1, 1, -1, 10, (1, 1, -1))
t(1, 1, -1, 100, (1, 1, -1))
t(1, 1, -1, 2147483647, (1, 1, -1))
t(1, 1, -1, 9223372036854775808, (1, 1, -1))
t(1, 1, 1, 0, (0, 0, 1))
t(1, 1, 1, 1, (1, 1, 1))
t(1, 1, 1, 5, (1, 1, 1))
t(1, 1, 1, 10, (1, 1, 1))
t(1, 1, 1, 100, (1, 1, 1))
t(1, 1, 1, 2147483647, (1, 1, 1))
t(1, 1, 1, 9223372036854775808, (1, 1, 1))
t(1, 1, 5, 0, (0, 0, 5))
t(1, 1, 5, 1, (1, 1, 5))
t(1, 1, 5, 5, (1, 1, 5))
t(1, 1, 5, 10, (1, 1, 5))
t(1, 1, 5, 100, (1, 1, 5))
t(1, 1, 5, 2147483647, (1, 1, 5))
t(1, 1, 5, 9223372036854775808, (1, 1, 5))
t(1, 1, 20, 0, (0, 0, 20))
t(1, 1, 20, 1, (1, 1, 20))
t(1, 1, 20, 5, (1, 1, 20))
t(1, 1, 20, 10, (1, 1, 20))
t(1, 1, 20, 100, (1, 1, 20))
t(1, 1, 20, 2147483647, (1, 1, 20))
t(1, 1, 20, 9223372036854775808, (1, 1, 20))
t(1, 1, 2147483647, 0, (0, 0, 2147483647))
t(1, 1, 2147483647, 1, (1, 1, 2147483647))
t(1, 1, 2147483647, 5, (1, 1, 2147483647))
t(1, 1, 2147483647, 10, (1, 1, 2147483647))
t(1, 1, 2147483647, 100, (1, 1, 2147483647))
t(1, 1, 2147483647, 2147483647, (1, 1, 2147483647))
t(1, 1, 2147483647, 9223372036854775808, (1, 1, 2147483647))
t(1, 1, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(1, 1, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(1, 1, 9223372036854775808, 5, (1, 1, 9223372036854775808))
t(1, 1, 9223372036854775808, 10, (1, 1, 9223372036854775808))
t(1, 1, 9223372036854775808, 100, (1, 1, 9223372036854775808))
t(1, 1, 9223372036854775808, 2147483647, (1, 1, 9223372036854775808))
t(1, 1, 9223372036854775808, 9223372036854775808, (1, 1, 9223372036854775808))
t(1, 6, None, 0, (0, 0, 1))
t(1, 6, None, 1, (1, 1, 1))
t(1, 6, None, 5, (1, 5, 1))
t(1, 6, None, 10, (1, 6, 1))
t(1, 6, None, 100, (1, 6, 1))
t(1, 6, None, 2147483647, (1, 6, 1))
t(1, 6, None, 9223372036854775808, (1, 6, 1))
t(1, 6, -5, 0, (-1, -1, -5))
t(1, 6, -5, 1, (0, 0, -5))
t(1, 6, -5, 5, (1, 4, -5))
t(1, 6, -5, 10, (1, 6, -5))
t(1, 6, -5, 100, (1, 6, -5))
t(1, 6, -5, 2147483647, (1, 6, -5))
t(1, 6, -5, 9223372036854775808, (1, 6, -5))
t(1, 6, -3, 0, (-1, -1, -3))
t(1, 6, -3, 1, (0, 0, -3))
t(1, 6, -3, 5, (1, 4, -3))
t(1, 6, -3, 10, (1, 6, -3))
t(1, 6, -3, 100, (1, 6, -3))
t(1, 6, -3, 2147483647, (1, 6, -3))
t(1, 6, -3, 9223372036854775808, (1, 6, -3))
t(1, 6, -1, 0, (-1, -1, -1))
t(1, 6, -1, 1, (0, 0, -1))
t(1, 6, -1, 5, (1, 4, -1))
t(1, 6, -1, 10, (1, 6, -1))
t(1, 6, -1, 100, (1, 6, -1))
t(1, 6, -1, 2147483647, (1, 6, -1))
t(1, 6, -1, 9223372036854775808, (1, 6, -1))
t(1, 6, 1, 0, (0, 0, 1))
t(1, 6, 1, 1, (1, 1, 1))
t(1, 6, 1, 5, (1, 5, 1))
t(1, 6, 1, 10, (1, 6, 1))
t(1, 6, 1, 100, (1, 6, 1))
t(1, 6, 1, 2147483647, (1, 6, 1))
t(1, 6, 1, 9223372036854775808, (1, 6, 1))
t(1, 6, 5, 0, (0, 0, 5))
t(1, 6, 5, 1, (1, 1, 5))
t(1, 6, 5, 5, (1, 5, 5))
t(1, 6, 5, 10, (1, 6, 5))
t(1, 6, 5, 100, (1, 6, 5))
t(1, 6, 5, 2147483647, (1, 6, 5))
t(1, 6, 5, 9223372036854775808, (1, 6, 5))
t(1, 6, 20, 0, (0, 0, 20))
t(1, 6, 20, 1, (1, 1, 20))
t(1, 6, 20, 5, (1, 5, 20))
t(1, 6, 20, 10, (1, 6, 20))
t(1, 6, 20, 100, (1, 6, 20))
t(1, 6, 20, 2147483647, (1, 6, 20))
t(1, 6, 20, 9223372036854775808, (1, 6, 20))
t(1, 6, 2147483647, 0, (0, 0, 2147483647))
t(1, 6, 2147483647, 1, (1, 1, 2147483647))
t(1, 6, 2147483647, 5, (1, 5, 2147483647))
t(1, 6, 2147483647, 10, (1, 6, 2147483647))
t(1, 6, 2147483647, 100, (1, 6, 2147483647))
t(1, 6, 2147483647, 2147483647, (1, 6, 2147483647))
t(1, 6, 2147483647, 9223372036854775808, (1, 6, 2147483647))
t(1, 6, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(1, 6, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(1, 6, 9223372036854775808, 5, (1, 5, 9223372036854775808))
t(1, 6, 9223372036854775808, 10, (1, 6, 9223372036854775808))
t(1, 6, 9223372036854775808, 100, (1, 6, 9223372036854775808))
t(1, 6, 9223372036854775808, 2147483647, (1, 6, 9223372036854775808))
t(1, 6, 9223372036854775808, 9223372036854775808, (1, 6, 9223372036854775808))
t(1, 10, None, 0, (0, 0, 1))
t(1, 10, None, 1, (1, 1, 1))
t(1, 10, None, 5, (1, 5, 1))
t(1, 10, None, 10, (1, 10, 1))
t(1, 10, None, 100, (1, 10, 1))
t(1, 10, None, 2147483647, (1, 10, 1))
t(1, 10, None, 9223372036854775808, (1, 10, 1))
t(1, 10, -5, 0, (-1, -1, -5))
t(1, 10, -5, 1, (0, 0, -5))
t(1, 10, -5, 5, (1, 4, -5))
t(1, 10, -5, 10, (1, 9, -5))
t(1, 10, -5, 100, (1, 10, -5))
t(1, 10, -5, 2147483647, (1, 10, -5))
t(1, 10, -5, 9223372036854775808, (1, 10, -5))
t(1, 10, -3, 0, (-1, -1, -3))
t(1, 10, -3, 1, (0, 0, -3))
t(1, 10, -3, 5, (1, 4, -3))
t(1, 10, -3, 10, (1, 9, -3))
t(1, 10, -3, 100, (1, 10, -3))
t(1, 10, -3, 2147483647, (1, 10, -3))
t(1, 10, -3, 9223372036854775808, (1, 10, -3))
t(1, 10, -1, 0, (-1, -1, -1))
t(1, 10, -1, 1, (0, 0, -1))
t(1, 10, -1, 5, (1, 4, -1))
t(1, 10, -1, 10, (1, 9, -1))
t(1, 10, -1, 100, (1, 10, -1))
t(1, 10, -1, 2147483647, (1, 10, -1))
t(1, 10, -1, 9223372036854775808, (1, 10, -1))
t(1, 10, 1, 0, (0, 0, 1))
t(1, 10, 1, 1, (1, 1, 1))
t(1, 10, 1, 5, (1, 5, 1))
t(1, 10, 1, 10, (1, 10, 1))
t(1, 10, 1, 100, (1, 10, 1))
t(1, 10, 1, 2147483647, (1, 10, 1))
t(1, 10, 1, 9223372036854775808, (1, 10, 1))
t(1, 10, 5, 0, (0, 0, 5))
t(1, 10, 5, 1, (1, 1, 5))
t(1, 10, 5, 5, (1, 5, 5))
t(1, 10, 5, 10, (1, 10, 5))
t(1, 10, 5, 100, (1, 10, 5))
t(1, 10, 5, 2147483647, (1, 10, 5))
t(1, 10, 5, 9223372036854775808, (1, 10, 5))
t(1, 10, 20, 0, (0, 0, 20))
t(1, 10, 20, 1, (1, 1, 20))
t(1, 10, 20, 5, (1, 5, 20))
t(1, 10, 20, 10, (1, 10, 20))
t(1, 10, 20, 100, (1, 10, 20))
t(1, 10, 20, 2147483647, (1, 10, 20))
t(1, 10, 20, 9223372036854775808, (1, 10, 20))
t(1, 10, 2147483647, 0, (0, 0, 2147483647))
t(1, 10, 2147483647, 1, (1, 1, 2147483647))
t(1, 10, 2147483647, 5, (1, 5, 2147483647))
t(1, 10, 2147483647, 10, (1, 10, 2147483647))
t(1, 10, 2147483647, 100, (1, 10, 2147483647))
t(1, 10, 2147483647, 2147483647, (1, 10, 2147483647))
t(1, 10, 2147483647, 9223372036854775808, (1, 10, 2147483647))
t(1, 10, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(1, 10, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(1, 10, 9223372036854775808, 5, (1, 5, 9223372036854775808))
t(1, 10, 9223372036854775808, 10, (1, 10, 9223372036854775808))
t(1, 10, 9223372036854775808, 100, (1, 10, 9223372036854775808))
t(1, 10, 9223372036854775808, 2147483647, (1, 10, 9223372036854775808))
t(1, 10, 9223372036854775808, 9223372036854775808, (1, 10, 9223372036854775808))
t(1, 2147483647, None, 0, (0, 0, 1))
t(1, 2147483647, None, 1, (1, 1, 1))
t(1, 2147483647, None, 5, (1, 5, 1))
t(1, 2147483647, None, 10, (1, 10, 1))
t(1, 2147483647, None, 100, (1, 100, 1))
t(1, 2147483647, None, 2147483647, (1, 2147483647, 1))
t(1, 2147483647, None, 9223372036854775808, (1, 2147483647, 1))
t(1, 2147483647, -5, 0, (-1, -1, -5))
t(1, 2147483647, -5, 1, (0, 0, -5))
t(1, 2147483647, -5, 5, (1, 4, -5))
t(1, 2147483647, -5, 10, (1, 9, -5))
t(1, 2147483647, -5, 100, (1, 99, -5))
t(1, 2147483647, -5, 2147483647, (1, 2147483646, -5))
t(1, 2147483647, -5, 9223372036854775808, (1, 2147483647, -5))
t(1, 2147483647, -3, 0, (-1, -1, -3))
t(1, 2147483647, -3, 1, (0, 0, -3))
t(1, 2147483647, -3, 5, (1, 4, -3))
t(1, 2147483647, -3, 10, (1, 9, -3))
t(1, 2147483647, -3, 100, (1, 99, -3))
t(1, 2147483647, -3, 2147483647, (1, 2147483646, -3))
t(1, 2147483647, -3, 9223372036854775808, (1, 2147483647, -3))
t(1, 2147483647, -1, 0, (-1, -1, -1))
t(1, 2147483647, -1, 1, (0, 0, -1))
t(1, 2147483647, -1, 5, (1, 4, -1))
t(1, 2147483647, -1, 10, (1, 9, -1))
t(1, 2147483647, -1, 100, (1, 99, -1))
t(1, 2147483647, -1, 2147483647, (1, 2147483646, -1))
t(1, 2147483647, -1, 9223372036854775808, (1, 2147483647, -1))
t(1, 2147483647, 1, 0, (0, 0, 1))
t(1, 2147483647, 1, 1, (1, 1, 1))
t(1, 2147483647, 1, 5, (1, 5, 1))
t(1, 2147483647, 1, 10, (1, 10, 1))
t(1, 2147483647, 1, 100, (1, 100, 1))
t(1, 2147483647, 1, 2147483647, (1, 2147483647, 1))
t(1, 2147483647, 1, 9223372036854775808, (1, 2147483647, 1))
t(1, 2147483647, 5, 0, (0, 0, 5))
t(1, 2147483647, 5, 1, (1, 1, 5))
t(1, 2147483647, 5, 5, (1, 5, 5))
t(1, 2147483647, 5, 10, (1, 10, 5))
t(1, 2147483647, 5, 100, (1, 100, 5))
t(1, 2147483647, 5, 2147483647, (1, 2147483647, 5))
t(1, 2147483647, 5, 9223372036854775808, (1, 2147483647, 5))
t(1, 2147483647, 20, 0, (0, 0, 20))
t(1, 2147483647, 20, 1, (1, 1, 20))
t(1, 2147483647, 20, 5, (1, 5, 20))
t(1, 2147483647, 20, 10, (1, 10, 20))
t(1, 2147483647, 20, 100, (1, 100, 20))
t(1, 2147483647, 20, 2147483647, (1, 2147483647, 20))
t(1, 2147483647, 20, 9223372036854775808, (1, 2147483647, 20))
t(1, 2147483647, 2147483647, 0, (0, 0, 2147483647))
t(1, 2147483647, 2147483647, 1, (1, 1, 2147483647))
t(1, 2147483647, 2147483647, 5, (1, 5, 2147483647))
t(1, 2147483647, 2147483647, 10, (1, 10, 2147483647))
t(1, 2147483647, 2147483647, 100, (1, 100, 2147483647))
t(1, 2147483647, 2147483647, 2147483647, (1, 2147483647, 2147483647))
t(1, 2147483647, 2147483647, 9223372036854775808, (1, 2147483647, 2147483647))
t(1, 2147483647, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(1, 2147483647, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(1, 2147483647, 9223372036854775808, 5, (1, 5, 9223372036854775808))
t(1, 2147483647, 9223372036854775808, 10, (1, 10, 9223372036854775808))
t(1, 2147483647, 9223372036854775808, 100, (1, 100, 9223372036854775808))
t(1, 2147483647, 9223372036854775808, 2147483647, (1, 2147483647, 9223372036854775808))
t(1, 2147483647, 9223372036854775808, 9223372036854775808, (1, 2147483647, 9223372036854775808))
t(1, 9223372036854775808, None, 0, (0, 0, 1))
t(1, 9223372036854775808, None, 1, (1, 1, 1))
t(1, 9223372036854775808, None, 5, (1, 5, 1))
t(1, 9223372036854775808, None, 10, (1, 10, 1))
t(1, 9223372036854775808, None, 100, (1, 100, 1))
t(1, 9223372036854775808, None, 2147483647, (1, 2147483647, 1))
t(1, 9223372036854775808, None, 9223372036854775808, (1, 9223372036854775808, 1))
t(1, 9223372036854775808, -5, 0, (-1, -1, -5))
t(1, 9223372036854775808, -5, 1, (0, 0, -5))
t(1, 9223372036854775808, -5, 5, (1, 4, -5))
t(1, 9223372036854775808, -5, 10, (1, 9, -5))
t(1, 9223372036854775808, -5, 100, (1, 99, -5))
t(1, 9223372036854775808, -5, 2147483647, (1, 2147483646, -5))
t(1, 9223372036854775808, -5, 9223372036854775808, (1, 9223372036854775807, -5))
t(1, 9223372036854775808, -3, 0, (-1, -1, -3))
t(1, 9223372036854775808, -3, 1, (0, 0, -3))
t(1, 9223372036854775808, -3, 5, (1, 4, -3))
t(1, 9223372036854775808, -3, 10, (1, 9, -3))
t(1, 9223372036854775808, -3, 100, (1, 99, -3))
t(1, 9223372036854775808, -3, 2147483647, (1, 2147483646, -3))
t(1, 9223372036854775808, -3, 9223372036854775808, (1, 9223372036854775807, -3))
t(1, 9223372036854775808, -1, 0, (-1, -1, -1))
t(1, 9223372036854775808, -1, 1, (0, 0, -1))
t(1, 9223372036854775808, -1, 5, (1, 4, -1))
t(1, 9223372036854775808, -1, 10, (1, 9, -1))
t(1, 9223372036854775808, -1, 100, (1, 99, -1))
t(1, 9223372036854775808, -1, 2147483647, (1, 2147483646, -1))
t(1, 9223372036854775808, -1, 9223372036854775808, (1, 9223372036854775807, -1))
t(1, 9223372036854775808, 1, 0, (0, 0, 1))
t(1, 9223372036854775808, 1, 1, (1, 1, 1))
t(1, 9223372036854775808, 1, 5, (1, 5, 1))
t(1, 9223372036854775808, 1, 10, (1, 10, 1))
t(1, 9223372036854775808, 1, 100, (1, 100, 1))
t(1, 9223372036854775808, 1, 2147483647, (1, 2147483647, 1))
t(1, 9223372036854775808, 1, 9223372036854775808, (1, 9223372036854775808, 1))
t(1, 9223372036854775808, 5, 0, (0, 0, 5))
t(1, 9223372036854775808, 5, 1, (1, 1, 5))
t(1, 9223372036854775808, 5, 5, (1, 5, 5))
t(1, 9223372036854775808, 5, 10, (1, 10, 5))
t(1, 9223372036854775808, 5, 100, (1, 100, 5))
t(1, 9223372036854775808, 5, 2147483647, (1, 2147483647, 5))
t(1, 9223372036854775808, 5, 9223372036854775808, (1, 9223372036854775808, 5))
t(1, 9223372036854775808, 20, 0, (0, 0, 20))
t(1, 9223372036854775808, 20, 1, (1, 1, 20))
t(1, 9223372036854775808, 20, 5, (1, 5, 20))
t(1, 9223372036854775808, 20, 10, (1, 10, 20))
t(1, 9223372036854775808, 20, 100, (1, 100, 20))
t(1, 9223372036854775808, 20, 2147483647, (1, 2147483647, 20))
t(1, 9223372036854775808, 20, 9223372036854775808, (1, 9223372036854775808, 20))
t(1, 9223372036854775808, 2147483647, 0, (0, 0, 2147483647))
t(1, 9223372036854775808, 2147483647, 1, (1, 1, 2147483647))
t(1, 9223372036854775808, 2147483647, 5, (1, 5, 2147483647))
t(1, 9223372036854775808, 2147483647, 10, (1, 10, 2147483647))
t(1, 9223372036854775808, 2147483647, 100, (1, 100, 2147483647))
t(1, 9223372036854775808, 2147483647, 2147483647, (1, 2147483647, 2147483647))
t(1, 9223372036854775808, 2147483647, 9223372036854775808, (1, 9223372036854775808, 2147483647))
t(1, 9223372036854775808, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(1, 9223372036854775808, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(1, 9223372036854775808, 9223372036854775808, 5, (1, 5, 9223372036854775808))
t(1, 9223372036854775808, 9223372036854775808, 10, (1, 10, 9223372036854775808))
t(1, 9223372036854775808, 9223372036854775808, 100, (1, 100, 9223372036854775808))
t(1, 9223372036854775808, 9223372036854775808, 2147483647, (1, 2147483647, 9223372036854775808))
t(1, 9223372036854775808, 9223372036854775808, 9223372036854775808, (1, 9223372036854775808, 9223372036854775808))
t(6, None, None, 0, (0, 0, 1))
t(6, None, None, 1, (1, 1, 1))
t(6, None, None, 5, (5, 5, 1))
t(6, None, None, 10, (6, 10, 1))
t(6, None, None, 100, (6, 100, 1))
t(6, None, None, 2147483647, (6, 2147483647, 1))
t(6, None, None, 9223372036854775808, (6, 9223372036854775808, 1))
t(6, None, -5, 0, (-1, -1, -5))
t(6, None, -5, 1, (0, -1, -5))
t(6, None, -5, 5, (4, -1, -5))
t(6, None, -5, 10, (6, -1, -5))
t(6, None, -5, 100, (6, -1, -5))
t(6, None, -5, 2147483647, (6, -1, -5))
t(6, None, -5, 9223372036854775808, (6, -1, -5))
t(6, None, -3, 0, (-1, -1, -3))
t(6, None, -3, 1, (0, -1, -3))
t(6, None, -3, 5, (4, -1, -3))
t(6, None, -3, 10, (6, -1, -3))
t(6, None, -3, 100, (6, -1, -3))
t(6, None, -3, 2147483647, (6, -1, -3))
t(6, None, -3, 9223372036854775808, (6, -1, -3))
t(6, None, -1, 0, (-1, -1, -1))
t(6, None, -1, 1, (0, -1, -1))
t(6, None, -1, 5, (4, -1, -1))
t(6, None, -1, 10, (6, -1, -1))
t(6, None, -1, 100, (6, -1, -1))
t(6, None, -1, 2147483647, (6, -1, -1))
t(6, None, -1, 9223372036854775808, (6, -1, -1))
t(6, None, 1, 0, (0, 0, 1))
t(6, None, 1, 1, (1, 1, 1))
t(6, None, 1, 5, (5, 5, 1))
t(6, None, 1, 10, (6, 10, 1))
t(6, None, 1, 100, (6, 100, 1))
t(6, None, 1, 2147483647, (6, 2147483647, 1))
t(6, None, 1, 9223372036854775808, (6, 9223372036854775808, 1))
t(6, None, 5, 0, (0, 0, 5))
t(6, None, 5, 1, (1, 1, 5))
t(6, None, 5, 5, (5, 5, 5))
t(6, None, 5, 10, (6, 10, 5))
t(6, None, 5, 100, (6, 100, 5))
t(6, None, 5, 2147483647, (6, 2147483647, 5))
t(6, None, 5, 9223372036854775808, (6, 9223372036854775808, 5))
t(6, None, 20, 0, (0, 0, 20))
t(6, None, 20, 1, (1, 1, 20))
t(6, None, 20, 5, (5, 5, 20))
t(6, None, 20, 10, (6, 10, 20))
t(6, None, 20, 100, (6, 100, 20))
t(6, None, 20, 2147483647, (6, 2147483647, 20))
t(6, None, 20, 9223372036854775808, (6, 9223372036854775808, 20))
t(6, None, 2147483647, 0, (0, 0, 2147483647))
t(6, None, 2147483647, 1, (1, 1, 2147483647))
t(6, None, 2147483647, 5, (5, 5, 2147483647))
t(6, None, 2147483647, 10, (6, 10, 2147483647))
t(6, None, 2147483647, 100, (6, 100, 2147483647))
t(6, None, 2147483647, 2147483647, (6, 2147483647, 2147483647))
t(6, None, 2147483647, 9223372036854775808, (6, 9223372036854775808, 2147483647))
t(6, None, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(6, None, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(6, None, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(6, None, 9223372036854775808, 10, (6, 10, 9223372036854775808))
t(6, None, 9223372036854775808, 100, (6, 100, 9223372036854775808))
t(6, None, 9223372036854775808, 2147483647, (6, 2147483647, 9223372036854775808))
t(6, None, 9223372036854775808, 9223372036854775808, (6, 9223372036854775808, 9223372036854775808))
t(6, -7, None, 0, (0, 0, 1))
t(6, -7, None, 1, (1, 0, 1))
t(6, -7, None, 5, (5, 0, 1))
t(6, -7, None, 10, (6, 3, 1))
t(6, -7, None, 100, (6, 93, 1))
t(6, -7, None, 2147483647, (6, 2147483640, 1))
t(6, -7, None, 9223372036854775808, (6, 9223372036854775801, 1))
t(6, -7, -5, 0, (-1, -1, -5))
t(6, -7, -5, 1, (0, -1, -5))
t(6, -7, -5, 5, (4, -1, -5))
t(6, -7, -5, 10, (6, 3, -5))
t(6, -7, -5, 100, (6, 93, -5))
t(6, -7, -5, 2147483647, (6, 2147483640, -5))
t(6, -7, -5, 9223372036854775808, (6, 9223372036854775801, -5))
t(6, -7, -3, 0, (-1, -1, -3))
t(6, -7, -3, 1, (0, -1, -3))
t(6, -7, -3, 5, (4, -1, -3))
t(6, -7, -3, 10, (6, 3, -3))
t(6, -7, -3, 100, (6, 93, -3))
t(6, -7, -3, 2147483647, (6, 2147483640, -3))
t(6, -7, -3, 9223372036854775808, (6, 9223372036854775801, -3))
t(6, -7, -1, 0, (-1, -1, -1))
t(6, -7, -1, 1, (0, -1, -1))
t(6, -7, -1, 5, (4, -1, -1))
t(6, -7, -1, 10, (6, 3, -1))
t(6, -7, -1, 100, (6, 93, -1))
t(6, -7, -1, 2147483647, (6, 2147483640, -1))
t(6, -7, -1, 9223372036854775808, (6, 9223372036854775801, -1))
t(6, -7, 1, 0, (0, 0, 1))
t(6, -7, 1, 1, (1, 0, 1))
t(6, -7, 1, 5, (5, 0, 1))
t(6, -7, 1, 10, (6, 3, 1))
t(6, -7, 1, 100, (6, 93, 1))
t(6, -7, 1, 2147483647, (6, 2147483640, 1))
t(6, -7, 1, 9223372036854775808, (6, 9223372036854775801, 1))
t(6, -7, 5, 0, (0, 0, 5))
t(6, -7, 5, 1, (1, 0, 5))
t(6, -7, 5, 5, (5, 0, 5))
t(6, -7, 5, 10, (6, 3, 5))
t(6, -7, 5, 100, (6, 93, 5))
t(6, -7, 5, 2147483647, (6, 2147483640, 5))
t(6, -7, 5, 9223372036854775808, (6, 9223372036854775801, 5))
t(6, -7, 20, 0, (0, 0, 20))
t(6, -7, 20, 1, (1, 0, 20))
t(6, -7, 20, 5, (5, 0, 20))
t(6, -7, 20, 10, (6, 3, 20))
t(6, -7, 20, 100, (6, 93, 20))
t(6, -7, 20, 2147483647, (6, 2147483640, 20))
t(6, -7, 20, 9223372036854775808, (6, 9223372036854775801, 20))
t(6, -7, 2147483647, 0, (0, 0, 2147483647))
t(6, -7, 2147483647, 1, (1, 0, 2147483647))
t(6, -7, 2147483647, 5, (5, 0, 2147483647))
t(6, -7, 2147483647, 10, (6, 3, 2147483647))
t(6, -7, 2147483647, 100, (6, 93, 2147483647))
t(6, -7, 2147483647, 2147483647, (6, 2147483640, 2147483647))
t(6, -7, 2147483647, 9223372036854775808, (6, 9223372036854775801, 2147483647))
t(6, -7, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(6, -7, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(6, -7, 9223372036854775808, 5, (5, 0, 9223372036854775808))
t(6, -7, 9223372036854775808, 10, (6, 3, 9223372036854775808))
t(6, -7, 9223372036854775808, 100, (6, 93, 9223372036854775808))
t(6, -7, 9223372036854775808, 2147483647, (6, 2147483640, 9223372036854775808))
t(6, -7, 9223372036854775808, 9223372036854775808, (6, 9223372036854775801, 9223372036854775808))
t(6, -2, None, 0, (0, 0, 1))
t(6, -2, None, 1, (1, 0, 1))
t(6, -2, None, 5, (5, 3, 1))
t(6, -2, None, 10, (6, 8, 1))
t(6, -2, None, 100, (6, 98, 1))
t(6, -2, None, 2147483647, (6, 2147483645, 1))
t(6, -2, None, 9223372036854775808, (6, 9223372036854775806, 1))
t(6, -2, -5, 0, (-1, -1, -5))
t(6, -2, -5, 1, (0, -1, -5))
t(6, -2, -5, 5, (4, 3, -5))
t(6, -2, -5, 10, (6, 8, -5))
t(6, -2, -5, 100, (6, 98, -5))
t(6, -2, -5, 2147483647, (6, 2147483645, -5))
t(6, -2, -5, 9223372036854775808, (6, 9223372036854775806, -5))
t(6, -2, -3, 0, (-1, -1, -3))
t(6, -2, -3, 1, (0, -1, -3))
t(6, -2, -3, 5, (4, 3, -3))
t(6, -2, -3, 10, (6, 8, -3))
t(6, -2, -3, 100, (6, 98, -3))
t(6, -2, -3, 2147483647, (6, 2147483645, -3))
t(6, -2, -3, 9223372036854775808, (6, 9223372036854775806, -3))
t(6, -2, -1, 0, (-1, -1, -1))
t(6, -2, -1, 1, (0, -1, -1))
t(6, -2, -1, 5, (4, 3, -1))
t(6, -2, -1, 10, (6, 8, -1))
t(6, -2, -1, 100, (6, 98, -1))
t(6, -2, -1, 2147483647, (6, 2147483645, -1))
t(6, -2, -1, 9223372036854775808, (6, 9223372036854775806, -1))
t(6, -2, 1, 0, (0, 0, 1))
t(6, -2, 1, 1, (1, 0, 1))
t(6, -2, 1, 5, (5, 3, 1))
t(6, -2, 1, 10, (6, 8, 1))
t(6, -2, 1, 100, (6, 98, 1))
t(6, -2, 1, 2147483647, (6, 2147483645, 1))
t(6, -2, 1, 9223372036854775808, (6, 9223372036854775806, 1))
t(6, -2, 5, 0, (0, 0, 5))
t(6, -2, 5, 1, (1, 0, 5))
t(6, -2, 5, 5, (5, 3, 5))
t(6, -2, 5, 10, (6, 8, 5))
t(6, -2, 5, 100, (6, 98, 5))
t(6, -2, 5, 2147483647, (6, 2147483645, 5))
t(6, -2, 5, 9223372036854775808, (6, 9223372036854775806, 5))
t(6, -2, 20, 0, (0, 0, 20))
t(6, -2, 20, 1, (1, 0, 20))
t(6, -2, 20, 5, (5, 3, 20))
t(6, -2, 20, 10, (6, 8, 20))
t(6, -2, 20, 100, (6, 98, 20))
t(6, -2, 20, 2147483647, (6, 2147483645, 20))
t(6, -2, 20, 9223372036854775808, (6, 9223372036854775806, 20))
t(6, -2, 2147483647, 0, (0, 0, 2147483647))
t(6, -2, 2147483647, 1, (1, 0, 2147483647))
t(6, -2, 2147483647, 5, (5, 3, 2147483647))
t(6, -2, 2147483647, 10, (6, 8, 2147483647))
t(6, -2, 2147483647, 100, (6, 98, 2147483647))
t(6, -2, 2147483647, 2147483647, (6, 2147483645, 2147483647))
t(6, -2, 2147483647, 9223372036854775808, (6, 9223372036854775806, 2147483647))
t(6, -2, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(6, -2, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(6, -2, 9223372036854775808, 5, (5, 3, 9223372036854775808))
t(6, -2, 9223372036854775808, 10, (6, 8, 9223372036854775808))
t(6, -2, 9223372036854775808, 100, (6, 98, 9223372036854775808))
t(6, -2, 9223372036854775808, 2147483647, (6, 2147483645, 9223372036854775808))
t(6, -2, 9223372036854775808, 9223372036854775808, (6, 9223372036854775806, 9223372036854775808))
t(6, 0, None, 0, (0, 0, 1))
t(6, 0, None, 1, (1, 0, 1))
t(6, 0, None, 5, (5, 0, 1))
t(6, 0, None, 10, (6, 0, 1))
t(6, 0, None, 100, (6, 0, 1))
t(6, 0, None, 2147483647, (6, 0, 1))
t(6, 0, None, 9223372036854775808, (6, 0, 1))
t(6, 0, -5, 0, (-1, -1, -5))
t(6, 0, -5, 1, (0, 0, -5))
t(6, 0, -5, 5, (4, 0, -5))
t(6, 0, -5, 10, (6, 0, -5))
t(6, 0, -5, 100, (6, 0, -5))
t(6, 0, -5, 2147483647, (6, 0, -5))
t(6, 0, -5, 9223372036854775808, (6, 0, -5))
t(6, 0, -3, 0, (-1, -1, -3))
t(6, 0, -3, 1, (0, 0, -3))
t(6, 0, -3, 5, (4, 0, -3))
t(6, 0, -3, 10, (6, 0, -3))
t(6, 0, -3, 100, (6, 0, -3))
t(6, 0, -3, 2147483647, (6, 0, -3))
t(6, 0, -3, 9223372036854775808, (6, 0, -3))
t(6, 0, -1, 0, (-1, -1, -1))
t(6, 0, -1, 1, (0, 0, -1))
t(6, 0, -1, 5, (4, 0, -1))
t(6, 0, -1, 10, (6, 0, -1))
t(6, 0, -1, 100, (6, 0, -1))
t(6, 0, -1, 2147483647, (6, 0, -1))
t(6, 0, -1, 9223372036854775808, (6, 0, -1))
t(6, 0, 1, 0, (0, 0, 1))
t(6, 0, 1, 1, (1, 0, 1))
t(6, 0, 1, 5, (5, 0, 1))
t(6, 0, 1, 10, (6, 0, 1))
t(6, 0, 1, 100, (6, 0, 1))
t(6, 0, 1, 2147483647, (6, 0, 1))
t(6, 0, 1, 9223372036854775808, (6, 0, 1))
t(6, 0, 5, 0, (0, 0, 5))
t(6, 0, 5, 1, (1, 0, 5))
t(6, 0, 5, 5, (5, 0, 5))
t(6, 0, 5, 10, (6, 0, 5))
t(6, 0, 5, 100, (6, 0, 5))
t(6, 0, 5, 2147483647, (6, 0, 5))
t(6, 0, 5, 9223372036854775808, (6, 0, 5))
t(6, 0, 20, 0, (0, 0, 20))
t(6, 0, 20, 1, (1, 0, 20))
t(6, 0, 20, 5, (5, 0, 20))
t(6, 0, 20, 10, (6, 0, 20))
t(6, 0, 20, 100, (6, 0, 20))
t(6, 0, 20, 2147483647, (6, 0, 20))
t(6, 0, 20, 9223372036854775808, (6, 0, 20))
t(6, 0, 2147483647, 0, (0, 0, 2147483647))
t(6, 0, 2147483647, 1, (1, 0, 2147483647))
t(6, 0, 2147483647, 5, (5, 0, 2147483647))
t(6, 0, 2147483647, 10, (6, 0, 2147483647))
t(6, 0, 2147483647, 100, (6, 0, 2147483647))
t(6, 0, 2147483647, 2147483647, (6, 0, 2147483647))
t(6, 0, 2147483647, 9223372036854775808, (6, 0, 2147483647))
t(6, 0, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(6, 0, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(6, 0, 9223372036854775808, 5, (5, 0, 9223372036854775808))
t(6, 0, 9223372036854775808, 10, (6, 0, 9223372036854775808))
t(6, 0, 9223372036854775808, 100, (6, 0, 9223372036854775808))
t(6, 0, 9223372036854775808, 2147483647, (6, 0, 9223372036854775808))
t(6, 0, 9223372036854775808, 9223372036854775808, (6, 0, 9223372036854775808))
t(6, 1, None, 0, (0, 0, 1))
t(6, 1, None, 1, (1, 1, 1))
t(6, 1, None, 5, (5, 1, 1))
t(6, 1, None, 10, (6, 1, 1))
t(6, 1, None, 100, (6, 1, 1))
t(6, 1, None, 2147483647, (6, 1, 1))
t(6, 1, None, 9223372036854775808, (6, 1, 1))
t(6, 1, -5, 0, (-1, -1, -5))
t(6, 1, -5, 1, (0, 0, -5))
t(6, 1, -5, 5, (4, 1, -5))
t(6, 1, -5, 10, (6, 1, -5))
t(6, 1, -5, 100, (6, 1, -5))
t(6, 1, -5, 2147483647, (6, 1, -5))
t(6, 1, -5, 9223372036854775808, (6, 1, -5))
t(6, 1, -3, 0, (-1, -1, -3))
t(6, 1, -3, 1, (0, 0, -3))
t(6, 1, -3, 5, (4, 1, -3))
t(6, 1, -3, 10, (6, 1, -3))
t(6, 1, -3, 100, (6, 1, -3))
t(6, 1, -3, 2147483647, (6, 1, -3))
t(6, 1, -3, 9223372036854775808, (6, 1, -3))
t(6, 1, -1, 0, (-1, -1, -1))
t(6, 1, -1, 1, (0, 0, -1))
t(6, 1, -1, 5, (4, 1, -1))
t(6, 1, -1, 10, (6, 1, -1))
t(6, 1, -1, 100, (6, 1, -1))
t(6, 1, -1, 2147483647, (6, 1, -1))
t(6, 1, -1, 9223372036854775808, (6, 1, -1))
t(6, 1, 1, 0, (0, 0, 1))
t(6, 1, 1, 1, (1, 1, 1))
t(6, 1, 1, 5, (5, 1, 1))
t(6, 1, 1, 10, (6, 1, 1))
t(6, 1, 1, 100, (6, 1, 1))
t(6, 1, 1, 2147483647, (6, 1, 1))
t(6, 1, 1, 9223372036854775808, (6, 1, 1))
t(6, 1, 5, 0, (0, 0, 5))
t(6, 1, 5, 1, (1, 1, 5))
t(6, 1, 5, 5, (5, 1, 5))
t(6, 1, 5, 10, (6, 1, 5))
t(6, 1, 5, 100, (6, 1, 5))
t(6, 1, 5, 2147483647, (6, 1, 5))
t(6, 1, 5, 9223372036854775808, (6, 1, 5))
t(6, 1, 20, 0, (0, 0, 20))
t(6, 1, 20, 1, (1, 1, 20))
t(6, 1, 20, 5, (5, 1, 20))
t(6, 1, 20, 10, (6, 1, 20))
t(6, 1, 20, 100, (6, 1, 20))
t(6, 1, 20, 2147483647, (6, 1, 20))
t(6, 1, 20, 9223372036854775808, (6, 1, 20))
t(6, 1, 2147483647, 0, (0, 0, 2147483647))
t(6, 1, 2147483647, 1, (1, 1, 2147483647))
t(6, 1, 2147483647, 5, (5, 1, 2147483647))
t(6, 1, 2147483647, 10, (6, 1, 2147483647))
t(6, 1, 2147483647, 100, (6, 1, 2147483647))
t(6, 1, 2147483647, 2147483647, (6, 1, 2147483647))
t(6, 1, 2147483647, 9223372036854775808, (6, 1, 2147483647))
t(6, 1, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(6, 1, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(6, 1, 9223372036854775808, 5, (5, 1, 9223372036854775808))
t(6, 1, 9223372036854775808, 10, (6, 1, 9223372036854775808))
t(6, 1, 9223372036854775808, 100, (6, 1, 9223372036854775808))
t(6, 1, 9223372036854775808, 2147483647, (6, 1, 9223372036854775808))
t(6, 1, 9223372036854775808, 9223372036854775808, (6, 1, 9223372036854775808))
t(6, 6, None, 0, (0, 0, 1))
t(6, 6, None, 1, (1, 1, 1))
t(6, 6, None, 5, (5, 5, 1))
t(6, 6, None, 10, (6, 6, 1))
t(6, 6, None, 100, (6, 6, 1))
t(6, 6, None, 2147483647, (6, 6, 1))
t(6, 6, None, 9223372036854775808, (6, 6, 1))
t(6, 6, -5, 0, (-1, -1, -5))
t(6, 6, -5, 1, (0, 0, -5))
t(6, 6, -5, 5, (4, 4, -5))
t(6, 6, -5, 10, (6, 6, -5))
t(6, 6, -5, 100, (6, 6, -5))
t(6, 6, -5, 2147483647, (6, 6, -5))
t(6, 6, -5, 9223372036854775808, (6, 6, -5))
t(6, 6, -3, 0, (-1, -1, -3))
t(6, 6, -3, 1, (0, 0, -3))
t(6, 6, -3, 5, (4, 4, -3))
t(6, 6, -3, 10, (6, 6, -3))
t(6, 6, -3, 100, (6, 6, -3))
t(6, 6, -3, 2147483647, (6, 6, -3))
t(6, 6, -3, 9223372036854775808, (6, 6, -3))
t(6, 6, -1, 0, (-1, -1, -1))
t(6, 6, -1, 1, (0, 0, -1))
t(6, 6, -1, 5, (4, 4, -1))
t(6, 6, -1, 10, (6, 6, -1))
t(6, 6, -1, 100, (6, 6, -1))
t(6, 6, -1, 2147483647, (6, 6, -1))
t(6, 6, -1, 9223372036854775808, (6, 6, -1))
t(6, 6, 1, 0, (0, 0, 1))
t(6, 6, 1, 1, (1, 1, 1))
t(6, 6, 1, 5, (5, 5, 1))
t(6, 6, 1, 10, (6, 6, 1))
t(6, 6, 1, 100, (6, 6, 1))
t(6, 6, 1, 2147483647, (6, 6, 1))
t(6, 6, 1, 9223372036854775808, (6, 6, 1))
t(6, 6, 5, 0, (0, 0, 5))
t(6, 6, 5, 1, (1, 1, 5))
t(6, 6, 5, 5, (5, 5, 5))
t(6, 6, 5, 10, (6, 6, 5))
t(6, 6, 5, 100, (6, 6, 5))
t(6, 6, 5, 2147483647, (6, 6, 5))
t(6, 6, 5, 9223372036854775808, (6, 6, 5))
t(6, 6, 20, 0, (0, 0, 20))
t(6, 6, 20, 1, (1, 1, 20))
t(6, 6, 20, 5, (5, 5, 20))
t(6, 6, 20, 10, (6, 6, 20))
t(6, 6, 20, 100, (6, 6, 20))
t(6, 6, 20, 2147483647, (6, 6, 20))
t(6, 6, 20, 9223372036854775808, (6, 6, 20))
t(6, 6, 2147483647, 0, (0, 0, 2147483647))
t(6, 6, 2147483647, 1, (1, 1, 2147483647))
t(6, 6, 2147483647, 5, (5, 5, 2147483647))
t(6, 6, 2147483647, 10, (6, 6, 2147483647))
t(6, 6, 2147483647, 100, (6, 6, 2147483647))
t(6, 6, 2147483647, 2147483647, (6, 6, 2147483647))
t(6, 6, 2147483647, 9223372036854775808, (6, 6, 2147483647))
t(6, 6, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(6, 6, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(6, 6, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(6, 6, 9223372036854775808, 10, (6, 6, 9223372036854775808))
t(6, 6, 9223372036854775808, 100, (6, 6, 9223372036854775808))
t(6, 6, 9223372036854775808, 2147483647, (6, 6, 9223372036854775808))
t(6, 6, 9223372036854775808, 9223372036854775808, (6, 6, 9223372036854775808))
t(6, 10, None, 0, (0, 0, 1))
t(6, 10, None, 1, (1, 1, 1))
t(6, 10, None, 5, (5, 5, 1))
t(6, 10, None, 10, (6, 10, 1))
t(6, 10, None, 100, (6, 10, 1))
t(6, 10, None, 2147483647, (6, 10, 1))
t(6, 10, None, 9223372036854775808, (6, 10, 1))
t(6, 10, -5, 0, (-1, -1, -5))
t(6, 10, -5, 1, (0, 0, -5))
t(6, 10, -5, 5, (4, 4, -5))
t(6, 10, -5, 10, (6, 9, -5))
t(6, 10, -5, 100, (6, 10, -5))
t(6, 10, -5, 2147483647, (6, 10, -5))
t(6, 10, -5, 9223372036854775808, (6, 10, -5))
t(6, 10, -3, 0, (-1, -1, -3))
t(6, 10, -3, 1, (0, 0, -3))
t(6, 10, -3, 5, (4, 4, -3))
t(6, 10, -3, 10, (6, 9, -3))
t(6, 10, -3, 100, (6, 10, -3))
t(6, 10, -3, 2147483647, (6, 10, -3))
t(6, 10, -3, 9223372036854775808, (6, 10, -3))
t(6, 10, -1, 0, (-1, -1, -1))
t(6, 10, -1, 1, (0, 0, -1))
t(6, 10, -1, 5, (4, 4, -1))
t(6, 10, -1, 10, (6, 9, -1))
t(6, 10, -1, 100, (6, 10, -1))
t(6, 10, -1, 2147483647, (6, 10, -1))
t(6, 10, -1, 9223372036854775808, (6, 10, -1))
t(6, 10, 1, 0, (0, 0, 1))
t(6, 10, 1, 1, (1, 1, 1))
t(6, 10, 1, 5, (5, 5, 1))
t(6, 10, 1, 10, (6, 10, 1))
t(6, 10, 1, 100, (6, 10, 1))
t(6, 10, 1, 2147483647, (6, 10, 1))
t(6, 10, 1, 9223372036854775808, (6, 10, 1))
t(6, 10, 5, 0, (0, 0, 5))
t(6, 10, 5, 1, (1, 1, 5))
t(6, 10, 5, 5, (5, 5, 5))
t(6, 10, 5, 10, (6, 10, 5))
t(6, 10, 5, 100, (6, 10, 5))
t(6, 10, 5, 2147483647, (6, 10, 5))
t(6, 10, 5, 9223372036854775808, (6, 10, 5))
t(6, 10, 20, 0, (0, 0, 20))
t(6, 10, 20, 1, (1, 1, 20))
t(6, 10, 20, 5, (5, 5, 20))
t(6, 10, 20, 10, (6, 10, 20))
t(6, 10, 20, 100, (6, 10, 20))
t(6, 10, 20, 2147483647, (6, 10, 20))
t(6, 10, 20, 9223372036854775808, (6, 10, 20))
t(6, 10, 2147483647, 0, (0, 0, 2147483647))
t(6, 10, 2147483647, 1, (1, 1, 2147483647))
t(6, 10, 2147483647, 5, (5, 5, 2147483647))
t(6, 10, 2147483647, 10, (6, 10, 2147483647))
t(6, 10, 2147483647, 100, (6, 10, 2147483647))
t(6, 10, 2147483647, 2147483647, (6, 10, 2147483647))
t(6, 10, 2147483647, 9223372036854775808, (6, 10, 2147483647))
t(6, 10, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(6, 10, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(6, 10, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(6, 10, 9223372036854775808, 10, (6, 10, 9223372036854775808))
t(6, 10, 9223372036854775808, 100, (6, 10, 9223372036854775808))
t(6, 10, 9223372036854775808, 2147483647, (6, 10, 9223372036854775808))
t(6, 10, 9223372036854775808, 9223372036854775808, (6, 10, 9223372036854775808))
t(6, 2147483647, None, 0, (0, 0, 1))
t(6, 2147483647, None, 1, (1, 1, 1))
t(6, 2147483647, None, 5, (5, 5, 1))
t(6, 2147483647, None, 10, (6, 10, 1))
t(6, 2147483647, None, 100, (6, 100, 1))
t(6, 2147483647, None, 2147483647, (6, 2147483647, 1))
t(6, 2147483647, None, 9223372036854775808, (6, 2147483647, 1))
t(6, 2147483647, -5, 0, (-1, -1, -5))
t(6, 2147483647, -5, 1, (0, 0, -5))
t(6, 2147483647, -5, 5, (4, 4, -5))
t(6, 2147483647, -5, 10, (6, 9, -5))
t(6, 2147483647, -5, 100, (6, 99, -5))
t(6, 2147483647, -5, 2147483647, (6, 2147483646, -5))
t(6, 2147483647, -5, 9223372036854775808, (6, 2147483647, -5))
t(6, 2147483647, -3, 0, (-1, -1, -3))
t(6, 2147483647, -3, 1, (0, 0, -3))
t(6, 2147483647, -3, 5, (4, 4, -3))
t(6, 2147483647, -3, 10, (6, 9, -3))
t(6, 2147483647, -3, 100, (6, 99, -3))
t(6, 2147483647, -3, 2147483647, (6, 2147483646, -3))
t(6, 2147483647, -3, 9223372036854775808, (6, 2147483647, -3))
t(6, 2147483647, -1, 0, (-1, -1, -1))
t(6, 2147483647, -1, 1, (0, 0, -1))
t(6, 2147483647, -1, 5, (4, 4, -1))
t(6, 2147483647, -1, 10, (6, 9, -1))
t(6, 2147483647, -1, 100, (6, 99, -1))
t(6, 2147483647, -1, 2147483647, (6, 2147483646, -1))
t(6, 2147483647, -1, 9223372036854775808, (6, 2147483647, -1))
t(6, 2147483647, 1, 0, (0, 0, 1))
t(6, 2147483647, 1, 1, (1, 1, 1))
t(6, 2147483647, 1, 5, (5, 5, 1))
t(6, 2147483647, 1, 10, (6, 10, 1))
t(6, 2147483647, 1, 100, (6, 100, 1))
t(6, 2147483647, 1, 2147483647, (6, 2147483647, 1))
t(6, 2147483647, 1, 9223372036854775808, (6, 2147483647, 1))
t(6, 2147483647, 5, 0, (0, 0, 5))
t(6, 2147483647, 5, 1, (1, 1, 5))
t(6, 2147483647, 5, 5, (5, 5, 5))
t(6, 2147483647, 5, 10, (6, 10, 5))
t(6, 2147483647, 5, 100, (6, 100, 5))
t(6, 2147483647, 5, 2147483647, (6, 2147483647, 5))
t(6, 2147483647, 5, 9223372036854775808, (6, 2147483647, 5))
t(6, 2147483647, 20, 0, (0, 0, 20))
t(6, 2147483647, 20, 1, (1, 1, 20))
t(6, 2147483647, 20, 5, (5, 5, 20))
t(6, 2147483647, 20, 10, (6, 10, 20))
t(6, 2147483647, 20, 100, (6, 100, 20))
t(6, 2147483647, 20, 2147483647, (6, 2147483647, 20))
t(6, 2147483647, 20, 9223372036854775808, (6, 2147483647, 20))
t(6, 2147483647, 2147483647, 0, (0, 0, 2147483647))
t(6, 2147483647, 2147483647, 1, (1, 1, 2147483647))
t(6, 2147483647, 2147483647, 5, (5, 5, 2147483647))
t(6, 2147483647, 2147483647, 10, (6, 10, 2147483647))
t(6, 2147483647, 2147483647, 100, (6, 100, 2147483647))
t(6, 2147483647, 2147483647, 2147483647, (6, 2147483647, 2147483647))
t(6, 2147483647, 2147483647, 9223372036854775808, (6, 2147483647, 2147483647))
t(6, 2147483647, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(6, 2147483647, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(6, 2147483647, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(6, 2147483647, 9223372036854775808, 10, (6, 10, 9223372036854775808))
t(6, 2147483647, 9223372036854775808, 100, (6, 100, 9223372036854775808))
t(6, 2147483647, 9223372036854775808, 2147483647, (6, 2147483647, 9223372036854775808))
t(6, 2147483647, 9223372036854775808, 9223372036854775808, (6, 2147483647, 9223372036854775808))
t(6, 9223372036854775808, None, 0, (0, 0, 1))
t(6, 9223372036854775808, None, 1, (1, 1, 1))
t(6, 9223372036854775808, None, 5, (5, 5, 1))
t(6, 9223372036854775808, None, 10, (6, 10, 1))
t(6, 9223372036854775808, None, 100, (6, 100, 1))
t(6, 9223372036854775808, None, 2147483647, (6, 2147483647, 1))
t(6, 9223372036854775808, None, 9223372036854775808, (6, 9223372036854775808, 1))
t(6, 9223372036854775808, -5, 0, (-1, -1, -5))
t(6, 9223372036854775808, -5, 1, (0, 0, -5))
t(6, 9223372036854775808, -5, 5, (4, 4, -5))
t(6, 9223372036854775808, -5, 10, (6, 9, -5))
t(6, 9223372036854775808, -5, 100, (6, 99, -5))
t(6, 9223372036854775808, -5, 2147483647, (6, 2147483646, -5))
t(6, 9223372036854775808, -5, 9223372036854775808, (6, 9223372036854775807, -5))
t(6, 9223372036854775808, -3, 0, (-1, -1, -3))
t(6, 9223372036854775808, -3, 1, (0, 0, -3))
t(6, 9223372036854775808, -3, 5, (4, 4, -3))
t(6, 9223372036854775808, -3, 10, (6, 9, -3))
t(6, 9223372036854775808, -3, 100, (6, 99, -3))
t(6, 9223372036854775808, -3, 2147483647, (6, 2147483646, -3))
t(6, 9223372036854775808, -3, 9223372036854775808, (6, 9223372036854775807, -3))
t(6, 9223372036854775808, -1, 0, (-1, -1, -1))
t(6, 9223372036854775808, -1, 1, (0, 0, -1))
t(6, 9223372036854775808, -1, 5, (4, 4, -1))
t(6, 9223372036854775808, -1, 10, (6, 9, -1))
t(6, 9223372036854775808, -1, 100, (6, 99, -1))
t(6, 9223372036854775808, -1, 2147483647, (6, 2147483646, -1))
t(6, 9223372036854775808, -1, 9223372036854775808, (6, 9223372036854775807, -1))
t(6, 9223372036854775808, 1, 0, (0, 0, 1))
t(6, 9223372036854775808, 1, 1, (1, 1, 1))
t(6, 9223372036854775808, 1, 5, (5, 5, 1))
t(6, 9223372036854775808, 1, 10, (6, 10, 1))
t(6, 9223372036854775808, 1, 100, (6, 100, 1))
t(6, 9223372036854775808, 1, 2147483647, (6, 2147483647, 1))
t(6, 9223372036854775808, 1, 9223372036854775808, (6, 9223372036854775808, 1))
t(6, 9223372036854775808, 5, 0, (0, 0, 5))
t(6, 9223372036854775808, 5, 1, (1, 1, 5))
t(6, 9223372036854775808, 5, 5, (5, 5, 5))
t(6, 9223372036854775808, 5, 10, (6, 10, 5))
t(6, 9223372036854775808, 5, 100, (6, 100, 5))
t(6, 9223372036854775808, 5, 2147483647, (6, 2147483647, 5))
t(6, 9223372036854775808, 5, 9223372036854775808, (6, 9223372036854775808, 5))
t(6, 9223372036854775808, 20, 0, (0, 0, 20))
t(6, 9223372036854775808, 20, 1, (1, 1, 20))
t(6, 9223372036854775808, 20, 5, (5, 5, 20))
t(6, 9223372036854775808, 20, 10, (6, 10, 20))
t(6, 9223372036854775808, 20, 100, (6, 100, 20))
t(6, 9223372036854775808, 20, 2147483647, (6, 2147483647, 20))
t(6, 9223372036854775808, 20, 9223372036854775808, (6, 9223372036854775808, 20))
t(6, 9223372036854775808, 2147483647, 0, (0, 0, 2147483647))
t(6, 9223372036854775808, 2147483647, 1, (1, 1, 2147483647))
t(6, 9223372036854775808, 2147483647, 5, (5, 5, 2147483647))
t(6, 9223372036854775808, 2147483647, 10, (6, 10, 2147483647))
t(6, 9223372036854775808, 2147483647, 100, (6, 100, 2147483647))
t(6, 9223372036854775808, 2147483647, 2147483647, (6, 2147483647, 2147483647))
t(6, 9223372036854775808, 2147483647, 9223372036854775808, (6, 9223372036854775808, 2147483647))
t(6, 9223372036854775808, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(6, 9223372036854775808, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(6, 9223372036854775808, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(6, 9223372036854775808, 9223372036854775808, 10, (6, 10, 9223372036854775808))
t(6, 9223372036854775808, 9223372036854775808, 100, (6, 100, 9223372036854775808))
t(6, 9223372036854775808, 9223372036854775808, 2147483647, (6, 2147483647, 9223372036854775808))
t(6, 9223372036854775808, 9223372036854775808, 9223372036854775808, (6, 9223372036854775808, 9223372036854775808))
t(10, None, None, 0, (0, 0, 1))
t(10, None, None, 1, (1, 1, 1))
t(10, None, None, 5, (5, 5, 1))
t(10, None, None, 10, (10, 10, 1))
t(10, None, None, 100, (10, 100, 1))
t(10, None, None, 2147483647, (10, 2147483647, 1))
t(10, None, None, 9223372036854775808, (10, 9223372036854775808, 1))
t(10, None, -5, 0, (-1, -1, -5))
t(10, None, -5, 1, (0, -1, -5))
t(10, None, -5, 5, (4, -1, -5))
t(10, None, -5, 10, (9, -1, -5))
t(10, None, -5, 100, (10, -1, -5))
t(10, None, -5, 2147483647, (10, -1, -5))
t(10, None, -5, 9223372036854775808, (10, -1, -5))
t(10, None, -3, 0, (-1, -1, -3))
t(10, None, -3, 1, (0, -1, -3))
t(10, None, -3, 5, (4, -1, -3))
t(10, None, -3, 10, (9, -1, -3))
t(10, None, -3, 100, (10, -1, -3))
t(10, None, -3, 2147483647, (10, -1, -3))
t(10, None, -3, 9223372036854775808, (10, -1, -3))
t(10, None, -1, 0, (-1, -1, -1))
t(10, None, -1, 1, (0, -1, -1))
t(10, None, -1, 5, (4, -1, -1))
t(10, None, -1, 10, (9, -1, -1))
t(10, None, -1, 100, (10, -1, -1))
t(10, None, -1, 2147483647, (10, -1, -1))
t(10, None, -1, 9223372036854775808, (10, -1, -1))
t(10, None, 1, 0, (0, 0, 1))
t(10, None, 1, 1, (1, 1, 1))
t(10, None, 1, 5, (5, 5, 1))
t(10, None, 1, 10, (10, 10, 1))
t(10, None, 1, 100, (10, 100, 1))
t(10, None, 1, 2147483647, (10, 2147483647, 1))
t(10, None, 1, 9223372036854775808, (10, 9223372036854775808, 1))
t(10, None, 5, 0, (0, 0, 5))
t(10, None, 5, 1, (1, 1, 5))
t(10, None, 5, 5, (5, 5, 5))
t(10, None, 5, 10, (10, 10, 5))
t(10, None, 5, 100, (10, 100, 5))
t(10, None, 5, 2147483647, (10, 2147483647, 5))
t(10, None, 5, 9223372036854775808, (10, 9223372036854775808, 5))
t(10, None, 20, 0, (0, 0, 20))
t(10, None, 20, 1, (1, 1, 20))
t(10, None, 20, 5, (5, 5, 20))
t(10, None, 20, 10, (10, 10, 20))
t(10, None, 20, 100, (10, 100, 20))
t(10, None, 20, 2147483647, (10, 2147483647, 20))
t(10, None, 20, 9223372036854775808, (10, 9223372036854775808, 20))
t(10, None, 2147483647, 0, (0, 0, 2147483647))
t(10, None, 2147483647, 1, (1, 1, 2147483647))
t(10, None, 2147483647, 5, (5, 5, 2147483647))
t(10, None, 2147483647, 10, (10, 10, 2147483647))
t(10, None, 2147483647, 100, (10, 100, 2147483647))
t(10, None, 2147483647, 2147483647, (10, 2147483647, 2147483647))
t(10, None, 2147483647, 9223372036854775808, (10, 9223372036854775808, 2147483647))
t(10, None, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(10, None, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(10, None, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(10, None, 9223372036854775808, 10, (10, 10, 9223372036854775808))
t(10, None, 9223372036854775808, 100, (10, 100, 9223372036854775808))
t(10, None, 9223372036854775808, 2147483647, (10, 2147483647, 9223372036854775808))
t(10, None, 9223372036854775808, 9223372036854775808, (10, 9223372036854775808, 9223372036854775808))
t(10, -7, None, 0, (0, 0, 1))
t(10, -7, None, 1, (1, 0, 1))
t(10, -7, None, 5, (5, 0, 1))
t(10, -7, None, 10, (10, 3, 1))
t(10, -7, None, 100, (10, 93, 1))
t(10, -7, None, 2147483647, (10, 2147483640, 1))
t(10, -7, None, 9223372036854775808, (10, 9223372036854775801, 1))
t(10, -7, -5, 0, (-1, -1, -5))
t(10, -7, -5, 1, (0, -1, -5))
t(10, -7, -5, 5, (4, -1, -5))
t(10, -7, -5, 10, (9, 3, -5))
t(10, -7, -5, 100, (10, 93, -5))
t(10, -7, -5, 2147483647, (10, 2147483640, -5))
t(10, -7, -5, 9223372036854775808, (10, 9223372036854775801, -5))
t(10, -7, -3, 0, (-1, -1, -3))
t(10, -7, -3, 1, (0, -1, -3))
t(10, -7, -3, 5, (4, -1, -3))
t(10, -7, -3, 10, (9, 3, -3))
t(10, -7, -3, 100, (10, 93, -3))
t(10, -7, -3, 2147483647, (10, 2147483640, -3))
t(10, -7, -3, 9223372036854775808, (10, 9223372036854775801, -3))
t(10, -7, -1, 0, (-1, -1, -1))
t(10, -7, -1, 1, (0, -1, -1))
t(10, -7, -1, 5, (4, -1, -1))
t(10, -7, -1, 10, (9, 3, -1))
t(10, -7, -1, 100, (10, 93, -1))
t(10, -7, -1, 2147483647, (10, 2147483640, -1))
t(10, -7, -1, 9223372036854775808, (10, 9223372036854775801, -1))
t(10, -7, 1, 0, (0, 0, 1))
t(10, -7, 1, 1, (1, 0, 1))
t(10, -7, 1, 5, (5, 0, 1))
t(10, -7, 1, 10, (10, 3, 1))
t(10, -7, 1, 100, (10, 93, 1))
t(10, -7, 1, 2147483647, (10, 2147483640, 1))
t(10, -7, 1, 9223372036854775808, (10, 9223372036854775801, 1))
t(10, -7, 5, 0, (0, 0, 5))
t(10, -7, 5, 1, (1, 0, 5))
t(10, -7, 5, 5, (5, 0, 5))
t(10, -7, 5, 10, (10, 3, 5))
t(10, -7, 5, 100, (10, 93, 5))
t(10, -7, 5, 2147483647, (10, 2147483640, 5))
t(10, -7, 5, 9223372036854775808, (10, 9223372036854775801, 5))
t(10, -7, 20, 0, (0, 0, 20))
t(10, -7, 20, 1, (1, 0, 20))
t(10, -7, 20, 5, (5, 0, 20))
t(10, -7, 20, 10, (10, 3, 20))
t(10, -7, 20, 100, (10, 93, 20))
t(10, -7, 20, 2147483647, (10, 2147483640, 20))
t(10, -7, 20, 9223372036854775808, (10, 9223372036854775801, 20))
t(10, -7, 2147483647, 0, (0, 0, 2147483647))
t(10, -7, 2147483647, 1, (1, 0, 2147483647))
t(10, -7, 2147483647, 5, (5, 0, 2147483647))
t(10, -7, 2147483647, 10, (10, 3, 2147483647))
t(10, -7, 2147483647, 100, (10, 93, 2147483647))
t(10, -7, 2147483647, 2147483647, (10, 2147483640, 2147483647))
t(10, -7, 2147483647, 9223372036854775808, (10, 9223372036854775801, 2147483647))
t(10, -7, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(10, -7, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(10, -7, 9223372036854775808, 5, (5, 0, 9223372036854775808))
t(10, -7, 9223372036854775808, 10, (10, 3, 9223372036854775808))
t(10, -7, 9223372036854775808, 100, (10, 93, 9223372036854775808))
t(10, -7, 9223372036854775808, 2147483647, (10, 2147483640, 9223372036854775808))
t(10, -7, 9223372036854775808, 9223372036854775808, (10, 9223372036854775801, 9223372036854775808))
t(10, -2, None, 0, (0, 0, 1))
t(10, -2, None, 1, (1, 0, 1))
t(10, -2, None, 5, (5, 3, 1))
t(10, -2, None, 10, (10, 8, 1))
t(10, -2, None, 100, (10, 98, 1))
t(10, -2, None, 2147483647, (10, 2147483645, 1))
t(10, -2, None, 9223372036854775808, (10, 9223372036854775806, 1))
t(10, -2, -5, 0, (-1, -1, -5))
t(10, -2, -5, 1, (0, -1, -5))
t(10, -2, -5, 5, (4, 3, -5))
t(10, -2, -5, 10, (9, 8, -5))
t(10, -2, -5, 100, (10, 98, -5))
t(10, -2, -5, 2147483647, (10, 2147483645, -5))
t(10, -2, -5, 9223372036854775808, (10, 9223372036854775806, -5))
t(10, -2, -3, 0, (-1, -1, -3))
t(10, -2, -3, 1, (0, -1, -3))
t(10, -2, -3, 5, (4, 3, -3))
t(10, -2, -3, 10, (9, 8, -3))
t(10, -2, -3, 100, (10, 98, -3))
t(10, -2, -3, 2147483647, (10, 2147483645, -3))
t(10, -2, -3, 9223372036854775808, (10, 9223372036854775806, -3))
t(10, -2, -1, 0, (-1, -1, -1))
t(10, -2, -1, 1, (0, -1, -1))
t(10, -2, -1, 5, (4, 3, -1))
t(10, -2, -1, 10, (9, 8, -1))
t(10, -2, -1, 100, (10, 98, -1))
t(10, -2, -1, 2147483647, (10, 2147483645, -1))
t(10, -2, -1, 9223372036854775808, (10, 9223372036854775806, -1))
t(10, -2, 1, 0, (0, 0, 1))
t(10, -2, 1, 1, (1, 0, 1))
t(10, -2, 1, 5, (5, 3, 1))
t(10, -2, 1, 10, (10, 8, 1))
t(10, -2, 1, 100, (10, 98, 1))
t(10, -2, 1, 2147483647, (10, 2147483645, 1))
t(10, -2, 1, 9223372036854775808, (10, 9223372036854775806, 1))
t(10, -2, 5, 0, (0, 0, 5))
t(10, -2, 5, 1, (1, 0, 5))
t(10, -2, 5, 5, (5, 3, 5))
t(10, -2, 5, 10, (10, 8, 5))
t(10, -2, 5, 100, (10, 98, 5))
t(10, -2, 5, 2147483647, (10, 2147483645, 5))
t(10, -2, 5, 9223372036854775808, (10, 9223372036854775806, 5))
t(10, -2, 20, 0, (0, 0, 20))
t(10, -2, 20, 1, (1, 0, 20))
t(10, -2, 20, 5, (5, 3, 20))
t(10, -2, 20, 10, (10, 8, 20))
t(10, -2, 20, 100, (10, 98, 20))
t(10, -2, 20, 2147483647, (10, 2147483645, 20))
t(10, -2, 20, 9223372036854775808, (10, 9223372036854775806, 20))
t(10, -2, 2147483647, 0, (0, 0, 2147483647))
t(10, -2, 2147483647, 1, (1, 0, 2147483647))
t(10, -2, 2147483647, 5, (5, 3, 2147483647))
t(10, -2, 2147483647, 10, (10, 8, 2147483647))
t(10, -2, 2147483647, 100, (10, 98, 2147483647))
t(10, -2, 2147483647, 2147483647, (10, 2147483645, 2147483647))
t(10, -2, 2147483647, 9223372036854775808, (10, 9223372036854775806, 2147483647))
t(10, -2, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(10, -2, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(10, -2, 9223372036854775808, 5, (5, 3, 9223372036854775808))
t(10, -2, 9223372036854775808, 10, (10, 8, 9223372036854775808))
t(10, -2, 9223372036854775808, 100, (10, 98, 9223372036854775808))
t(10, -2, 9223372036854775808, 2147483647, (10, 2147483645, 9223372036854775808))
t(10, -2, 9223372036854775808, 9223372036854775808, (10, 9223372036854775806, 9223372036854775808))
t(10, 0, None, 0, (0, 0, 1))
t(10, 0, None, 1, (1, 0, 1))
t(10, 0, None, 5, (5, 0, 1))
t(10, 0, None, 10, (10, 0, 1))
t(10, 0, None, 100, (10, 0, 1))
t(10, 0, None, 2147483647, (10, 0, 1))
t(10, 0, None, 9223372036854775808, (10, 0, 1))
t(10, 0, -5, 0, (-1, -1, -5))
t(10, 0, -5, 1, (0, 0, -5))
t(10, 0, -5, 5, (4, 0, -5))
t(10, 0, -5, 10, (9, 0, -5))
t(10, 0, -5, 100, (10, 0, -5))
t(10, 0, -5, 2147483647, (10, 0, -5))
t(10, 0, -5, 9223372036854775808, (10, 0, -5))
t(10, 0, -3, 0, (-1, -1, -3))
t(10, 0, -3, 1, (0, 0, -3))
t(10, 0, -3, 5, (4, 0, -3))
t(10, 0, -3, 10, (9, 0, -3))
t(10, 0, -3, 100, (10, 0, -3))
t(10, 0, -3, 2147483647, (10, 0, -3))
t(10, 0, -3, 9223372036854775808, (10, 0, -3))
t(10, 0, -1, 0, (-1, -1, -1))
t(10, 0, -1, 1, (0, 0, -1))
t(10, 0, -1, 5, (4, 0, -1))
t(10, 0, -1, 10, (9, 0, -1))
t(10, 0, -1, 100, (10, 0, -1))
t(10, 0, -1, 2147483647, (10, 0, -1))
t(10, 0, -1, 9223372036854775808, (10, 0, -1))
t(10, 0, 1, 0, (0, 0, 1))
t(10, 0, 1, 1, (1, 0, 1))
t(10, 0, 1, 5, (5, 0, 1))
t(10, 0, 1, 10, (10, 0, 1))
t(10, 0, 1, 100, (10, 0, 1))
t(10, 0, 1, 2147483647, (10, 0, 1))
t(10, 0, 1, 9223372036854775808, (10, 0, 1))
t(10, 0, 5, 0, (0, 0, 5))
t(10, 0, 5, 1, (1, 0, 5))
t(10, 0, 5, 5, (5, 0, 5))
t(10, 0, 5, 10, (10, 0, 5))
t(10, 0, 5, 100, (10, 0, 5))
t(10, 0, 5, 2147483647, (10, 0, 5))
t(10, 0, 5, 9223372036854775808, (10, 0, 5))
t(10, 0, 20, 0, (0, 0, 20))
t(10, 0, 20, 1, (1, 0, 20))
t(10, 0, 20, 5, (5, 0, 20))
t(10, 0, 20, 10, (10, 0, 20))
t(10, 0, 20, 100, (10, 0, 20))
t(10, 0, 20, 2147483647, (10, 0, 20))
t(10, 0, 20, 9223372036854775808, (10, 0, 20))
t(10, 0, 2147483647, 0, (0, 0, 2147483647))
t(10, 0, 2147483647, 1, (1, 0, 2147483647))
t(10, 0, 2147483647, 5, (5, 0, 2147483647))
t(10, 0, 2147483647, 10, (10, 0, 2147483647))
t(10, 0, 2147483647, 100, (10, 0, 2147483647))
t(10, 0, 2147483647, 2147483647, (10, 0, 2147483647))
t(10, 0, 2147483647, 9223372036854775808, (10, 0, 2147483647))
t(10, 0, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(10, 0, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(10, 0, 9223372036854775808, 5, (5, 0, 9223372036854775808))
t(10, 0, 9223372036854775808, 10, (10, 0, 9223372036854775808))
t(10, 0, 9223372036854775808, 100, (10, 0, 9223372036854775808))
t(10, 0, 9223372036854775808, 2147483647, (10, 0, 9223372036854775808))
t(10, 0, 9223372036854775808, 9223372036854775808, (10, 0, 9223372036854775808))
t(10, 1, None, 0, (0, 0, 1))
t(10, 1, None, 1, (1, 1, 1))
t(10, 1, None, 5, (5, 1, 1))
t(10, 1, None, 10, (10, 1, 1))
t(10, 1, None, 100, (10, 1, 1))
t(10, 1, None, 2147483647, (10, 1, 1))
t(10, 1, None, 9223372036854775808, (10, 1, 1))
t(10, 1, -5, 0, (-1, -1, -5))
t(10, 1, -5, 1, (0, 0, -5))
t(10, 1, -5, 5, (4, 1, -5))
t(10, 1, -5, 10, (9, 1, -5))
t(10, 1, -5, 100, (10, 1, -5))
t(10, 1, -5, 2147483647, (10, 1, -5))
t(10, 1, -5, 9223372036854775808, (10, 1, -5))
t(10, 1, -3, 0, (-1, -1, -3))
t(10, 1, -3, 1, (0, 0, -3))
t(10, 1, -3, 5, (4, 1, -3))
t(10, 1, -3, 10, (9, 1, -3))
t(10, 1, -3, 100, (10, 1, -3))
t(10, 1, -3, 2147483647, (10, 1, -3))
t(10, 1, -3, 9223372036854775808, (10, 1, -3))
t(10, 1, -1, 0, (-1, -1, -1))
t(10, 1, -1, 1, (0, 0, -1))
t(10, 1, -1, 5, (4, 1, -1))
t(10, 1, -1, 10, (9, 1, -1))
t(10, 1, -1, 100, (10, 1, -1))
t(10, 1, -1, 2147483647, (10, 1, -1))
t(10, 1, -1, 9223372036854775808, (10, 1, -1))
t(10, 1, 1, 0, (0, 0, 1))
t(10, 1, 1, 1, (1, 1, 1))
t(10, 1, 1, 5, (5, 1, 1))
t(10, 1, 1, 10, (10, 1, 1))
t(10, 1, 1, 100, (10, 1, 1))
t(10, 1, 1, 2147483647, (10, 1, 1))
t(10, 1, 1, 9223372036854775808, (10, 1, 1))
t(10, 1, 5, 0, (0, 0, 5))
t(10, 1, 5, 1, (1, 1, 5))
t(10, 1, 5, 5, (5, 1, 5))
t(10, 1, 5, 10, (10, 1, 5))
t(10, 1, 5, 100, (10, 1, 5))
t(10, 1, 5, 2147483647, (10, 1, 5))
t(10, 1, 5, 9223372036854775808, (10, 1, 5))
t(10, 1, 20, 0, (0, 0, 20))
t(10, 1, 20, 1, (1, 1, 20))
t(10, 1, 20, 5, (5, 1, 20))
t(10, 1, 20, 10, (10, 1, 20))
t(10, 1, 20, 100, (10, 1, 20))
t(10, 1, 20, 2147483647, (10, 1, 20))
t(10, 1, 20, 9223372036854775808, (10, 1, 20))
t(10, 1, 2147483647, 0, (0, 0, 2147483647))
t(10, 1, 2147483647, 1, (1, 1, 2147483647))
t(10, 1, 2147483647, 5, (5, 1, 2147483647))
t(10, 1, 2147483647, 10, (10, 1, 2147483647))
t(10, 1, 2147483647, 100, (10, 1, 2147483647))
t(10, 1, 2147483647, 2147483647, (10, 1, 2147483647))
t(10, 1, 2147483647, 9223372036854775808, (10, 1, 2147483647))
t(10, 1, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(10, 1, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(10, 1, 9223372036854775808, 5, (5, 1, 9223372036854775808))
t(10, 1, 9223372036854775808, 10, (10, 1, 9223372036854775808))
t(10, 1, 9223372036854775808, 100, (10, 1, 9223372036854775808))
t(10, 1, 9223372036854775808, 2147483647, (10, 1, 9223372036854775808))
t(10, 1, 9223372036854775808, 9223372036854775808, (10, 1, 9223372036854775808))
t(10, 6, None, 0, (0, 0, 1))
t(10, 6, None, 1, (1, 1, 1))
t(10, 6, None, 5, (5, 5, 1))
t(10, 6, None, 10, (10, 6, 1))
t(10, 6, None, 100, (10, 6, 1))
t(10, 6, None, 2147483647, (10, 6, 1))
t(10, 6, None, 9223372036854775808, (10, 6, 1))
t(10, 6, -5, 0, (-1, -1, -5))
t(10, 6, -5, 1, (0, 0, -5))
t(10, 6, -5, 5, (4, 4, -5))
t(10, 6, -5, 10, (9, 6, -5))
t(10, 6, -5, 100, (10, 6, -5))
t(10, 6, -5, 2147483647, (10, 6, -5))
t(10, 6, -5, 9223372036854775808, (10, 6, -5))
t(10, 6, -3, 0, (-1, -1, -3))
t(10, 6, -3, 1, (0, 0, -3))
t(10, 6, -3, 5, (4, 4, -3))
t(10, 6, -3, 10, (9, 6, -3))
t(10, 6, -3, 100, (10, 6, -3))
t(10, 6, -3, 2147483647, (10, 6, -3))
t(10, 6, -3, 9223372036854775808, (10, 6, -3))
t(10, 6, -1, 0, (-1, -1, -1))
t(10, 6, -1, 1, (0, 0, -1))
t(10, 6, -1, 5, (4, 4, -1))
t(10, 6, -1, 10, (9, 6, -1))
t(10, 6, -1, 100, (10, 6, -1))
t(10, 6, -1, 2147483647, (10, 6, -1))
t(10, 6, -1, 9223372036854775808, (10, 6, -1))
t(10, 6, 1, 0, (0, 0, 1))
t(10, 6, 1, 1, (1, 1, 1))
t(10, 6, 1, 5, (5, 5, 1))
t(10, 6, 1, 10, (10, 6, 1))
t(10, 6, 1, 100, (10, 6, 1))
t(10, 6, 1, 2147483647, (10, 6, 1))
t(10, 6, 1, 9223372036854775808, (10, 6, 1))
t(10, 6, 5, 0, (0, 0, 5))
t(10, 6, 5, 1, (1, 1, 5))
t(10, 6, 5, 5, (5, 5, 5))
t(10, 6, 5, 10, (10, 6, 5))
t(10, 6, 5, 100, (10, 6, 5))
t(10, 6, 5, 2147483647, (10, 6, 5))
t(10, 6, 5, 9223372036854775808, (10, 6, 5))
t(10, 6, 20, 0, (0, 0, 20))
t(10, 6, 20, 1, (1, 1, 20))
t(10, 6, 20, 5, (5, 5, 20))
t(10, 6, 20, 10, (10, 6, 20))
t(10, 6, 20, 100, (10, 6, 20))
t(10, 6, 20, 2147483647, (10, 6, 20))
t(10, 6, 20, 9223372036854775808, (10, 6, 20))
t(10, 6, 2147483647, 0, (0, 0, 2147483647))
t(10, 6, 2147483647, 1, (1, 1, 2147483647))
t(10, 6, 2147483647, 5, (5, 5, 2147483647))
t(10, 6, 2147483647, 10, (10, 6, 2147483647))
t(10, 6, 2147483647, 100, (10, 6, 2147483647))
t(10, 6, 2147483647, 2147483647, (10, 6, 2147483647))
t(10, 6, 2147483647, 9223372036854775808, (10, 6, 2147483647))
t(10, 6, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(10, 6, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(10, 6, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(10, 6, 9223372036854775808, 10, (10, 6, 9223372036854775808))
t(10, 6, 9223372036854775808, 100, (10, 6, 9223372036854775808))
t(10, 6, 9223372036854775808, 2147483647, (10, 6, 9223372036854775808))
t(10, 6, 9223372036854775808, 9223372036854775808, (10, 6, 9223372036854775808))
t(10, 10, None, 0, (0, 0, 1))
t(10, 10, None, 1, (1, 1, 1))
t(10, 10, None, 5, (5, 5, 1))
t(10, 10, None, 10, (10, 10, 1))
t(10, 10, None, 100, (10, 10, 1))
t(10, 10, None, 2147483647, (10, 10, 1))
t(10, 10, None, 9223372036854775808, (10, 10, 1))
t(10, 10, -5, 0, (-1, -1, -5))
t(10, 10, -5, 1, (0, 0, -5))
t(10, 10, -5, 5, (4, 4, -5))
t(10, 10, -5, 10, (9, 9, -5))
t(10, 10, -5, 100, (10, 10, -5))
t(10, 10, -5, 2147483647, (10, 10, -5))
t(10, 10, -5, 9223372036854775808, (10, 10, -5))
t(10, 10, -3, 0, (-1, -1, -3))
t(10, 10, -3, 1, (0, 0, -3))
t(10, 10, -3, 5, (4, 4, -3))
t(10, 10, -3, 10, (9, 9, -3))
t(10, 10, -3, 100, (10, 10, -3))
t(10, 10, -3, 2147483647, (10, 10, -3))
t(10, 10, -3, 9223372036854775808, (10, 10, -3))
t(10, 10, -1, 0, (-1, -1, -1))
t(10, 10, -1, 1, (0, 0, -1))
t(10, 10, -1, 5, (4, 4, -1))
t(10, 10, -1, 10, (9, 9, -1))
t(10, 10, -1, 100, (10, 10, -1))
t(10, 10, -1, 2147483647, (10, 10, -1))
t(10, 10, -1, 9223372036854775808, (10, 10, -1))
t(10, 10, 1, 0, (0, 0, 1))
t(10, 10, 1, 1, (1, 1, 1))
t(10, 10, 1, 5, (5, 5, 1))
t(10, 10, 1, 10, (10, 10, 1))
t(10, 10, 1, 100, (10, 10, 1))
t(10, 10, 1, 2147483647, (10, 10, 1))
t(10, 10, 1, 9223372036854775808, (10, 10, 1))
t(10, 10, 5, 0, (0, 0, 5))
t(10, 10, 5, 1, (1, 1, 5))
t(10, 10, 5, 5, (5, 5, 5))
t(10, 10, 5, 10, (10, 10, 5))
t(10, 10, 5, 100, (10, 10, 5))
t(10, 10, 5, 2147483647, (10, 10, 5))
t(10, 10, 5, 9223372036854775808, (10, 10, 5))
t(10, 10, 20, 0, (0, 0, 20))
t(10, 10, 20, 1, (1, 1, 20))
t(10, 10, 20, 5, (5, 5, 20))
t(10, 10, 20, 10, (10, 10, 20))
t(10, 10, 20, 100, (10, 10, 20))
t(10, 10, 20, 2147483647, (10, 10, 20))
t(10, 10, 20, 9223372036854775808, (10, 10, 20))
t(10, 10, 2147483647, 0, (0, 0, 2147483647))
t(10, 10, 2147483647, 1, (1, 1, 2147483647))
t(10, 10, 2147483647, 5, (5, 5, 2147483647))
t(10, 10, 2147483647, 10, (10, 10, 2147483647))
t(10, 10, 2147483647, 100, (10, 10, 2147483647))
t(10, 10, 2147483647, 2147483647, (10, 10, 2147483647))
t(10, 10, 2147483647, 9223372036854775808, (10, 10, 2147483647))
t(10, 10, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(10, 10, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(10, 10, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(10, 10, 9223372036854775808, 10, (10, 10, 9223372036854775808))
t(10, 10, 9223372036854775808, 100, (10, 10, 9223372036854775808))
t(10, 10, 9223372036854775808, 2147483647, (10, 10, 9223372036854775808))
t(10, 10, 9223372036854775808, 9223372036854775808, (10, 10, 9223372036854775808))
t(10, 2147483647, None, 0, (0, 0, 1))
t(10, 2147483647, None, 1, (1, 1, 1))
t(10, 2147483647, None, 5, (5, 5, 1))
t(10, 2147483647, None, 10, (10, 10, 1))
t(10, 2147483647, None, 100, (10, 100, 1))
t(10, 2147483647, None, 2147483647, (10, 2147483647, 1))
t(10, 2147483647, None, 9223372036854775808, (10, 2147483647, 1))
t(10, 2147483647, -5, 0, (-1, -1, -5))
t(10, 2147483647, -5, 1, (0, 0, -5))
t(10, 2147483647, -5, 5, (4, 4, -5))
t(10, 2147483647, -5, 10, (9, 9, -5))
t(10, 2147483647, -5, 100, (10, 99, -5))
t(10, 2147483647, -5, 2147483647, (10, 2147483646, -5))
t(10, 2147483647, -5, 9223372036854775808, (10, 2147483647, -5))
t(10, 2147483647, -3, 0, (-1, -1, -3))
t(10, 2147483647, -3, 1, (0, 0, -3))
t(10, 2147483647, -3, 5, (4, 4, -3))
t(10, 2147483647, -3, 10, (9, 9, -3))
t(10, 2147483647, -3, 100, (10, 99, -3))
t(10, 2147483647, -3, 2147483647, (10, 2147483646, -3))
t(10, 2147483647, -3, 9223372036854775808, (10, 2147483647, -3))
t(10, 2147483647, -1, 0, (-1, -1, -1))
t(10, 2147483647, -1, 1, (0, 0, -1))
t(10, 2147483647, -1, 5, (4, 4, -1))
t(10, 2147483647, -1, 10, (9, 9, -1))
t(10, 2147483647, -1, 100, (10, 99, -1))
t(10, 2147483647, -1, 2147483647, (10, 2147483646, -1))
t(10, 2147483647, -1, 9223372036854775808, (10, 2147483647, -1))
t(10, 2147483647, 1, 0, (0, 0, 1))
t(10, 2147483647, 1, 1, (1, 1, 1))
t(10, 2147483647, 1, 5, (5, 5, 1))
t(10, 2147483647, 1, 10, (10, 10, 1))
t(10, 2147483647, 1, 100, (10, 100, 1))
t(10, 2147483647, 1, 2147483647, (10, 2147483647, 1))
t(10, 2147483647, 1, 9223372036854775808, (10, 2147483647, 1))
t(10, 2147483647, 5, 0, (0, 0, 5))
t(10, 2147483647, 5, 1, (1, 1, 5))
t(10, 2147483647, 5, 5, (5, 5, 5))
t(10, 2147483647, 5, 10, (10, 10, 5))
t(10, 2147483647, 5, 100, (10, 100, 5))
t(10, 2147483647, 5, 2147483647, (10, 2147483647, 5))
t(10, 2147483647, 5, 9223372036854775808, (10, 2147483647, 5))
t(10, 2147483647, 20, 0, (0, 0, 20))
t(10, 2147483647, 20, 1, (1, 1, 20))
t(10, 2147483647, 20, 5, (5, 5, 20))
t(10, 2147483647, 20, 10, (10, 10, 20))
t(10, 2147483647, 20, 100, (10, 100, 20))
t(10, 2147483647, 20, 2147483647, (10, 2147483647, 20))
t(10, 2147483647, 20, 9223372036854775808, (10, 2147483647, 20))
t(10, 2147483647, 2147483647, 0, (0, 0, 2147483647))
t(10, 2147483647, 2147483647, 1, (1, 1, 2147483647))
t(10, 2147483647, 2147483647, 5, (5, 5, 2147483647))
t(10, 2147483647, 2147483647, 10, (10, 10, 2147483647))
t(10, 2147483647, 2147483647, 100, (10, 100, 2147483647))
t(10, 2147483647, 2147483647, 2147483647, (10, 2147483647, 2147483647))
t(10, 2147483647, 2147483647, 9223372036854775808, (10, 2147483647, 2147483647))
t(10, 2147483647, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(10, 2147483647, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(10, 2147483647, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(10, 2147483647, 9223372036854775808, 10, (10, 10, 9223372036854775808))
t(10, 2147483647, 9223372036854775808, 100, (10, 100, 9223372036854775808))
t(10, 2147483647, 9223372036854775808, 2147483647, (10, 2147483647, 9223372036854775808))
t(10, 2147483647, 9223372036854775808, 9223372036854775808, (10, 2147483647, 9223372036854775808))
t(10, 9223372036854775808, None, 0, (0, 0, 1))
t(10, 9223372036854775808, None, 1, (1, 1, 1))
t(10, 9223372036854775808, None, 5, (5, 5, 1))
t(10, 9223372036854775808, None, 10, (10, 10, 1))
t(10, 9223372036854775808, None, 100, (10, 100, 1))
t(10, 9223372036854775808, None, 2147483647, (10, 2147483647, 1))
t(10, 9223372036854775808, None, 9223372036854775808, (10, 9223372036854775808, 1))
t(10, 9223372036854775808, -5, 0, (-1, -1, -5))
t(10, 9223372036854775808, -5, 1, (0, 0, -5))
t(10, 9223372036854775808, -5, 5, (4, 4, -5))
t(10, 9223372036854775808, -5, 10, (9, 9, -5))
t(10, 9223372036854775808, -5, 100, (10, 99, -5))
t(10, 9223372036854775808, -5, 2147483647, (10, 2147483646, -5))
t(10, 9223372036854775808, -5, 9223372036854775808, (10, 9223372036854775807, -5))
t(10, 9223372036854775808, -3, 0, (-1, -1, -3))
t(10, 9223372036854775808, -3, 1, (0, 0, -3))
t(10, 9223372036854775808, -3, 5, (4, 4, -3))
t(10, 9223372036854775808, -3, 10, (9, 9, -3))
t(10, 9223372036854775808, -3, 100, (10, 99, -3))
t(10, 9223372036854775808, -3, 2147483647, (10, 2147483646, -3))
t(10, 9223372036854775808, -3, 9223372036854775808, (10, 9223372036854775807, -3))
t(10, 9223372036854775808, -1, 0, (-1, -1, -1))
t(10, 9223372036854775808, -1, 1, (0, 0, -1))
t(10, 9223372036854775808, -1, 5, (4, 4, -1))
t(10, 9223372036854775808, -1, 10, (9, 9, -1))
t(10, 9223372036854775808, -1, 100, (10, 99, -1))
t(10, 9223372036854775808, -1, 2147483647, (10, 2147483646, -1))
t(10, 9223372036854775808, -1, 9223372036854775808, (10, 9223372036854775807, -1))
t(10, 9223372036854775808, 1, 0, (0, 0, 1))
t(10, 9223372036854775808, 1, 1, (1, 1, 1))
t(10, 9223372036854775808, 1, 5, (5, 5, 1))
t(10, 9223372036854775808, 1, 10, (10, 10, 1))
t(10, 9223372036854775808, 1, 100, (10, 100, 1))
t(10, 9223372036854775808, 1, 2147483647, (10, 2147483647, 1))
t(10, 9223372036854775808, 1, 9223372036854775808, (10, 9223372036854775808, 1))
t(10, 9223372036854775808, 5, 0, (0, 0, 5))
t(10, 9223372036854775808, 5, 1, (1, 1, 5))
t(10, 9223372036854775808, 5, 5, (5, 5, 5))
t(10, 9223372036854775808, 5, 10, (10, 10, 5))
t(10, 9223372036854775808, 5, 100, (10, 100, 5))
t(10, 9223372036854775808, 5, 2147483647, (10, 2147483647, 5))
t(10, 9223372036854775808, 5, 9223372036854775808, (10, 9223372036854775808, 5))
t(10, 9223372036854775808, 20, 0, (0, 0, 20))
t(10, 9223372036854775808, 20, 1, (1, 1, 20))
t(10, 9223372036854775808, 20, 5, (5, 5, 20))
t(10, 9223372036854775808, 20, 10, (10, 10, 20))
t(10, 9223372036854775808, 20, 100, (10, 100, 20))
t(10, 9223372036854775808, 20, 2147483647, (10, 2147483647, 20))
t(10, 9223372036854775808, 20, 9223372036854775808, (10, 9223372036854775808, 20))
t(10, 9223372036854775808, 2147483647, 0, (0, 0, 2147483647))
t(10, 9223372036854775808, 2147483647, 1, (1, 1, 2147483647))
t(10, 9223372036854775808, 2147483647, 5, (5, 5, 2147483647))
t(10, 9223372036854775808, 2147483647, 10, (10, 10, 2147483647))
t(10, 9223372036854775808, 2147483647, 100, (10, 100, 2147483647))
t(10, 9223372036854775808, 2147483647, 2147483647, (10, 2147483647, 2147483647))
t(10, 9223372036854775808, 2147483647, 9223372036854775808, (10, 9223372036854775808, 2147483647))
t(10, 9223372036854775808, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(10, 9223372036854775808, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(10, 9223372036854775808, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(10, 9223372036854775808, 9223372036854775808, 10, (10, 10, 9223372036854775808))
t(10, 9223372036854775808, 9223372036854775808, 100, (10, 100, 9223372036854775808))
t(10, 9223372036854775808, 9223372036854775808, 2147483647, (10, 2147483647, 9223372036854775808))
t(10, 9223372036854775808, 9223372036854775808, 9223372036854775808, (10, 9223372036854775808, 9223372036854775808))
t(2147483647, None, None, 0, (0, 0, 1))
t(2147483647, None, None, 1, (1, 1, 1))
t(2147483647, None, None, 5, (5, 5, 1))
t(2147483647, None, None, 10, (10, 10, 1))
t(2147483647, None, None, 100, (100, 100, 1))
t(2147483647, None, None, 2147483647, (2147483647, 2147483647, 1))
t(2147483647, None, None, 9223372036854775808, (2147483647, 9223372036854775808, 1))
t(2147483647, None, -5, 0, (-1, -1, -5))
t(2147483647, None, -5, 1, (0, -1, -5))
t(2147483647, None, -5, 5, (4, -1, -5))
t(2147483647, None, -5, 10, (9, -1, -5))
t(2147483647, None, -5, 100, (99, -1, -5))
t(2147483647, None, -5, 2147483647, (2147483646, -1, -5))
t(2147483647, None, -5, 9223372036854775808, (2147483647, -1, -5))
t(2147483647, None, -3, 0, (-1, -1, -3))
t(2147483647, None, -3, 1, (0, -1, -3))
t(2147483647, None, -3, 5, (4, -1, -3))
t(2147483647, None, -3, 10, (9, -1, -3))
t(2147483647, None, -3, 100, (99, -1, -3))
t(2147483647, None, -3, 2147483647, (2147483646, -1, -3))
t(2147483647, None, -3, 9223372036854775808, (2147483647, -1, -3))
t(2147483647, None, -1, 0, (-1, -1, -1))
t(2147483647, None, -1, 1, (0, -1, -1))
t(2147483647, None, -1, 5, (4, -1, -1))
t(2147483647, None, -1, 10, (9, -1, -1))
t(2147483647, None, -1, 100, (99, -1, -1))
t(2147483647, None, -1, 2147483647, (2147483646, -1, -1))
t(2147483647, None, -1, 9223372036854775808, (2147483647, -1, -1))
t(2147483647, None, 1, 0, (0, 0, 1))
t(2147483647, None, 1, 1, (1, 1, 1))
t(2147483647, None, 1, 5, (5, 5, 1))
t(2147483647, None, 1, 10, (10, 10, 1))
t(2147483647, None, 1, 100, (100, 100, 1))
t(2147483647, None, 1, 2147483647, (2147483647, 2147483647, 1))
t(2147483647, None, 1, 9223372036854775808, (2147483647, 9223372036854775808, 1))
t(2147483647, None, 5, 0, (0, 0, 5))
t(2147483647, None, 5, 1, (1, 1, 5))
t(2147483647, None, 5, 5, (5, 5, 5))
t(2147483647, None, 5, 10, (10, 10, 5))
t(2147483647, None, 5, 100, (100, 100, 5))
t(2147483647, None, 5, 2147483647, (2147483647, 2147483647, 5))
t(2147483647, None, 5, 9223372036854775808, (2147483647, 9223372036854775808, 5))
t(2147483647, None, 20, 0, (0, 0, 20))
t(2147483647, None, 20, 1, (1, 1, 20))
t(2147483647, None, 20, 5, (5, 5, 20))
t(2147483647, None, 20, 10, (10, 10, 20))
t(2147483647, None, 20, 100, (100, 100, 20))
t(2147483647, None, 20, 2147483647, (2147483647, 2147483647, 20))
t(2147483647, None, 20, 9223372036854775808, (2147483647, 9223372036854775808, 20))
t(2147483647, None, 2147483647, 0, (0, 0, 2147483647))
t(2147483647, None, 2147483647, 1, (1, 1, 2147483647))
t(2147483647, None, 2147483647, 5, (5, 5, 2147483647))
t(2147483647, None, 2147483647, 10, (10, 10, 2147483647))
t(2147483647, None, 2147483647, 100, (100, 100, 2147483647))
t(2147483647, None, 2147483647, 2147483647, (2147483647, 2147483647, 2147483647))
t(2147483647, None, 2147483647, 9223372036854775808, (2147483647, 9223372036854775808, 2147483647))
t(2147483647, None, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(2147483647, None, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(2147483647, None, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(2147483647, None, 9223372036854775808, 10, (10, 10, 9223372036854775808))
t(2147483647, None, 9223372036854775808, 100, (100, 100, 9223372036854775808))
t(2147483647, None, 9223372036854775808, 2147483647, (2147483647, 2147483647, 9223372036854775808))
t(2147483647, None, 9223372036854775808, 9223372036854775808, (2147483647, 9223372036854775808, 9223372036854775808))
t(2147483647, -7, None, 0, (0, 0, 1))
t(2147483647, -7, None, 1, (1, 0, 1))
t(2147483647, -7, None, 5, (5, 0, 1))
t(2147483647, -7, None, 10, (10, 3, 1))
t(2147483647, -7, None, 100, (100, 93, 1))
t(2147483647, -7, None, 2147483647, (2147483647, 2147483640, 1))
t(2147483647, -7, None, 9223372036854775808, (2147483647, 9223372036854775801, 1))
t(2147483647, -7, -5, 0, (-1, -1, -5))
t(2147483647, -7, -5, 1, (0, -1, -5))
t(2147483647, -7, -5, 5, (4, -1, -5))
t(2147483647, -7, -5, 10, (9, 3, -5))
t(2147483647, -7, -5, 100, (99, 93, -5))
t(2147483647, -7, -5, 2147483647, (2147483646, 2147483640, -5))
t(2147483647, -7, -5, 9223372036854775808, (2147483647, 9223372036854775801, -5))
t(2147483647, -7, -3, 0, (-1, -1, -3))
t(2147483647, -7, -3, 1, (0, -1, -3))
t(2147483647, -7, -3, 5, (4, -1, -3))
t(2147483647, -7, -3, 10, (9, 3, -3))
t(2147483647, -7, -3, 100, (99, 93, -3))
t(2147483647, -7, -3, 2147483647, (2147483646, 2147483640, -3))
t(2147483647, -7, -3, 9223372036854775808, (2147483647, 9223372036854775801, -3))
t(2147483647, -7, -1, 0, (-1, -1, -1))
t(2147483647, -7, -1, 1, (0, -1, -1))
t(2147483647, -7, -1, 5, (4, -1, -1))
t(2147483647, -7, -1, 10, (9, 3, -1))
t(2147483647, -7, -1, 100, (99, 93, -1))
t(2147483647, -7, -1, 2147483647, (2147483646, 2147483640, -1))
t(2147483647, -7, -1, 9223372036854775808, (2147483647, 9223372036854775801, -1))
t(2147483647, -7, 1, 0, (0, 0, 1))
t(2147483647, -7, 1, 1, (1, 0, 1))
t(2147483647, -7, 1, 5, (5, 0, 1))
t(2147483647, -7, 1, 10, (10, 3, 1))
t(2147483647, -7, 1, 100, (100, 93, 1))
t(2147483647, -7, 1, 2147483647, (2147483647, 2147483640, 1))
t(2147483647, -7, 1, 9223372036854775808, (2147483647, 9223372036854775801, 1))
t(2147483647, -7, 5, 0, (0, 0, 5))
t(2147483647, -7, 5, 1, (1, 0, 5))
t(2147483647, -7, 5, 5, (5, 0, 5))
t(2147483647, -7, 5, 10, (10, 3, 5))
t(2147483647, -7, 5, 100, (100, 93, 5))
t(2147483647, -7, 5, 2147483647, (2147483647, 2147483640, 5))
t(2147483647, -7, 5, 9223372036854775808, (2147483647, 9223372036854775801, 5))
t(2147483647, -7, 20, 0, (0, 0, 20))
t(2147483647, -7, 20, 1, (1, 0, 20))
t(2147483647, -7, 20, 5, (5, 0, 20))
t(2147483647, -7, 20, 10, (10, 3, 20))
t(2147483647, -7, 20, 100, (100, 93, 20))
t(2147483647, -7, 20, 2147483647, (2147483647, 2147483640, 20))
t(2147483647, -7, 20, 9223372036854775808, (2147483647, 9223372036854775801, 20))
t(2147483647, -7, 2147483647, 0, (0, 0, 2147483647))
t(2147483647, -7, 2147483647, 1, (1, 0, 2147483647))
t(2147483647, -7, 2147483647, 5, (5, 0, 2147483647))
t(2147483647, -7, 2147483647, 10, (10, 3, 2147483647))
t(2147483647, -7, 2147483647, 100, (100, 93, 2147483647))
t(2147483647, -7, 2147483647, 2147483647, (2147483647, 2147483640, 2147483647))
t(2147483647, -7, 2147483647, 9223372036854775808, (2147483647, 9223372036854775801, 2147483647))
t(2147483647, -7, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(2147483647, -7, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(2147483647, -7, 9223372036854775808, 5, (5, 0, 9223372036854775808))
t(2147483647, -7, 9223372036854775808, 10, (10, 3, 9223372036854775808))
t(2147483647, -7, 9223372036854775808, 100, (100, 93, 9223372036854775808))
t(2147483647, -7, 9223372036854775808, 2147483647, (2147483647, 2147483640, 9223372036854775808))
t(2147483647, -7, 9223372036854775808, 9223372036854775808, (2147483647, 9223372036854775801, 9223372036854775808))
t(2147483647, -2, None, 0, (0, 0, 1))
t(2147483647, -2, None, 1, (1, 0, 1))
t(2147483647, -2, None, 5, (5, 3, 1))
t(2147483647, -2, None, 10, (10, 8, 1))
t(2147483647, -2, None, 100, (100, 98, 1))
t(2147483647, -2, None, 2147483647, (2147483647, 2147483645, 1))
t(2147483647, -2, None, 9223372036854775808, (2147483647, 9223372036854775806, 1))
t(2147483647, -2, -5, 0, (-1, -1, -5))
t(2147483647, -2, -5, 1, (0, -1, -5))
t(2147483647, -2, -5, 5, (4, 3, -5))
t(2147483647, -2, -5, 10, (9, 8, -5))
t(2147483647, -2, -5, 100, (99, 98, -5))
t(2147483647, -2, -5, 2147483647, (2147483646, 2147483645, -5))
t(2147483647, -2, -5, 9223372036854775808, (2147483647, 9223372036854775806, -5))
t(2147483647, -2, -3, 0, (-1, -1, -3))
t(2147483647, -2, -3, 1, (0, -1, -3))
t(2147483647, -2, -3, 5, (4, 3, -3))
t(2147483647, -2, -3, 10, (9, 8, -3))
t(2147483647, -2, -3, 100, (99, 98, -3))
t(2147483647, -2, -3, 2147483647, (2147483646, 2147483645, -3))
t(2147483647, -2, -3, 9223372036854775808, (2147483647, 9223372036854775806, -3))
t(2147483647, -2, -1, 0, (-1, -1, -1))
t(2147483647, -2, -1, 1, (0, -1, -1))
t(2147483647, -2, -1, 5, (4, 3, -1))
t(2147483647, -2, -1, 10, (9, 8, -1))
t(2147483647, -2, -1, 100, (99, 98, -1))
t(2147483647, -2, -1, 2147483647, (2147483646, 2147483645, -1))
t(2147483647, -2, -1, 9223372036854775808, (2147483647, 9223372036854775806, -1))
t(2147483647, -2, 1, 0, (0, 0, 1))
t(2147483647, -2, 1, 1, (1, 0, 1))
t(2147483647, -2, 1, 5, (5, 3, 1))
t(2147483647, -2, 1, 10, (10, 8, 1))
t(2147483647, -2, 1, 100, (100, 98, 1))
t(2147483647, -2, 1, 2147483647, (2147483647, 2147483645, 1))
t(2147483647, -2, 1, 9223372036854775808, (2147483647, 9223372036854775806, 1))
t(2147483647, -2, 5, 0, (0, 0, 5))
t(2147483647, -2, 5, 1, (1, 0, 5))
t(2147483647, -2, 5, 5, (5, 3, 5))
t(2147483647, -2, 5, 10, (10, 8, 5))
t(2147483647, -2, 5, 100, (100, 98, 5))
t(2147483647, -2, 5, 2147483647, (2147483647, 2147483645, 5))
t(2147483647, -2, 5, 9223372036854775808, (2147483647, 9223372036854775806, 5))
t(2147483647, -2, 20, 0, (0, 0, 20))
t(2147483647, -2, 20, 1, (1, 0, 20))
t(2147483647, -2, 20, 5, (5, 3, 20))
t(2147483647, -2, 20, 10, (10, 8, 20))
t(2147483647, -2, 20, 100, (100, 98, 20))
t(2147483647, -2, 20, 2147483647, (2147483647, 2147483645, 20))
t(2147483647, -2, 20, 9223372036854775808, (2147483647, 9223372036854775806, 20))
t(2147483647, -2, 2147483647, 0, (0, 0, 2147483647))
t(2147483647, -2, 2147483647, 1, (1, 0, 2147483647))
t(2147483647, -2, 2147483647, 5, (5, 3, 2147483647))
t(2147483647, -2, 2147483647, 10, (10, 8, 2147483647))
t(2147483647, -2, 2147483647, 100, (100, 98, 2147483647))
t(2147483647, -2, 2147483647, 2147483647, (2147483647, 2147483645, 2147483647))
t(2147483647, -2, 2147483647, 9223372036854775808, (2147483647, 9223372036854775806, 2147483647))
t(2147483647, -2, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(2147483647, -2, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(2147483647, -2, 9223372036854775808, 5, (5, 3, 9223372036854775808))
t(2147483647, -2, 9223372036854775808, 10, (10, 8, 9223372036854775808))
t(2147483647, -2, 9223372036854775808, 100, (100, 98, 9223372036854775808))
t(2147483647, -2, 9223372036854775808, 2147483647, (2147483647, 2147483645, 9223372036854775808))
t(2147483647, -2, 9223372036854775808, 9223372036854775808, (2147483647, 9223372036854775806, 9223372036854775808))
t(2147483647, 0, None, 0, (0, 0, 1))
t(2147483647, 0, None, 1, (1, 0, 1))
t(2147483647, 0, None, 5, (5, 0, 1))
t(2147483647, 0, None, 10, (10, 0, 1))
t(2147483647, 0, None, 100, (100, 0, 1))
t(2147483647, 0, None, 2147483647, (2147483647, 0, 1))
t(2147483647, 0, None, 9223372036854775808, (2147483647, 0, 1))
t(2147483647, 0, -5, 0, (-1, -1, -5))
t(2147483647, 0, -5, 1, (0, 0, -5))
t(2147483647, 0, -5, 5, (4, 0, -5))
t(2147483647, 0, -5, 10, (9, 0, -5))
t(2147483647, 0, -5, 100, (99, 0, -5))
t(2147483647, 0, -5, 2147483647, (2147483646, 0, -5))
t(2147483647, 0, -5, 9223372036854775808, (2147483647, 0, -5))
t(2147483647, 0, -3, 0, (-1, -1, -3))
t(2147483647, 0, -3, 1, (0, 0, -3))
t(2147483647, 0, -3, 5, (4, 0, -3))
t(2147483647, 0, -3, 10, (9, 0, -3))
t(2147483647, 0, -3, 100, (99, 0, -3))
t(2147483647, 0, -3, 2147483647, (2147483646, 0, -3))
t(2147483647, 0, -3, 9223372036854775808, (2147483647, 0, -3))
t(2147483647, 0, -1, 0, (-1, -1, -1))
t(2147483647, 0, -1, 1, (0, 0, -1))
t(2147483647, 0, -1, 5, (4, 0, -1))
t(2147483647, 0, -1, 10, (9, 0, -1))
t(2147483647, 0, -1, 100, (99, 0, -1))
t(2147483647, 0, -1, 2147483647, (2147483646, 0, -1))
t(2147483647, 0, -1, 9223372036854775808, (2147483647, 0, -1))
t(2147483647, 0, 1, 0, (0, 0, 1))
t(2147483647, 0, 1, 1, (1, 0, 1))
t(2147483647, 0, 1, 5, (5, 0, 1))
t(2147483647, 0, 1, 10, (10, 0, 1))
t(2147483647, 0, 1, 100, (100, 0, 1))
t(2147483647, 0, 1, 2147483647, (2147483647, 0, 1))
t(2147483647, 0, 1, 9223372036854775808, (2147483647, 0, 1))
t(2147483647, 0, 5, 0, (0, 0, 5))
t(2147483647, 0, 5, 1, (1, 0, 5))
t(2147483647, 0, 5, 5, (5, 0, 5))
t(2147483647, 0, 5, 10, (10, 0, 5))
t(2147483647, 0, 5, 100, (100, 0, 5))
t(2147483647, 0, 5, 2147483647, (2147483647, 0, 5))
t(2147483647, 0, 5, 9223372036854775808, (2147483647, 0, 5))
t(2147483647, 0, 20, 0, (0, 0, 20))
t(2147483647, 0, 20, 1, (1, 0, 20))
t(2147483647, 0, 20, 5, (5, 0, 20))
t(2147483647, 0, 20, 10, (10, 0, 20))
t(2147483647, 0, 20, 100, (100, 0, 20))
t(2147483647, 0, 20, 2147483647, (2147483647, 0, 20))
t(2147483647, 0, 20, 9223372036854775808, (2147483647, 0, 20))
t(2147483647, 0, 2147483647, 0, (0, 0, 2147483647))
t(2147483647, 0, 2147483647, 1, (1, 0, 2147483647))
t(2147483647, 0, 2147483647, 5, (5, 0, 2147483647))
t(2147483647, 0, 2147483647, 10, (10, 0, 2147483647))
t(2147483647, 0, 2147483647, 100, (100, 0, 2147483647))
t(2147483647, 0, 2147483647, 2147483647, (2147483647, 0, 2147483647))
t(2147483647, 0, 2147483647, 9223372036854775808, (2147483647, 0, 2147483647))
t(2147483647, 0, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(2147483647, 0, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(2147483647, 0, 9223372036854775808, 5, (5, 0, 9223372036854775808))
t(2147483647, 0, 9223372036854775808, 10, (10, 0, 9223372036854775808))
t(2147483647, 0, 9223372036854775808, 100, (100, 0, 9223372036854775808))
t(2147483647, 0, 9223372036854775808, 2147483647, (2147483647, 0, 9223372036854775808))
t(2147483647, 0, 9223372036854775808, 9223372036854775808, (2147483647, 0, 9223372036854775808))
t(2147483647, 1, None, 0, (0, 0, 1))
t(2147483647, 1, None, 1, (1, 1, 1))
t(2147483647, 1, None, 5, (5, 1, 1))
t(2147483647, 1, None, 10, (10, 1, 1))
t(2147483647, 1, None, 100, (100, 1, 1))
t(2147483647, 1, None, 2147483647, (2147483647, 1, 1))
t(2147483647, 1, None, 9223372036854775808, (2147483647, 1, 1))
t(2147483647, 1, -5, 0, (-1, -1, -5))
t(2147483647, 1, -5, 1, (0, 0, -5))
t(2147483647, 1, -5, 5, (4, 1, -5))
t(2147483647, 1, -5, 10, (9, 1, -5))
t(2147483647, 1, -5, 100, (99, 1, -5))
t(2147483647, 1, -5, 2147483647, (2147483646, 1, -5))
t(2147483647, 1, -5, 9223372036854775808, (2147483647, 1, -5))
t(2147483647, 1, -3, 0, (-1, -1, -3))
t(2147483647, 1, -3, 1, (0, 0, -3))
t(2147483647, 1, -3, 5, (4, 1, -3))
t(2147483647, 1, -3, 10, (9, 1, -3))
t(2147483647, 1, -3, 100, (99, 1, -3))
t(2147483647, 1, -3, 2147483647, (2147483646, 1, -3))
t(2147483647, 1, -3, 9223372036854775808, (2147483647, 1, -3))
t(2147483647, 1, -1, 0, (-1, -1, -1))
t(2147483647, 1, -1, 1, (0, 0, -1))
t(2147483647, 1, -1, 5, (4, 1, -1))
t(2147483647, 1, -1, 10, (9, 1, -1))
t(2147483647, 1, -1, 100, (99, 1, -1))
t(2147483647, 1, -1, 2147483647, (2147483646, 1, -1))
t(2147483647, 1, -1, 9223372036854775808, (2147483647, 1, -1))
t(2147483647, 1, 1, 0, (0, 0, 1))
t(2147483647, 1, 1, 1, (1, 1, 1))
t(2147483647, 1, 1, 5, (5, 1, 1))
t(2147483647, 1, 1, 10, (10, 1, 1))
t(2147483647, 1, 1, 100, (100, 1, 1))
t(2147483647, 1, 1, 2147483647, (2147483647, 1, 1))
t(2147483647, 1, 1, 9223372036854775808, (2147483647, 1, 1))
t(2147483647, 1, 5, 0, (0, 0, 5))
t(2147483647, 1, 5, 1, (1, 1, 5))
t(2147483647, 1, 5, 5, (5, 1, 5))
t(2147483647, 1, 5, 10, (10, 1, 5))
t(2147483647, 1, 5, 100, (100, 1, 5))
t(2147483647, 1, 5, 2147483647, (2147483647, 1, 5))
t(2147483647, 1, 5, 9223372036854775808, (2147483647, 1, 5))
t(2147483647, 1, 20, 0, (0, 0, 20))
t(2147483647, 1, 20, 1, (1, 1, 20))
t(2147483647, 1, 20, 5, (5, 1, 20))
t(2147483647, 1, 20, 10, (10, 1, 20))
t(2147483647, 1, 20, 100, (100, 1, 20))
t(2147483647, 1, 20, 2147483647, (2147483647, 1, 20))
t(2147483647, 1, 20, 9223372036854775808, (2147483647, 1, 20))
t(2147483647, 1, 2147483647, 0, (0, 0, 2147483647))
t(2147483647, 1, 2147483647, 1, (1, 1, 2147483647))
t(2147483647, 1, 2147483647, 5, (5, 1, 2147483647))
t(2147483647, 1, 2147483647, 10, (10, 1, 2147483647))
t(2147483647, 1, 2147483647, 100, (100, 1, 2147483647))
t(2147483647, 1, 2147483647, 2147483647, (2147483647, 1, 2147483647))
t(2147483647, 1, 2147483647, 9223372036854775808, (2147483647, 1, 2147483647))
t(2147483647, 1, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(2147483647, 1, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(2147483647, 1, 9223372036854775808, 5, (5, 1, 9223372036854775808))
t(2147483647, 1, 9223372036854775808, 10, (10, 1, 9223372036854775808))
t(2147483647, 1, 9223372036854775808, 100, (100, 1, 9223372036854775808))
t(2147483647, 1, 9223372036854775808, 2147483647, (2147483647, 1, 9223372036854775808))
t(2147483647, 1, 9223372036854775808, 9223372036854775808, (2147483647, 1, 9223372036854775808))
t(2147483647, 6, None, 0, (0, 0, 1))
t(2147483647, 6, None, 1, (1, 1, 1))
t(2147483647, 6, None, 5, (5, 5, 1))
t(2147483647, 6, None, 10, (10, 6, 1))
t(2147483647, 6, None, 100, (100, 6, 1))
t(2147483647, 6, None, 2147483647, (2147483647, 6, 1))
t(2147483647, 6, None, 9223372036854775808, (2147483647, 6, 1))
t(2147483647, 6, -5, 0, (-1, -1, -5))
t(2147483647, 6, -5, 1, (0, 0, -5))
t(2147483647, 6, -5, 5, (4, 4, -5))
t(2147483647, 6, -5, 10, (9, 6, -5))
t(2147483647, 6, -5, 100, (99, 6, -5))
t(2147483647, 6, -5, 2147483647, (2147483646, 6, -5))
t(2147483647, 6, -5, 9223372036854775808, (2147483647, 6, -5))
t(2147483647, 6, -3, 0, (-1, -1, -3))
t(2147483647, 6, -3, 1, (0, 0, -3))
t(2147483647, 6, -3, 5, (4, 4, -3))
t(2147483647, 6, -3, 10, (9, 6, -3))
t(2147483647, 6, -3, 100, (99, 6, -3))
t(2147483647, 6, -3, 2147483647, (2147483646, 6, -3))
t(2147483647, 6, -3, 9223372036854775808, (2147483647, 6, -3))
t(2147483647, 6, -1, 0, (-1, -1, -1))
t(2147483647, 6, -1, 1, (0, 0, -1))
t(2147483647, 6, -1, 5, (4, 4, -1))
t(2147483647, 6, -1, 10, (9, 6, -1))
t(2147483647, 6, -1, 100, (99, 6, -1))
t(2147483647, 6, -1, 2147483647, (2147483646, 6, -1))
t(2147483647, 6, -1, 9223372036854775808, (2147483647, 6, -1))
t(2147483647, 6, 1, 0, (0, 0, 1))
t(2147483647, 6, 1, 1, (1, 1, 1))
t(2147483647, 6, 1, 5, (5, 5, 1))
t(2147483647, 6, 1, 10, (10, 6, 1))
t(2147483647, 6, 1, 100, (100, 6, 1))
t(2147483647, 6, 1, 2147483647, (2147483647, 6, 1))
t(2147483647, 6, 1, 9223372036854775808, (2147483647, 6, 1))
t(2147483647, 6, 5, 0, (0, 0, 5))
t(2147483647, 6, 5, 1, (1, 1, 5))
t(2147483647, 6, 5, 5, (5, 5, 5))
t(2147483647, 6, 5, 10, (10, 6, 5))
t(2147483647, 6, 5, 100, (100, 6, 5))
t(2147483647, 6, 5, 2147483647, (2147483647, 6, 5))
t(2147483647, 6, 5, 9223372036854775808, (2147483647, 6, 5))
t(2147483647, 6, 20, 0, (0, 0, 20))
t(2147483647, 6, 20, 1, (1, 1, 20))
t(2147483647, 6, 20, 5, (5, 5, 20))
t(2147483647, 6, 20, 10, (10, 6, 20))
t(2147483647, 6, 20, 100, (100, 6, 20))
t(2147483647, 6, 20, 2147483647, (2147483647, 6, 20))
t(2147483647, 6, 20, 9223372036854775808, (2147483647, 6, 20))
t(2147483647, 6, 2147483647, 0, (0, 0, 2147483647))
t(2147483647, 6, 2147483647, 1, (1, 1, 2147483647))
t(2147483647, 6, 2147483647, 5, (5, 5, 2147483647))
t(2147483647, 6, 2147483647, 10, (10, 6, 2147483647))
t(2147483647, 6, 2147483647, 100, (100, 6, 2147483647))
t(2147483647, 6, 2147483647, 2147483647, (2147483647, 6, 2147483647))
t(2147483647, 6, 2147483647, 9223372036854775808, (2147483647, 6, 2147483647))
t(2147483647, 6, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(2147483647, 6, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(2147483647, 6, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(2147483647, 6, 9223372036854775808, 10, (10, 6, 9223372036854775808))
t(2147483647, 6, 9223372036854775808, 100, (100, 6, 9223372036854775808))
t(2147483647, 6, 9223372036854775808, 2147483647, (2147483647, 6, 9223372036854775808))
t(2147483647, 6, 9223372036854775808, 9223372036854775808, (2147483647, 6, 9223372036854775808))
t(2147483647, 10, None, 0, (0, 0, 1))
t(2147483647, 10, None, 1, (1, 1, 1))
t(2147483647, 10, None, 5, (5, 5, 1))
t(2147483647, 10, None, 10, (10, 10, 1))
t(2147483647, 10, None, 100, (100, 10, 1))
t(2147483647, 10, None, 2147483647, (2147483647, 10, 1))
t(2147483647, 10, None, 9223372036854775808, (2147483647, 10, 1))
t(2147483647, 10, -5, 0, (-1, -1, -5))
t(2147483647, 10, -5, 1, (0, 0, -5))
t(2147483647, 10, -5, 5, (4, 4, -5))
t(2147483647, 10, -5, 10, (9, 9, -5))
t(2147483647, 10, -5, 100, (99, 10, -5))
t(2147483647, 10, -5, 2147483647, (2147483646, 10, -5))
t(2147483647, 10, -5, 9223372036854775808, (2147483647, 10, -5))
t(2147483647, 10, -3, 0, (-1, -1, -3))
t(2147483647, 10, -3, 1, (0, 0, -3))
t(2147483647, 10, -3, 5, (4, 4, -3))
t(2147483647, 10, -3, 10, (9, 9, -3))
t(2147483647, 10, -3, 100, (99, 10, -3))
t(2147483647, 10, -3, 2147483647, (2147483646, 10, -3))
t(2147483647, 10, -3, 9223372036854775808, (2147483647, 10, -3))
t(2147483647, 10, -1, 0, (-1, -1, -1))
t(2147483647, 10, -1, 1, (0, 0, -1))
t(2147483647, 10, -1, 5, (4, 4, -1))
t(2147483647, 10, -1, 10, (9, 9, -1))
t(2147483647, 10, -1, 100, (99, 10, -1))
t(2147483647, 10, -1, 2147483647, (2147483646, 10, -1))
t(2147483647, 10, -1, 9223372036854775808, (2147483647, 10, -1))
t(2147483647, 10, 1, 0, (0, 0, 1))
t(2147483647, 10, 1, 1, (1, 1, 1))
t(2147483647, 10, 1, 5, (5, 5, 1))
t(2147483647, 10, 1, 10, (10, 10, 1))
t(2147483647, 10, 1, 100, (100, 10, 1))
t(2147483647, 10, 1, 2147483647, (2147483647, 10, 1))
t(2147483647, 10, 1, 9223372036854775808, (2147483647, 10, 1))
t(2147483647, 10, 5, 0, (0, 0, 5))
t(2147483647, 10, 5, 1, (1, 1, 5))
t(2147483647, 10, 5, 5, (5, 5, 5))
t(2147483647, 10, 5, 10, (10, 10, 5))
t(2147483647, 10, 5, 100, (100, 10, 5))
t(2147483647, 10, 5, 2147483647, (2147483647, 10, 5))
t(2147483647, 10, 5, 9223372036854775808, (2147483647, 10, 5))
t(2147483647, 10, 20, 0, (0, 0, 20))
t(2147483647, 10, 20, 1, (1, 1, 20))
t(2147483647, 10, 20, 5, (5, 5, 20))
t(2147483647, 10, 20, 10, (10, 10, 20))
t(2147483647, 10, 20, 100, (100, 10, 20))
t(2147483647, 10, 20, 2147483647, (2147483647, 10, 20))
t(2147483647, 10, 20, 9223372036854775808, (2147483647, 10, 20))
t(2147483647, 10, 2147483647, 0, (0, 0, 2147483647))
t(2147483647, 10, 2147483647, 1, (1, 1, 2147483647))
t(2147483647, 10, 2147483647, 5, (5, 5, 2147483647))
t(2147483647, 10, 2147483647, 10, (10, 10, 2147483647))
t(2147483647, 10, 2147483647, 100, (100, 10, 2147483647))
t(2147483647, 10, 2147483647, 2147483647, (2147483647, 10, 2147483647))
t(2147483647, 10, 2147483647, 9223372036854775808, (2147483647, 10, 2147483647))
t(2147483647, 10, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(2147483647, 10, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(2147483647, 10, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(2147483647, 10, 9223372036854775808, 10, (10, 10, 9223372036854775808))
t(2147483647, 10, 9223372036854775808, 100, (100, 10, 9223372036854775808))
t(2147483647, 10, 9223372036854775808, 2147483647, (2147483647, 10, 9223372036854775808))
t(2147483647, 10, 9223372036854775808, 9223372036854775808, (2147483647, 10, 9223372036854775808))
t(2147483647, 2147483647, None, 0, (0, 0, 1))
t(2147483647, 2147483647, None, 1, (1, 1, 1))
t(2147483647, 2147483647, None, 5, (5, 5, 1))
t(2147483647, 2147483647, None, 10, (10, 10, 1))
t(2147483647, 2147483647, None, 100, (100, 100, 1))
t(2147483647, 2147483647, None, 2147483647, (2147483647, 2147483647, 1))
t(2147483647, 2147483647, None, 9223372036854775808, (2147483647, 2147483647, 1))
t(2147483647, 2147483647, -5, 0, (-1, -1, -5))
t(2147483647, 2147483647, -5, 1, (0, 0, -5))
t(2147483647, 2147483647, -5, 5, (4, 4, -5))
t(2147483647, 2147483647, -5, 10, (9, 9, -5))
t(2147483647, 2147483647, -5, 100, (99, 99, -5))
t(2147483647, 2147483647, -5, 2147483647, (2147483646, 2147483646, -5))
t(2147483647, 2147483647, -5, 9223372036854775808, (2147483647, 2147483647, -5))
t(2147483647, 2147483647, -3, 0, (-1, -1, -3))
t(2147483647, 2147483647, -3, 1, (0, 0, -3))
t(2147483647, 2147483647, -3, 5, (4, 4, -3))
t(2147483647, 2147483647, -3, 10, (9, 9, -3))
t(2147483647, 2147483647, -3, 100, (99, 99, -3))
t(2147483647, 2147483647, -3, 2147483647, (2147483646, 2147483646, -3))
t(2147483647, 2147483647, -3, 9223372036854775808, (2147483647, 2147483647, -3))
t(2147483647, 2147483647, -1, 0, (-1, -1, -1))
t(2147483647, 2147483647, -1, 1, (0, 0, -1))
t(2147483647, 2147483647, -1, 5, (4, 4, -1))
t(2147483647, 2147483647, -1, 10, (9, 9, -1))
t(2147483647, 2147483647, -1, 100, (99, 99, -1))
t(2147483647, 2147483647, -1, 2147483647, (2147483646, 2147483646, -1))
t(2147483647, 2147483647, -1, 9223372036854775808, (2147483647, 2147483647, -1))
t(2147483647, 2147483647, 1, 0, (0, 0, 1))
t(2147483647, 2147483647, 1, 1, (1, 1, 1))
t(2147483647, 2147483647, 1, 5, (5, 5, 1))
t(2147483647, 2147483647, 1, 10, (10, 10, 1))
t(2147483647, 2147483647, 1, 100, (100, 100, 1))
t(2147483647, 2147483647, 1, 2147483647, (2147483647, 2147483647, 1))
t(2147483647, 2147483647, 1, 9223372036854775808, (2147483647, 2147483647, 1))
t(2147483647, 2147483647, 5, 0, (0, 0, 5))
t(2147483647, 2147483647, 5, 1, (1, 1, 5))
t(2147483647, 2147483647, 5, 5, (5, 5, 5))
t(2147483647, 2147483647, 5, 10, (10, 10, 5))
t(2147483647, 2147483647, 5, 100, (100, 100, 5))
t(2147483647, 2147483647, 5, 2147483647, (2147483647, 2147483647, 5))
t(2147483647, 2147483647, 5, 9223372036854775808, (2147483647, 2147483647, 5))
t(2147483647, 2147483647, 20, 0, (0, 0, 20))
t(2147483647, 2147483647, 20, 1, (1, 1, 20))
t(2147483647, 2147483647, 20, 5, (5, 5, 20))
t(2147483647, 2147483647, 20, 10, (10, 10, 20))
t(2147483647, 2147483647, 20, 100, (100, 100, 20))
t(2147483647, 2147483647, 20, 2147483647, (2147483647, 2147483647, 20))
t(2147483647, 2147483647, 20, 9223372036854775808, (2147483647, 2147483647, 20))
t(2147483647, 2147483647, 2147483647, 0, (0, 0, 2147483647))
t(2147483647, 2147483647, 2147483647, 1, (1, 1, 2147483647))
t(2147483647, 2147483647, 2147483647, 5, (5, 5, 2147483647))
t(2147483647, 2147483647, 2147483647, 10, (10, 10, 2147483647))
t(2147483647, 2147483647, 2147483647, 100, (100, 100, 2147483647))
t(2147483647, 2147483647, 2147483647, 2147483647, (2147483647, 2147483647, 2147483647))
t(2147483647, 2147483647, 2147483647, 9223372036854775808, (2147483647, 2147483647, 2147483647))
t(2147483647, 2147483647, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(2147483647, 2147483647, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(2147483647, 2147483647, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(2147483647, 2147483647, 9223372036854775808, 10, (10, 10, 9223372036854775808))
t(2147483647, 2147483647, 9223372036854775808, 100, (100, 100, 9223372036854775808))
t(2147483647, 2147483647, 9223372036854775808, 2147483647, (2147483647, 2147483647, 9223372036854775808))
t(2147483647, 2147483647, 9223372036854775808, 9223372036854775808, (2147483647, 2147483647, 9223372036854775808))
t(2147483647, 9223372036854775808, None, 0, (0, 0, 1))
t(2147483647, 9223372036854775808, None, 1, (1, 1, 1))
t(2147483647, 9223372036854775808, None, 5, (5, 5, 1))
t(2147483647, 9223372036854775808, None, 10, (10, 10, 1))
t(2147483647, 9223372036854775808, None, 100, (100, 100, 1))
t(2147483647, 9223372036854775808, None, 2147483647, (2147483647, 2147483647, 1))
t(2147483647, 9223372036854775808, None, 9223372036854775808, (2147483647, 9223372036854775808, 1))
t(2147483647, 9223372036854775808, -5, 0, (-1, -1, -5))
t(2147483647, 9223372036854775808, -5, 1, (0, 0, -5))
t(2147483647, 9223372036854775808, -5, 5, (4, 4, -5))
t(2147483647, 9223372036854775808, -5, 10, (9, 9, -5))
t(2147483647, 9223372036854775808, -5, 100, (99, 99, -5))
t(2147483647, 9223372036854775808, -5, 2147483647, (2147483646, 2147483646, -5))
t(2147483647, 9223372036854775808, -5, 9223372036854775808, (2147483647, 9223372036854775807, -5))
t(2147483647, 9223372036854775808, -3, 0, (-1, -1, -3))
t(2147483647, 9223372036854775808, -3, 1, (0, 0, -3))
t(2147483647, 9223372036854775808, -3, 5, (4, 4, -3))
t(2147483647, 9223372036854775808, -3, 10, (9, 9, -3))
t(2147483647, 9223372036854775808, -3, 100, (99, 99, -3))
t(2147483647, 9223372036854775808, -3, 2147483647, (2147483646, 2147483646, -3))
t(2147483647, 9223372036854775808, -3, 9223372036854775808, (2147483647, 9223372036854775807, -3))
t(2147483647, 9223372036854775808, -1, 0, (-1, -1, -1))
t(2147483647, 9223372036854775808, -1, 1, (0, 0, -1))
t(2147483647, 9223372036854775808, -1, 5, (4, 4, -1))
t(2147483647, 9223372036854775808, -1, 10, (9, 9, -1))
t(2147483647, 9223372036854775808, -1, 100, (99, 99, -1))
t(2147483647, 9223372036854775808, -1, 2147483647, (2147483646, 2147483646, -1))
t(2147483647, 9223372036854775808, -1, 9223372036854775808, (2147483647, 9223372036854775807, -1))
t(2147483647, 9223372036854775808, 1, 0, (0, 0, 1))
t(2147483647, 9223372036854775808, 1, 1, (1, 1, 1))
t(2147483647, 9223372036854775808, 1, 5, (5, 5, 1))
t(2147483647, 9223372036854775808, 1, 10, (10, 10, 1))
t(2147483647, 9223372036854775808, 1, 100, (100, 100, 1))
t(2147483647, 9223372036854775808, 1, 2147483647, (2147483647, 2147483647, 1))
t(2147483647, 9223372036854775808, 1, 9223372036854775808, (2147483647, 9223372036854775808, 1))
t(2147483647, 9223372036854775808, 5, 0, (0, 0, 5))
t(2147483647, 9223372036854775808, 5, 1, (1, 1, 5))
t(2147483647, 9223372036854775808, 5, 5, (5, 5, 5))
t(2147483647, 9223372036854775808, 5, 10, (10, 10, 5))
t(2147483647, 9223372036854775808, 5, 100, (100, 100, 5))
t(2147483647, 9223372036854775808, 5, 2147483647, (2147483647, 2147483647, 5))
t(2147483647, 9223372036854775808, 5, 9223372036854775808, (2147483647, 9223372036854775808, 5))
t(2147483647, 9223372036854775808, 20, 0, (0, 0, 20))
t(2147483647, 9223372036854775808, 20, 1, (1, 1, 20))
t(2147483647, 9223372036854775808, 20, 5, (5, 5, 20))
t(2147483647, 9223372036854775808, 20, 10, (10, 10, 20))
t(2147483647, 9223372036854775808, 20, 100, (100, 100, 20))
t(2147483647, 9223372036854775808, 20, 2147483647, (2147483647, 2147483647, 20))
t(2147483647, 9223372036854775808, 20, 9223372036854775808, (2147483647, 9223372036854775808, 20))
t(2147483647, 9223372036854775808, 2147483647, 0, (0, 0, 2147483647))
t(2147483647, 9223372036854775808, 2147483647, 1, (1, 1, 2147483647))
t(2147483647, 9223372036854775808, 2147483647, 5, (5, 5, 2147483647))
t(2147483647, 9223372036854775808, 2147483647, 10, (10, 10, 2147483647))
t(2147483647, 9223372036854775808, 2147483647, 100, (100, 100, 2147483647))
t(2147483647, 9223372036854775808, 2147483647, 2147483647, (2147483647, 2147483647, 2147483647))
t(2147483647, 9223372036854775808, 2147483647, 9223372036854775808, (2147483647, 9223372036854775808, 2147483647))
t(2147483647, 9223372036854775808, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(2147483647, 9223372036854775808, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(2147483647, 9223372036854775808, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(2147483647, 9223372036854775808, 9223372036854775808, 10, (10, 10, 9223372036854775808))
t(2147483647, 9223372036854775808, 9223372036854775808, 100, (100, 100, 9223372036854775808))
t(2147483647, 9223372036854775808, 9223372036854775808, 2147483647, (2147483647, 2147483647, 9223372036854775808))
t(2147483647, 9223372036854775808, 9223372036854775808, 9223372036854775808, (2147483647, 9223372036854775808, 9223372036854775808))
t(9223372036854775808, None, None, 0, (0, 0, 1))
t(9223372036854775808, None, None, 1, (1, 1, 1))
t(9223372036854775808, None, None, 5, (5, 5, 1))
t(9223372036854775808, None, None, 10, (10, 10, 1))
t(9223372036854775808, None, None, 100, (100, 100, 1))
t(9223372036854775808, None, None, 2147483647, (2147483647, 2147483647, 1))
t(9223372036854775808, None, None, 9223372036854775808, (9223372036854775808, 9223372036854775808, 1))
t(9223372036854775808, None, -5, 0, (-1, -1, -5))
t(9223372036854775808, None, -5, 1, (0, -1, -5))
t(9223372036854775808, None, -5, 5, (4, -1, -5))
t(9223372036854775808, None, -5, 10, (9, -1, -5))
t(9223372036854775808, None, -5, 100, (99, -1, -5))
t(9223372036854775808, None, -5, 2147483647, (2147483646, -1, -5))
t(9223372036854775808, None, -5, 9223372036854775808, (9223372036854775807, -1, -5))
t(9223372036854775808, None, -3, 0, (-1, -1, -3))
t(9223372036854775808, None, -3, 1, (0, -1, -3))
t(9223372036854775808, None, -3, 5, (4, -1, -3))
t(9223372036854775808, None, -3, 10, (9, -1, -3))
t(9223372036854775808, None, -3, 100, (99, -1, -3))
t(9223372036854775808, None, -3, 2147483647, (2147483646, -1, -3))
t(9223372036854775808, None, -3, 9223372036854775808, (9223372036854775807, -1, -3))
t(9223372036854775808, None, -1, 0, (-1, -1, -1))
t(9223372036854775808, None, -1, 1, (0, -1, -1))
t(9223372036854775808, None, -1, 5, (4, -1, -1))
t(9223372036854775808, None, -1, 10, (9, -1, -1))
t(9223372036854775808, None, -1, 100, (99, -1, -1))
t(9223372036854775808, None, -1, 2147483647, (2147483646, -1, -1))
t(9223372036854775808, None, -1, 9223372036854775808, (9223372036854775807, -1, -1))
t(9223372036854775808, None, 1, 0, (0, 0, 1))
t(9223372036854775808, None, 1, 1, (1, 1, 1))
t(9223372036854775808, None, 1, 5, (5, 5, 1))
t(9223372036854775808, None, 1, 10, (10, 10, 1))
t(9223372036854775808, None, 1, 100, (100, 100, 1))
t(9223372036854775808, None, 1, 2147483647, (2147483647, 2147483647, 1))
t(9223372036854775808, None, 1, 9223372036854775808, (9223372036854775808, 9223372036854775808, 1))
t(9223372036854775808, None, 5, 0, (0, 0, 5))
t(9223372036854775808, None, 5, 1, (1, 1, 5))
t(9223372036854775808, None, 5, 5, (5, 5, 5))
t(9223372036854775808, None, 5, 10, (10, 10, 5))
t(9223372036854775808, None, 5, 100, (100, 100, 5))
t(9223372036854775808, None, 5, 2147483647, (2147483647, 2147483647, 5))
t(9223372036854775808, None, 5, 9223372036854775808, (9223372036854775808, 9223372036854775808, 5))
t(9223372036854775808, None, 20, 0, (0, 0, 20))
t(9223372036854775808, None, 20, 1, (1, 1, 20))
t(9223372036854775808, None, 20, 5, (5, 5, 20))
t(9223372036854775808, None, 20, 10, (10, 10, 20))
t(9223372036854775808, None, 20, 100, (100, 100, 20))
t(9223372036854775808, None, 20, 2147483647, (2147483647, 2147483647, 20))
t(9223372036854775808, None, 20, 9223372036854775808, (9223372036854775808, 9223372036854775808, 20))
t(9223372036854775808, None, 2147483647, 0, (0, 0, 2147483647))
t(9223372036854775808, None, 2147483647, 1, (1, 1, 2147483647))
t(9223372036854775808, None, 2147483647, 5, (5, 5, 2147483647))
t(9223372036854775808, None, 2147483647, 10, (10, 10, 2147483647))
t(9223372036854775808, None, 2147483647, 100, (100, 100, 2147483647))
t(9223372036854775808, None, 2147483647, 2147483647, (2147483647, 2147483647, 2147483647))
t(9223372036854775808, None, 2147483647, 9223372036854775808, (9223372036854775808, 9223372036854775808, 2147483647))
t(9223372036854775808, None, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(9223372036854775808, None, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(9223372036854775808, None, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(9223372036854775808, None, 9223372036854775808, 10, (10, 10, 9223372036854775808))
t(9223372036854775808, None, 9223372036854775808, 100, (100, 100, 9223372036854775808))
t(9223372036854775808, None, 9223372036854775808, 2147483647, (2147483647, 2147483647, 9223372036854775808))
t(9223372036854775808, None, 9223372036854775808, 9223372036854775808, (9223372036854775808, 9223372036854775808, 9223372036854775808))
t(9223372036854775808, -7, None, 0, (0, 0, 1))
t(9223372036854775808, -7, None, 1, (1, 0, 1))
t(9223372036854775808, -7, None, 5, (5, 0, 1))
t(9223372036854775808, -7, None, 10, (10, 3, 1))
t(9223372036854775808, -7, None, 100, (100, 93, 1))
t(9223372036854775808, -7, None, 2147483647, (2147483647, 2147483640, 1))
t(9223372036854775808, -7, None, 9223372036854775808, (9223372036854775808, 9223372036854775801, 1))
t(9223372036854775808, -7, -5, 0, (-1, -1, -5))
t(9223372036854775808, -7, -5, 1, (0, -1, -5))
t(9223372036854775808, -7, -5, 5, (4, -1, -5))
t(9223372036854775808, -7, -5, 10, (9, 3, -5))
t(9223372036854775808, -7, -5, 100, (99, 93, -5))
t(9223372036854775808, -7, -5, 2147483647, (2147483646, 2147483640, -5))
t(9223372036854775808, -7, -5, 9223372036854775808, (9223372036854775807, 9223372036854775801, -5))
t(9223372036854775808, -7, -3, 0, (-1, -1, -3))
t(9223372036854775808, -7, -3, 1, (0, -1, -3))
t(9223372036854775808, -7, -3, 5, (4, -1, -3))
t(9223372036854775808, -7, -3, 10, (9, 3, -3))
t(9223372036854775808, -7, -3, 100, (99, 93, -3))
t(9223372036854775808, -7, -3, 2147483647, (2147483646, 2147483640, -3))
t(9223372036854775808, -7, -3, 9223372036854775808, (9223372036854775807, 9223372036854775801, -3))
t(9223372036854775808, -7, -1, 0, (-1, -1, -1))
t(9223372036854775808, -7, -1, 1, (0, -1, -1))
t(9223372036854775808, -7, -1, 5, (4, -1, -1))
t(9223372036854775808, -7, -1, 10, (9, 3, -1))
t(9223372036854775808, -7, -1, 100, (99, 93, -1))
t(9223372036854775808, -7, -1, 2147483647, (2147483646, 2147483640, -1))
t(9223372036854775808, -7, -1, 9223372036854775808, (9223372036854775807, 9223372036854775801, -1))
t(9223372036854775808, -7, 1, 0, (0, 0, 1))
t(9223372036854775808, -7, 1, 1, (1, 0, 1))
t(9223372036854775808, -7, 1, 5, (5, 0, 1))
t(9223372036854775808, -7, 1, 10, (10, 3, 1))
t(9223372036854775808, -7, 1, 100, (100, 93, 1))
t(9223372036854775808, -7, 1, 2147483647, (2147483647, 2147483640, 1))
t(9223372036854775808, -7, 1, 9223372036854775808, (9223372036854775808, 9223372036854775801, 1))
t(9223372036854775808, -7, 5, 0, (0, 0, 5))
t(9223372036854775808, -7, 5, 1, (1, 0, 5))
t(9223372036854775808, -7, 5, 5, (5, 0, 5))
t(9223372036854775808, -7, 5, 10, (10, 3, 5))
t(9223372036854775808, -7, 5, 100, (100, 93, 5))
t(9223372036854775808, -7, 5, 2147483647, (2147483647, 2147483640, 5))
t(9223372036854775808, -7, 5, 9223372036854775808, (9223372036854775808, 9223372036854775801, 5))
t(9223372036854775808, -7, 20, 0, (0, 0, 20))
t(9223372036854775808, -7, 20, 1, (1, 0, 20))
t(9223372036854775808, -7, 20, 5, (5, 0, 20))
t(9223372036854775808, -7, 20, 10, (10, 3, 20))
t(9223372036854775808, -7, 20, 100, (100, 93, 20))
t(9223372036854775808, -7, 20, 2147483647, (2147483647, 2147483640, 20))
t(9223372036854775808, -7, 20, 9223372036854775808, (9223372036854775808, 9223372036854775801, 20))
t(9223372036854775808, -7, 2147483647, 0, (0, 0, 2147483647))
t(9223372036854775808, -7, 2147483647, 1, (1, 0, 2147483647))
t(9223372036854775808, -7, 2147483647, 5, (5, 0, 2147483647))
t(9223372036854775808, -7, 2147483647, 10, (10, 3, 2147483647))
t(9223372036854775808, -7, 2147483647, 100, (100, 93, 2147483647))
t(9223372036854775808, -7, 2147483647, 2147483647, (2147483647, 2147483640, 2147483647))
t(9223372036854775808, -7, 2147483647, 9223372036854775808, (9223372036854775808, 9223372036854775801, 2147483647))
t(9223372036854775808, -7, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(9223372036854775808, -7, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(9223372036854775808, -7, 9223372036854775808, 5, (5, 0, 9223372036854775808))
t(9223372036854775808, -7, 9223372036854775808, 10, (10, 3, 9223372036854775808))
t(9223372036854775808, -7, 9223372036854775808, 100, (100, 93, 9223372036854775808))
t(9223372036854775808, -7, 9223372036854775808, 2147483647, (2147483647, 2147483640, 9223372036854775808))
t(9223372036854775808, -7, 9223372036854775808, 9223372036854775808, (9223372036854775808, 9223372036854775801, 9223372036854775808))
t(9223372036854775808, -2, None, 0, (0, 0, 1))
t(9223372036854775808, -2, None, 1, (1, 0, 1))
t(9223372036854775808, -2, None, 5, (5, 3, 1))
t(9223372036854775808, -2, None, 10, (10, 8, 1))
t(9223372036854775808, -2, None, 100, (100, 98, 1))
t(9223372036854775808, -2, None, 2147483647, (2147483647, 2147483645, 1))
t(9223372036854775808, -2, None, 9223372036854775808, (9223372036854775808, 9223372036854775806, 1))
t(9223372036854775808, -2, -5, 0, (-1, -1, -5))
t(9223372036854775808, -2, -5, 1, (0, -1, -5))
t(9223372036854775808, -2, -5, 5, (4, 3, -5))
t(9223372036854775808, -2, -5, 10, (9, 8, -5))
t(9223372036854775808, -2, -5, 100, (99, 98, -5))
t(9223372036854775808, -2, -5, 2147483647, (2147483646, 2147483645, -5))
t(9223372036854775808, -2, -5, 9223372036854775808, (9223372036854775807, 9223372036854775806, -5))
t(9223372036854775808, -2, -3, 0, (-1, -1, -3))
t(9223372036854775808, -2, -3, 1, (0, -1, -3))
t(9223372036854775808, -2, -3, 5, (4, 3, -3))
t(9223372036854775808, -2, -3, 10, (9, 8, -3))
t(9223372036854775808, -2, -3, 100, (99, 98, -3))
t(9223372036854775808, -2, -3, 2147483647, (2147483646, 2147483645, -3))
t(9223372036854775808, -2, -3, 9223372036854775808, (9223372036854775807, 9223372036854775806, -3))
t(9223372036854775808, -2, -1, 0, (-1, -1, -1))
t(9223372036854775808, -2, -1, 1, (0, -1, -1))
t(9223372036854775808, -2, -1, 5, (4, 3, -1))
t(9223372036854775808, -2, -1, 10, (9, 8, -1))
t(9223372036854775808, -2, -1, 100, (99, 98, -1))
t(9223372036854775808, -2, -1, 2147483647, (2147483646, 2147483645, -1))
t(9223372036854775808, -2, -1, 9223372036854775808, (9223372036854775807, 9223372036854775806, -1))
t(9223372036854775808, -2, 1, 0, (0, 0, 1))
t(9223372036854775808, -2, 1, 1, (1, 0, 1))
t(9223372036854775808, -2, 1, 5, (5, 3, 1))
t(9223372036854775808, -2, 1, 10, (10, 8, 1))
t(9223372036854775808, -2, 1, 100, (100, 98, 1))
t(9223372036854775808, -2, 1, 2147483647, (2147483647, 2147483645, 1))
t(9223372036854775808, -2, 1, 9223372036854775808, (9223372036854775808, 9223372036854775806, 1))
t(9223372036854775808, -2, 5, 0, (0, 0, 5))
t(9223372036854775808, -2, 5, 1, (1, 0, 5))
t(9223372036854775808, -2, 5, 5, (5, 3, 5))
t(9223372036854775808, -2, 5, 10, (10, 8, 5))
t(9223372036854775808, -2, 5, 100, (100, 98, 5))
t(9223372036854775808, -2, 5, 2147483647, (2147483647, 2147483645, 5))
t(9223372036854775808, -2, 5, 9223372036854775808, (9223372036854775808, 9223372036854775806, 5))
t(9223372036854775808, -2, 20, 0, (0, 0, 20))
t(9223372036854775808, -2, 20, 1, (1, 0, 20))
t(9223372036854775808, -2, 20, 5, (5, 3, 20))
t(9223372036854775808, -2, 20, 10, (10, 8, 20))
t(9223372036854775808, -2, 20, 100, (100, 98, 20))
t(9223372036854775808, -2, 20, 2147483647, (2147483647, 2147483645, 20))
t(9223372036854775808, -2, 20, 9223372036854775808, (9223372036854775808, 9223372036854775806, 20))
t(9223372036854775808, -2, 2147483647, 0, (0, 0, 2147483647))
t(9223372036854775808, -2, 2147483647, 1, (1, 0, 2147483647))
t(9223372036854775808, -2, 2147483647, 5, (5, 3, 2147483647))
t(9223372036854775808, -2, 2147483647, 10, (10, 8, 2147483647))
t(9223372036854775808, -2, 2147483647, 100, (100, 98, 2147483647))
t(9223372036854775808, -2, 2147483647, 2147483647, (2147483647, 2147483645, 2147483647))
t(9223372036854775808, -2, 2147483647, 9223372036854775808, (9223372036854775808, 9223372036854775806, 2147483647))
t(9223372036854775808, -2, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(9223372036854775808, -2, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(9223372036854775808, -2, 9223372036854775808, 5, (5, 3, 9223372036854775808))
t(9223372036854775808, -2, 9223372036854775808, 10, (10, 8, 9223372036854775808))
t(9223372036854775808, -2, 9223372036854775808, 100, (100, 98, 9223372036854775808))
t(9223372036854775808, -2, 9223372036854775808, 2147483647, (2147483647, 2147483645, 9223372036854775808))
t(9223372036854775808, -2, 9223372036854775808, 9223372036854775808, (9223372036854775808, 9223372036854775806, 9223372036854775808))
t(9223372036854775808, 0, None, 0, (0, 0, 1))
t(9223372036854775808, 0, None, 1, (1, 0, 1))
t(9223372036854775808, 0, None, 5, (5, 0, 1))
t(9223372036854775808, 0, None, 10, (10, 0, 1))
t(9223372036854775808, 0, None, 100, (100, 0, 1))
t(9223372036854775808, 0, None, 2147483647, (2147483647, 0, 1))
t(9223372036854775808, 0, None, 9223372036854775808, (9223372036854775808, 0, 1))
t(9223372036854775808, 0, -5, 0, (-1, -1, -5))
t(9223372036854775808, 0, -5, 1, (0, 0, -5))
t(9223372036854775808, 0, -5, 5, (4, 0, -5))
t(9223372036854775808, 0, -5, 10, (9, 0, -5))
t(9223372036854775808, 0, -5, 100, (99, 0, -5))
t(9223372036854775808, 0, -5, 2147483647, (2147483646, 0, -5))
t(9223372036854775808, 0, -5, 9223372036854775808, (9223372036854775807, 0, -5))
t(9223372036854775808, 0, -3, 0, (-1, -1, -3))
t(9223372036854775808, 0, -3, 1, (0, 0, -3))
t(9223372036854775808, 0, -3, 5, (4, 0, -3))
t(9223372036854775808, 0, -3, 10, (9, 0, -3))
t(9223372036854775808, 0, -3, 100, (99, 0, -3))
t(9223372036854775808, 0, -3, 2147483647, (2147483646, 0, -3))
t(9223372036854775808, 0, -3, 9223372036854775808, (9223372036854775807, 0, -3))
t(9223372036854775808, 0, -1, 0, (-1, -1, -1))
t(9223372036854775808, 0, -1, 1, (0, 0, -1))
t(9223372036854775808, 0, -1, 5, (4, 0, -1))
t(9223372036854775808, 0, -1, 10, (9, 0, -1))
t(9223372036854775808, 0, -1, 100, (99, 0, -1))
t(9223372036854775808, 0, -1, 2147483647, (2147483646, 0, -1))
t(9223372036854775808, 0, -1, 9223372036854775808, (9223372036854775807, 0, -1))
t(9223372036854775808, 0, 1, 0, (0, 0, 1))
t(9223372036854775808, 0, 1, 1, (1, 0, 1))
t(9223372036854775808, 0, 1, 5, (5, 0, 1))
t(9223372036854775808, 0, 1, 10, (10, 0, 1))
t(9223372036854775808, 0, 1, 100, (100, 0, 1))
t(9223372036854775808, 0, 1, 2147483647, (2147483647, 0, 1))
t(9223372036854775808, 0, 1, 9223372036854775808, (9223372036854775808, 0, 1))
t(9223372036854775808, 0, 5, 0, (0, 0, 5))
t(9223372036854775808, 0, 5, 1, (1, 0, 5))
t(9223372036854775808, 0, 5, 5, (5, 0, 5))
t(9223372036854775808, 0, 5, 10, (10, 0, 5))
t(9223372036854775808, 0, 5, 100, (100, 0, 5))
t(9223372036854775808, 0, 5, 2147483647, (2147483647, 0, 5))
t(9223372036854775808, 0, 5, 9223372036854775808, (9223372036854775808, 0, 5))
t(9223372036854775808, 0, 20, 0, (0, 0, 20))
t(9223372036854775808, 0, 20, 1, (1, 0, 20))
t(9223372036854775808, 0, 20, 5, (5, 0, 20))
t(9223372036854775808, 0, 20, 10, (10, 0, 20))
t(9223372036854775808, 0, 20, 100, (100, 0, 20))
t(9223372036854775808, 0, 20, 2147483647, (2147483647, 0, 20))
t(9223372036854775808, 0, 20, 9223372036854775808, (9223372036854775808, 0, 20))
t(9223372036854775808, 0, 2147483647, 0, (0, 0, 2147483647))
t(9223372036854775808, 0, 2147483647, 1, (1, 0, 2147483647))
t(9223372036854775808, 0, 2147483647, 5, (5, 0, 2147483647))
t(9223372036854775808, 0, 2147483647, 10, (10, 0, 2147483647))
t(9223372036854775808, 0, 2147483647, 100, (100, 0, 2147483647))
t(9223372036854775808, 0, 2147483647, 2147483647, (2147483647, 0, 2147483647))
t(9223372036854775808, 0, 2147483647, 9223372036854775808, (9223372036854775808, 0, 2147483647))
t(9223372036854775808, 0, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(9223372036854775808, 0, 9223372036854775808, 1, (1, 0, 9223372036854775808))
t(9223372036854775808, 0, 9223372036854775808, 5, (5, 0, 9223372036854775808))
t(9223372036854775808, 0, 9223372036854775808, 10, (10, 0, 9223372036854775808))
t(9223372036854775808, 0, 9223372036854775808, 100, (100, 0, 9223372036854775808))
t(9223372036854775808, 0, 9223372036854775808, 2147483647, (2147483647, 0, 9223372036854775808))
t(9223372036854775808, 0, 9223372036854775808, 9223372036854775808, (9223372036854775808, 0, 9223372036854775808))
t(9223372036854775808, 1, None, 0, (0, 0, 1))
t(9223372036854775808, 1, None, 1, (1, 1, 1))
t(9223372036854775808, 1, None, 5, (5, 1, 1))
t(9223372036854775808, 1, None, 10, (10, 1, 1))
t(9223372036854775808, 1, None, 100, (100, 1, 1))
t(9223372036854775808, 1, None, 2147483647, (2147483647, 1, 1))
t(9223372036854775808, 1, None, 9223372036854775808, (9223372036854775808, 1, 1))
t(9223372036854775808, 1, -5, 0, (-1, -1, -5))
t(9223372036854775808, 1, -5, 1, (0, 0, -5))
t(9223372036854775808, 1, -5, 5, (4, 1, -5))
t(9223372036854775808, 1, -5, 10, (9, 1, -5))
t(9223372036854775808, 1, -5, 100, (99, 1, -5))
t(9223372036854775808, 1, -5, 2147483647, (2147483646, 1, -5))
t(9223372036854775808, 1, -5, 9223372036854775808, (9223372036854775807, 1, -5))
t(9223372036854775808, 1, -3, 0, (-1, -1, -3))
t(9223372036854775808, 1, -3, 1, (0, 0, -3))
t(9223372036854775808, 1, -3, 5, (4, 1, -3))
t(9223372036854775808, 1, -3, 10, (9, 1, -3))
t(9223372036854775808, 1, -3, 100, (99, 1, -3))
t(9223372036854775808, 1, -3, 2147483647, (2147483646, 1, -3))
t(9223372036854775808, 1, -3, 9223372036854775808, (9223372036854775807, 1, -3))
t(9223372036854775808, 1, -1, 0, (-1, -1, -1))
t(9223372036854775808, 1, -1, 1, (0, 0, -1))
t(9223372036854775808, 1, -1, 5, (4, 1, -1))
t(9223372036854775808, 1, -1, 10, (9, 1, -1))
t(9223372036854775808, 1, -1, 100, (99, 1, -1))
t(9223372036854775808, 1, -1, 2147483647, (2147483646, 1, -1))
t(9223372036854775808, 1, -1, 9223372036854775808, (9223372036854775807, 1, -1))
t(9223372036854775808, 1, 1, 0, (0, 0, 1))
t(9223372036854775808, 1, 1, 1, (1, 1, 1))
t(9223372036854775808, 1, 1, 5, (5, 1, 1))
t(9223372036854775808, 1, 1, 10, (10, 1, 1))
t(9223372036854775808, 1, 1, 100, (100, 1, 1))
t(9223372036854775808, 1, 1, 2147483647, (2147483647, 1, 1))
t(9223372036854775808, 1, 1, 9223372036854775808, (9223372036854775808, 1, 1))
t(9223372036854775808, 1, 5, 0, (0, 0, 5))
t(9223372036854775808, 1, 5, 1, (1, 1, 5))
t(9223372036854775808, 1, 5, 5, (5, 1, 5))
t(9223372036854775808, 1, 5, 10, (10, 1, 5))
t(9223372036854775808, 1, 5, 100, (100, 1, 5))
t(9223372036854775808, 1, 5, 2147483647, (2147483647, 1, 5))
t(9223372036854775808, 1, 5, 9223372036854775808, (9223372036854775808, 1, 5))
t(9223372036854775808, 1, 20, 0, (0, 0, 20))
t(9223372036854775808, 1, 20, 1, (1, 1, 20))
t(9223372036854775808, 1, 20, 5, (5, 1, 20))
t(9223372036854775808, 1, 20, 10, (10, 1, 20))
t(9223372036854775808, 1, 20, 100, (100, 1, 20))
t(9223372036854775808, 1, 20, 2147483647, (2147483647, 1, 20))
t(9223372036854775808, 1, 20, 9223372036854775808, (9223372036854775808, 1, 20))
t(9223372036854775808, 1, 2147483647, 0, (0, 0, 2147483647))
t(9223372036854775808, 1, 2147483647, 1, (1, 1, 2147483647))
t(9223372036854775808, 1, 2147483647, 5, (5, 1, 2147483647))
t(9223372036854775808, 1, 2147483647, 10, (10, 1, 2147483647))
t(9223372036854775808, 1, 2147483647, 100, (100, 1, 2147483647))
t(9223372036854775808, 1, 2147483647, 2147483647, (2147483647, 1, 2147483647))
t(9223372036854775808, 1, 2147483647, 9223372036854775808, (9223372036854775808, 1, 2147483647))
t(9223372036854775808, 1, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(9223372036854775808, 1, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(9223372036854775808, 1, 9223372036854775808, 5, (5, 1, 9223372036854775808))
t(9223372036854775808, 1, 9223372036854775808, 10, (10, 1, 9223372036854775808))
t(9223372036854775808, 1, 9223372036854775808, 100, (100, 1, 9223372036854775808))
t(9223372036854775808, 1, 9223372036854775808, 2147483647, (2147483647, 1, 9223372036854775808))
t(9223372036854775808, 1, 9223372036854775808, 9223372036854775808, (9223372036854775808, 1, 9223372036854775808))
t(9223372036854775808, 6, None, 0, (0, 0, 1))
t(9223372036854775808, 6, None, 1, (1, 1, 1))
t(9223372036854775808, 6, None, 5, (5, 5, 1))
t(9223372036854775808, 6, None, 10, (10, 6, 1))
t(9223372036854775808, 6, None, 100, (100, 6, 1))
t(9223372036854775808, 6, None, 2147483647, (2147483647, 6, 1))
t(9223372036854775808, 6, None, 9223372036854775808, (9223372036854775808, 6, 1))
t(9223372036854775808, 6, -5, 0, (-1, -1, -5))
t(9223372036854775808, 6, -5, 1, (0, 0, -5))
t(9223372036854775808, 6, -5, 5, (4, 4, -5))
t(9223372036854775808, 6, -5, 10, (9, 6, -5))
t(9223372036854775808, 6, -5, 100, (99, 6, -5))
t(9223372036854775808, 6, -5, 2147483647, (2147483646, 6, -5))
t(9223372036854775808, 6, -5, 9223372036854775808, (9223372036854775807, 6, -5))
t(9223372036854775808, 6, -3, 0, (-1, -1, -3))
t(9223372036854775808, 6, -3, 1, (0, 0, -3))
t(9223372036854775808, 6, -3, 5, (4, 4, -3))
t(9223372036854775808, 6, -3, 10, (9, 6, -3))
t(9223372036854775808, 6, -3, 100, (99, 6, -3))
t(9223372036854775808, 6, -3, 2147483647, (2147483646, 6, -3))
t(9223372036854775808, 6, -3, 9223372036854775808, (9223372036854775807, 6, -3))
t(9223372036854775808, 6, -1, 0, (-1, -1, -1))
t(9223372036854775808, 6, -1, 1, (0, 0, -1))
t(9223372036854775808, 6, -1, 5, (4, 4, -1))
t(9223372036854775808, 6, -1, 10, (9, 6, -1))
t(9223372036854775808, 6, -1, 100, (99, 6, -1))
t(9223372036854775808, 6, -1, 2147483647, (2147483646, 6, -1))
t(9223372036854775808, 6, -1, 9223372036854775808, (9223372036854775807, 6, -1))
t(9223372036854775808, 6, 1, 0, (0, 0, 1))
t(9223372036854775808, 6, 1, 1, (1, 1, 1))
t(9223372036854775808, 6, 1, 5, (5, 5, 1))
t(9223372036854775808, 6, 1, 10, (10, 6, 1))
t(9223372036854775808, 6, 1, 100, (100, 6, 1))
t(9223372036854775808, 6, 1, 2147483647, (2147483647, 6, 1))
t(9223372036854775808, 6, 1, 9223372036854775808, (9223372036854775808, 6, 1))
t(9223372036854775808, 6, 5, 0, (0, 0, 5))
t(9223372036854775808, 6, 5, 1, (1, 1, 5))
t(9223372036854775808, 6, 5, 5, (5, 5, 5))
t(9223372036854775808, 6, 5, 10, (10, 6, 5))
t(9223372036854775808, 6, 5, 100, (100, 6, 5))
t(9223372036854775808, 6, 5, 2147483647, (2147483647, 6, 5))
t(9223372036854775808, 6, 5, 9223372036854775808, (9223372036854775808, 6, 5))
t(9223372036854775808, 6, 20, 0, (0, 0, 20))
t(9223372036854775808, 6, 20, 1, (1, 1, 20))
t(9223372036854775808, 6, 20, 5, (5, 5, 20))
t(9223372036854775808, 6, 20, 10, (10, 6, 20))
t(9223372036854775808, 6, 20, 100, (100, 6, 20))
t(9223372036854775808, 6, 20, 2147483647, (2147483647, 6, 20))
t(9223372036854775808, 6, 20, 9223372036854775808, (9223372036854775808, 6, 20))
t(9223372036854775808, 6, 2147483647, 0, (0, 0, 2147483647))
t(9223372036854775808, 6, 2147483647, 1, (1, 1, 2147483647))
t(9223372036854775808, 6, 2147483647, 5, (5, 5, 2147483647))
t(9223372036854775808, 6, 2147483647, 10, (10, 6, 2147483647))
t(9223372036854775808, 6, 2147483647, 100, (100, 6, 2147483647))
t(9223372036854775808, 6, 2147483647, 2147483647, (2147483647, 6, 2147483647))
t(9223372036854775808, 6, 2147483647, 9223372036854775808, (9223372036854775808, 6, 2147483647))
t(9223372036854775808, 6, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(9223372036854775808, 6, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(9223372036854775808, 6, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(9223372036854775808, 6, 9223372036854775808, 10, (10, 6, 9223372036854775808))
t(9223372036854775808, 6, 9223372036854775808, 100, (100, 6, 9223372036854775808))
t(9223372036854775808, 6, 9223372036854775808, 2147483647, (2147483647, 6, 9223372036854775808))
t(9223372036854775808, 6, 9223372036854775808, 9223372036854775808, (9223372036854775808, 6, 9223372036854775808))
t(9223372036854775808, 10, None, 0, (0, 0, 1))
t(9223372036854775808, 10, None, 1, (1, 1, 1))
t(9223372036854775808, 10, None, 5, (5, 5, 1))
t(9223372036854775808, 10, None, 10, (10, 10, 1))
t(9223372036854775808, 10, None, 100, (100, 10, 1))
t(9223372036854775808, 10, None, 2147483647, (2147483647, 10, 1))
t(9223372036854775808, 10, None, 9223372036854775808, (9223372036854775808, 10, 1))
t(9223372036854775808, 10, -5, 0, (-1, -1, -5))
t(9223372036854775808, 10, -5, 1, (0, 0, -5))
t(9223372036854775808, 10, -5, 5, (4, 4, -5))
t(9223372036854775808, 10, -5, 10, (9, 9, -5))
t(9223372036854775808, 10, -5, 100, (99, 10, -5))
t(9223372036854775808, 10, -5, 2147483647, (2147483646, 10, -5))
t(9223372036854775808, 10, -5, 9223372036854775808, (9223372036854775807, 10, -5))
t(9223372036854775808, 10, -3, 0, (-1, -1, -3))
t(9223372036854775808, 10, -3, 1, (0, 0, -3))
t(9223372036854775808, 10, -3, 5, (4, 4, -3))
t(9223372036854775808, 10, -3, 10, (9, 9, -3))
t(9223372036854775808, 10, -3, 100, (99, 10, -3))
t(9223372036854775808, 10, -3, 2147483647, (2147483646, 10, -3))
t(9223372036854775808, 10, -3, 9223372036854775808, (9223372036854775807, 10, -3))
t(9223372036854775808, 10, -1, 0, (-1, -1, -1))
t(9223372036854775808, 10, -1, 1, (0, 0, -1))
t(9223372036854775808, 10, -1, 5, (4, 4, -1))
t(9223372036854775808, 10, -1, 10, (9, 9, -1))
t(9223372036854775808, 10, -1, 100, (99, 10, -1))
t(9223372036854775808, 10, -1, 2147483647, (2147483646, 10, -1))
t(9223372036854775808, 10, -1, 9223372036854775808, (9223372036854775807, 10, -1))
t(9223372036854775808, 10, 1, 0, (0, 0, 1))
t(9223372036854775808, 10, 1, 1, (1, 1, 1))
t(9223372036854775808, 10, 1, 5, (5, 5, 1))
t(9223372036854775808, 10, 1, 10, (10, 10, 1))
t(9223372036854775808, 10, 1, 100, (100, 10, 1))
t(9223372036854775808, 10, 1, 2147483647, (2147483647, 10, 1))
t(9223372036854775808, 10, 1, 9223372036854775808, (9223372036854775808, 10, 1))
t(9223372036854775808, 10, 5, 0, (0, 0, 5))
t(9223372036854775808, 10, 5, 1, (1, 1, 5))
t(9223372036854775808, 10, 5, 5, (5, 5, 5))
t(9223372036854775808, 10, 5, 10, (10, 10, 5))
t(9223372036854775808, 10, 5, 100, (100, 10, 5))
t(9223372036854775808, 10, 5, 2147483647, (2147483647, 10, 5))
t(9223372036854775808, 10, 5, 9223372036854775808, (9223372036854775808, 10, 5))
t(9223372036854775808, 10, 20, 0, (0, 0, 20))
t(9223372036854775808, 10, 20, 1, (1, 1, 20))
t(9223372036854775808, 10, 20, 5, (5, 5, 20))
t(9223372036854775808, 10, 20, 10, (10, 10, 20))
t(9223372036854775808, 10, 20, 100, (100, 10, 20))
t(9223372036854775808, 10, 20, 2147483647, (2147483647, 10, 20))
t(9223372036854775808, 10, 20, 9223372036854775808, (9223372036854775808, 10, 20))
t(9223372036854775808, 10, 2147483647, 0, (0, 0, 2147483647))
t(9223372036854775808, 10, 2147483647, 1, (1, 1, 2147483647))
t(9223372036854775808, 10, 2147483647, 5, (5, 5, 2147483647))
t(9223372036854775808, 10, 2147483647, 10, (10, 10, 2147483647))
t(9223372036854775808, 10, 2147483647, 100, (100, 10, 2147483647))
t(9223372036854775808, 10, 2147483647, 2147483647, (2147483647, 10, 2147483647))
t(9223372036854775808, 10, 2147483647, 9223372036854775808, (9223372036854775808, 10, 2147483647))
t(9223372036854775808, 10, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(9223372036854775808, 10, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(9223372036854775808, 10, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(9223372036854775808, 10, 9223372036854775808, 10, (10, 10, 9223372036854775808))
t(9223372036854775808, 10, 9223372036854775808, 100, (100, 10, 9223372036854775808))
t(9223372036854775808, 10, 9223372036854775808, 2147483647, (2147483647, 10, 9223372036854775808))
t(9223372036854775808, 10, 9223372036854775808, 9223372036854775808, (9223372036854775808, 10, 9223372036854775808))
t(9223372036854775808, 2147483647, None, 0, (0, 0, 1))
t(9223372036854775808, 2147483647, None, 1, (1, 1, 1))
t(9223372036854775808, 2147483647, None, 5, (5, 5, 1))
t(9223372036854775808, 2147483647, None, 10, (10, 10, 1))
t(9223372036854775808, 2147483647, None, 100, (100, 100, 1))
t(9223372036854775808, 2147483647, None, 2147483647, (2147483647, 2147483647, 1))
t(9223372036854775808, 2147483647, None, 9223372036854775808, (9223372036854775808, 2147483647, 1))
t(9223372036854775808, 2147483647, -5, 0, (-1, -1, -5))
t(9223372036854775808, 2147483647, -5, 1, (0, 0, -5))
t(9223372036854775808, 2147483647, -5, 5, (4, 4, -5))
t(9223372036854775808, 2147483647, -5, 10, (9, 9, -5))
t(9223372036854775808, 2147483647, -5, 100, (99, 99, -5))
t(9223372036854775808, 2147483647, -5, 2147483647, (2147483646, 2147483646, -5))
t(9223372036854775808, 2147483647, -5, 9223372036854775808, (9223372036854775807, 2147483647, -5))
t(9223372036854775808, 2147483647, -3, 0, (-1, -1, -3))
t(9223372036854775808, 2147483647, -3, 1, (0, 0, -3))
t(9223372036854775808, 2147483647, -3, 5, (4, 4, -3))
t(9223372036854775808, 2147483647, -3, 10, (9, 9, -3))
t(9223372036854775808, 2147483647, -3, 100, (99, 99, -3))
t(9223372036854775808, 2147483647, -3, 2147483647, (2147483646, 2147483646, -3))
t(9223372036854775808, 2147483647, -3, 9223372036854775808, (9223372036854775807, 2147483647, -3))
t(9223372036854775808, 2147483647, -1, 0, (-1, -1, -1))
t(9223372036854775808, 2147483647, -1, 1, (0, 0, -1))
t(9223372036854775808, 2147483647, -1, 5, (4, 4, -1))
t(9223372036854775808, 2147483647, -1, 10, (9, 9, -1))
t(9223372036854775808, 2147483647, -1, 100, (99, 99, -1))
t(9223372036854775808, 2147483647, -1, 2147483647, (2147483646, 2147483646, -1))
t(9223372036854775808, 2147483647, -1, 9223372036854775808, (9223372036854775807, 2147483647, -1))
t(9223372036854775808, 2147483647, 1, 0, (0, 0, 1))
t(9223372036854775808, 2147483647, 1, 1, (1, 1, 1))
t(9223372036854775808, 2147483647, 1, 5, (5, 5, 1))
t(9223372036854775808, 2147483647, 1, 10, (10, 10, 1))
t(9223372036854775808, 2147483647, 1, 100, (100, 100, 1))
t(9223372036854775808, 2147483647, 1, 2147483647, (2147483647, 2147483647, 1))
t(9223372036854775808, 2147483647, 1, 9223372036854775808, (9223372036854775808, 2147483647, 1))
t(9223372036854775808, 2147483647, 5, 0, (0, 0, 5))
t(9223372036854775808, 2147483647, 5, 1, (1, 1, 5))
t(9223372036854775808, 2147483647, 5, 5, (5, 5, 5))
t(9223372036854775808, 2147483647, 5, 10, (10, 10, 5))
t(9223372036854775808, 2147483647, 5, 100, (100, 100, 5))
t(9223372036854775808, 2147483647, 5, 2147483647, (2147483647, 2147483647, 5))
t(9223372036854775808, 2147483647, 5, 9223372036854775808, (9223372036854775808, 2147483647, 5))
t(9223372036854775808, 2147483647, 20, 0, (0, 0, 20))
t(9223372036854775808, 2147483647, 20, 1, (1, 1, 20))
t(9223372036854775808, 2147483647, 20, 5, (5, 5, 20))
t(9223372036854775808, 2147483647, 20, 10, (10, 10, 20))
t(9223372036854775808, 2147483647, 20, 100, (100, 100, 20))
t(9223372036854775808, 2147483647, 20, 2147483647, (2147483647, 2147483647, 20))
t(9223372036854775808, 2147483647, 20, 9223372036854775808, (9223372036854775808, 2147483647, 20))
t(9223372036854775808, 2147483647, 2147483647, 0, (0, 0, 2147483647))
t(9223372036854775808, 2147483647, 2147483647, 1, (1, 1, 2147483647))
t(9223372036854775808, 2147483647, 2147483647, 5, (5, 5, 2147483647))
t(9223372036854775808, 2147483647, 2147483647, 10, (10, 10, 2147483647))
t(9223372036854775808, 2147483647, 2147483647, 100, (100, 100, 2147483647))
t(9223372036854775808, 2147483647, 2147483647, 2147483647, (2147483647, 2147483647, 2147483647))
t(9223372036854775808, 2147483647, 2147483647, 9223372036854775808, (9223372036854775808, 2147483647, 2147483647))
t(9223372036854775808, 2147483647, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(9223372036854775808, 2147483647, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(9223372036854775808, 2147483647, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(9223372036854775808, 2147483647, 9223372036854775808, 10, (10, 10, 9223372036854775808))
t(9223372036854775808, 2147483647, 9223372036854775808, 100, (100, 100, 9223372036854775808))
t(9223372036854775808, 2147483647, 9223372036854775808, 2147483647, (2147483647, 2147483647, 9223372036854775808))
t(9223372036854775808, 2147483647, 9223372036854775808, 9223372036854775808, (9223372036854775808, 2147483647, 9223372036854775808))
t(9223372036854775808, 9223372036854775808, None, 0, (0, 0, 1))
t(9223372036854775808, 9223372036854775808, None, 1, (1, 1, 1))
t(9223372036854775808, 9223372036854775808, None, 5, (5, 5, 1))
t(9223372036854775808, 9223372036854775808, None, 10, (10, 10, 1))
t(9223372036854775808, 9223372036854775808, None, 100, (100, 100, 1))
t(9223372036854775808, 9223372036854775808, None, 2147483647, (2147483647, 2147483647, 1))
t(9223372036854775808, 9223372036854775808, None, 9223372036854775808, (9223372036854775808, 9223372036854775808, 1))
t(9223372036854775808, 9223372036854775808, -5, 0, (-1, -1, -5))
t(9223372036854775808, 9223372036854775808, -5, 1, (0, 0, -5))
t(9223372036854775808, 9223372036854775808, -5, 5, (4, 4, -5))
t(9223372036854775808, 9223372036854775808, -5, 10, (9, 9, -5))
t(9223372036854775808, 9223372036854775808, -5, 100, (99, 99, -5))
t(9223372036854775808, 9223372036854775808, -5, 2147483647, (2147483646, 2147483646, -5))
t(9223372036854775808, 9223372036854775808, -5, 9223372036854775808, (9223372036854775807, 9223372036854775807, -5))
t(9223372036854775808, 9223372036854775808, -3, 0, (-1, -1, -3))
t(9223372036854775808, 9223372036854775808, -3, 1, (0, 0, -3))
t(9223372036854775808, 9223372036854775808, -3, 5, (4, 4, -3))
t(9223372036854775808, 9223372036854775808, -3, 10, (9, 9, -3))
t(9223372036854775808, 9223372036854775808, -3, 100, (99, 99, -3))
t(9223372036854775808, 9223372036854775808, -3, 2147483647, (2147483646, 2147483646, -3))
t(9223372036854775808, 9223372036854775808, -3, 9223372036854775808, (9223372036854775807, 9223372036854775807, -3))
t(9223372036854775808, 9223372036854775808, -1, 0, (-1, -1, -1))
t(9223372036854775808, 9223372036854775808, -1, 1, (0, 0, -1))
t(9223372036854775808, 9223372036854775808, -1, 5, (4, 4, -1))
t(9223372036854775808, 9223372036854775808, -1, 10, (9, 9, -1))
t(9223372036854775808, 9223372036854775808, -1, 100, (99, 99, -1))
t(9223372036854775808, 9223372036854775808, -1, 2147483647, (2147483646, 2147483646, -1))
t(9223372036854775808, 9223372036854775808, -1, 9223372036854775808, (9223372036854775807, 9223372036854775807, -1))
t(9223372036854775808, 9223372036854775808, 1, 0, (0, 0, 1))
t(9223372036854775808, 9223372036854775808, 1, 1, (1, 1, 1))
t(9223372036854775808, 9223372036854775808, 1, 5, (5, 5, 1))
t(9223372036854775808, 9223372036854775808, 1, 10, (10, 10, 1))
t(9223372036854775808, 9223372036854775808, 1, 100, (100, 100, 1))
t(9223372036854775808, 9223372036854775808, 1, 2147483647, (2147483647, 2147483647, 1))
t(9223372036854775808, 9223372036854775808, 1, 9223372036854775808, (9223372036854775808, 9223372036854775808, 1))
t(9223372036854775808, 9223372036854775808, 5, 0, (0, 0, 5))
t(9223372036854775808, 9223372036854775808, 5, 1, (1, 1, 5))
t(9223372036854775808, 9223372036854775808, 5, 5, (5, 5, 5))
t(9223372036854775808, 9223372036854775808, 5, 10, (10, 10, 5))
t(9223372036854775808, 9223372036854775808, 5, 100, (100, 100, 5))
t(9223372036854775808, 9223372036854775808, 5, 2147483647, (2147483647, 2147483647, 5))
t(9223372036854775808, 9223372036854775808, 5, 9223372036854775808, (9223372036854775808, 9223372036854775808, 5))
t(9223372036854775808, 9223372036854775808, 20, 0, (0, 0, 20))
t(9223372036854775808, 9223372036854775808, 20, 1, (1, 1, 20))
t(9223372036854775808, 9223372036854775808, 20, 5, (5, 5, 20))
t(9223372036854775808, 9223372036854775808, 20, 10, (10, 10, 20))
t(9223372036854775808, 9223372036854775808, 20, 100, (100, 100, 20))
t(9223372036854775808, 9223372036854775808, 20, 2147483647, (2147483647, 2147483647, 20))
t(9223372036854775808, 9223372036854775808, 20, 9223372036854775808, (9223372036854775808, 9223372036854775808, 20))
t(9223372036854775808, 9223372036854775808, 2147483647, 0, (0, 0, 2147483647))
t(9223372036854775808, 9223372036854775808, 2147483647, 1, (1, 1, 2147483647))
t(9223372036854775808, 9223372036854775808, 2147483647, 5, (5, 5, 2147483647))
t(9223372036854775808, 9223372036854775808, 2147483647, 10, (10, 10, 2147483647))
t(9223372036854775808, 9223372036854775808, 2147483647, 100, (100, 100, 2147483647))
t(9223372036854775808, 9223372036854775808, 2147483647, 2147483647, (2147483647, 2147483647, 2147483647))
t(9223372036854775808, 9223372036854775808, 2147483647, 9223372036854775808, (9223372036854775808, 9223372036854775808, 2147483647))
t(9223372036854775808, 9223372036854775808, 9223372036854775808, 0, (0, 0, 9223372036854775808))
t(9223372036854775808, 9223372036854775808, 9223372036854775808, 1, (1, 1, 9223372036854775808))
t(9223372036854775808, 9223372036854775808, 9223372036854775808, 5, (5, 5, 9223372036854775808))
t(9223372036854775808, 9223372036854775808, 9223372036854775808, 10, (10, 10, 9223372036854775808))
t(9223372036854775808, 9223372036854775808, 9223372036854775808, 100, (100, 100, 9223372036854775808))
t(9223372036854775808, 9223372036854775808, 9223372036854775808, 2147483647, (2147483647, 2147483647, 9223372036854775808))
t(9223372036854775808, 9223372036854775808, 9223372036854775808, 9223372036854775808, (9223372036854775808, 9223372036854775808, 9223372036854775808)) |
"""Test package.
Modules:
conftest
"""
| """Test package.
Modules:
conftest
""" |
# for index, character in enumerate("abcdefgh"):
# print(index, character)
for t in enumerate("abcdefgh"):
index, character = t
print(index, character)
print(t)
# the output has 8 tuples
# unpacking tuples is a valuable technique
index, character = [0, 'a']
print(index)
print(character)
| for t in enumerate('abcdefgh'):
(index, character) = t
print(index, character)
print(t)
(index, character) = [0, 'a']
print(index)
print(character) |
user_bin = int(input(), 2)
one = int(1)
zero = int(0)
user_int = int(user_bin)
user_int = int(user_int * 1)
oct_str = str(oct(user_int))
print(oct_str[2:])
| user_bin = int(input(), 2)
one = int(1)
zero = int(0)
user_int = int(user_bin)
user_int = int(user_int * 1)
oct_str = str(oct(user_int))
print(oct_str[2:]) |
controller = '''
from fastapi import APIRouter, HTTPException,Cookie, Depends,Header,File, Body,Query
from starlette.responses import JSONResponse
from core.factories import settings
import httpx
router = APIRouter()
''' | controller = '\nfrom fastapi import APIRouter, HTTPException,Cookie, Depends,Header,File, Body,Query\nfrom starlette.responses import JSONResponse\nfrom core.factories import settings\nimport httpx\n\nrouter = APIRouter()\n\n' |
# parse file
file_names = []
with open("train_file_controller.txt", 'r') as f:
for line in f:
file_names.append(line.strip().replace('\n', ''))
with open("val_file_controller.txt", 'r') as f:
for line in f:
file_names.append(line.strip().replace('\n', ''))
file_names.sort()
for file in file_names:
print(file)
print("hello")
| file_names = []
with open('train_file_controller.txt', 'r') as f:
for line in f:
file_names.append(line.strip().replace('\n', ''))
with open('val_file_controller.txt', 'r') as f:
for line in f:
file_names.append(line.strip().replace('\n', ''))
file_names.sort()
for file in file_names:
print(file)
print('hello') |
__all__ = ['InputError']
class InputError(BaseException):
def __init__(self, errors):
self.errors = errors
super().__init__()
| __all__ = ['InputError']
class Inputerror(BaseException):
def __init__(self, errors):
self.errors = errors
super().__init__() |
class BadGrammar(Exception):
"""The rule definitions passed to Grammar contain syntax errors."""
class VisitationError(Exception):
"""Something went wrong while traversing a parse tree.
This exception exists to augment an underlying exception with information
about where in the parse tree the error occurred. Otherwise, it could be
tiresome to figure out what went wrong; you'd have to play back the whole
tree traversal in your head.
"""
# TODO: Make sure this is pickleable. Probably use @property pattern. Make
# the original exc and node available on it if they don't cause a whole
# raft of stack frames to be retained.
def __init__(self, exc, exc_class, node):
"""Construct.
:arg exc: What went wrong. We wrap this and add more info.
:arg node: The node at which the error occurred
"""
self.original_class = exc_class
super(VisitationError, self).__init__(
'%s: %s\n\n'
'Parse tree:\n'
'%s' %
(exc_class.__name__,
exc,
node.prettily(error=node)))
class UndefinedLabel(VisitationError):
"""A rule referenced in a grammar was never defined.
Circular references and forward references are okay, but you have to define
stuff at some point.
"""
def __init__(self, label):
self.label = label
def __unicode__(self):
return u'The label "%s" was never defined.' % self.label
__str__ = __unicode__
| class Badgrammar(Exception):
"""The rule definitions passed to Grammar contain syntax errors."""
class Visitationerror(Exception):
"""Something went wrong while traversing a parse tree.
This exception exists to augment an underlying exception with information
about where in the parse tree the error occurred. Otherwise, it could be
tiresome to figure out what went wrong; you'd have to play back the whole
tree traversal in your head.
"""
def __init__(self, exc, exc_class, node):
"""Construct.
:arg exc: What went wrong. We wrap this and add more info.
:arg node: The node at which the error occurred
"""
self.original_class = exc_class
super(VisitationError, self).__init__('%s: %s\n\nParse tree:\n%s' % (exc_class.__name__, exc, node.prettily(error=node)))
class Undefinedlabel(VisitationError):
"""A rule referenced in a grammar was never defined.
Circular references and forward references are okay, but you have to define
stuff at some point.
"""
def __init__(self, label):
self.label = label
def __unicode__(self):
return u'The label "%s" was never defined.' % self.label
__str__ = __unicode__ |
#
# PySNMP MIB module PDN-CP-IWF-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/PDN-CP-IWF-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 20:29:19 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ConstraintsUnion, ValueRangeConstraint, SingleValueConstraint, ConstraintsIntersection, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueRangeConstraint", "SingleValueConstraint", "ConstraintsIntersection", "ValueSizeConstraint")
ifIndex, InterfaceIndex = mibBuilder.importSymbols("IF-MIB", "ifIndex", "InterfaceIndex")
pdnCpIwf, = mibBuilder.importSymbols("PDN-HEADER-MIB", "pdnCpIwf")
SwitchState, = mibBuilder.importSymbols("PDN-TC", "SwitchState")
NotificationGroup, ObjectGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ObjectGroup", "ModuleCompliance")
MibScalar, MibTable, MibTableRow, MibTableColumn, ObjectIdentity, Gauge32, ModuleIdentity, TimeTicks, Counter32, IpAddress, iso, Integer32, NotificationType, Bits, Counter64, MibIdentifier, Unsigned32 = mibBuilder.importSymbols("SNMPv2-SMI", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ObjectIdentity", "Gauge32", "ModuleIdentity", "TimeTicks", "Counter32", "IpAddress", "iso", "Integer32", "NotificationType", "Bits", "Counter64", "MibIdentifier", "Unsigned32")
TextualConvention, RowStatus, DisplayString, TruthValue = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "RowStatus", "DisplayString", "TruthValue")
pdnCpIwfMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1))
pdnCpIwfMIB.setRevisions(('2004-12-02 17:00', '2004-10-07 11:00', '2004-08-30 11:00', '2004-07-15 00:00', '2004-03-22 00:00',))
if mibBuilder.loadTexts: pdnCpIwfMIB.setLastUpdated('200412021700Z')
if mibBuilder.loadTexts: pdnCpIwfMIB.setOrganization('Paradyne Networks MIB Working Group Other information about group editing the MIB')
pdnCpIwfNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 0))
pdnCpIwfMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1))
pdnCpIwfMIBConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2))
pdnCpIwfConfigObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1))
pdnCpIwfTestObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 2))
pdnCpIwfStatsObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3))
class CpIwfRegion(TextualConvention, Integer32):
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2))
namedValues = NamedValues(("usa", 1), ("canada", 2))
class GatewayProtocol(TextualConvention, Integer32):
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))
namedValues = NamedValues(("lescas", 1), ("voiceband", 2), ("mgcp", 3), ("sip", 4))
class HookState(TextualConvention, Integer32):
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3))
namedValues = NamedValues(("onhook", 1), ("offhook", 2), ("ringground", 3))
class PotsSignaling(TextualConvention, Integer32):
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2))
namedValues = NamedValues(("loopstart", 1), ("groundstart", 2))
class ControlProtocol(TextualConvention, Bits):
status = 'current'
namedValues = NamedValues(("cas", 0), ("eoc", 1), ("ccselcp", 2))
class VoiceEncoding(TextualConvention, Integer32):
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 2))
namedValues = NamedValues(("g711", 0), ("g726", 1), ("g729", 2))
class PdnPotsTestTypes(TextualConvention, Integer32):
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3))
namedValues = NamedValues(("noTest", 1), ("loopback", 2), ("ringsignal", 3))
pdnCpIwfTotalNumber = MibScalar((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnCpIwfTotalNumber.setStatus('current')
pdnCpIwfIndexNext = MibScalar((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnCpIwfIndexNext.setStatus('current')
pdnCpIwfRegion = MibScalar((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 3), CpIwfRegion()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: pdnCpIwfRegion.setStatus('current')
pdnCpIwfTable = MibTable((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 4), )
if mibBuilder.loadTexts: pdnCpIwfTable.setStatus('current')
pdnCpIwfEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 4, 1), ).setIndexNames((0, "PDN-CP-IWF-MIB", "pdnCpIwfIndex"))
if mibBuilder.loadTexts: pdnCpIwfEntry.setStatus('current')
pdnCpIwfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: pdnCpIwfIndex.setStatus('current')
pdnCpIwfIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 4, 1, 2), InterfaceIndex()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnCpIwfIfIndex.setStatus('current')
pdnCpIwfRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 4, 1, 3), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: pdnCpIwfRowStatus.setStatus('current')
pdnCpIwfNumPotsAssigned = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 24))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnCpIwfNumPotsAssigned.setStatus('current')
pdnCpIwfGatewayProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 4, 1, 5), GatewayProtocol()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: pdnCpIwfGatewayProtocol.setStatus('current')
pdnCpIwfAtmBLESCapability = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 4, 1, 6), ControlProtocol()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnCpIwfAtmBLESCapability.setStatus('current')
pdnCpIwfSscsPredefinedProfile = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 4, 1, 7), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: pdnCpIwfSscsPredefinedProfile.setStatus('current')
pdnCpIwfJitterBufferLength = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 4, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 120))).setUnits('Milliseconds').setMaxAccess("readwrite")
if mibBuilder.loadTexts: pdnCpIwfJitterBufferLength.setStatus('current')
pdnCpIwfMappingTable = MibTable((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 5), )
if mibBuilder.loadTexts: pdnCpIwfMappingTable.setStatus('current')
pdnCpIwfMappingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 5, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: pdnCpIwfMappingEntry.setStatus('current')
pdnCpIwfMappingIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnCpIwfMappingIndex.setStatus('current')
pdnPotsPortTable = MibTable((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6), )
if mibBuilder.loadTexts: pdnPotsPortTable.setStatus('current')
pdnPotsPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1), ).setIndexNames((0, "PDN-CP-IWF-MIB", "pdnPotsPortIfIndex"))
if mibBuilder.loadTexts: pdnPotsPortEntry.setStatus('current')
pdnPotsPortIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 1), InterfaceIndex())
if mibBuilder.loadTexts: pdnPotsPortIfIndex.setStatus('current')
pdnPotsPortCpIwfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: pdnPotsPortCpIwfIndex.setStatus('current')
pdnPotsPortHookStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 3), HookState()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnPotsPortHookStatus.setStatus('current')
pdnPotsPortSignalingMethod = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 4), PotsSignaling()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: pdnPotsPortSignalingMethod.setStatus('current')
pdnPotsPortTxGain = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-24, 23))).setUnits('dB').setMaxAccess("readwrite")
if mibBuilder.loadTexts: pdnPotsPortTxGain.setStatus('current')
pdnPotsPortRxGain = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-24, 23))).setUnits('dB').setMaxAccess("readwrite")
if mibBuilder.loadTexts: pdnPotsPortRxGain.setStatus('current')
pdnPotsPortCustInfo = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 7), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: pdnPotsPortCustInfo.setStatus('current')
pdnPotsPortG729VoiceCodec = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 8), SwitchState()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: pdnPotsPortG729VoiceCodec.setStatus('current')
pdnPotsPortPreferedVoiceCodec = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 9), VoiceEncoding()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: pdnPotsPortPreferedVoiceCodec.setStatus('current')
pdnPotsPortPreferredPacketPeriod = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setUnits('Milliseconds').setMaxAccess("readwrite")
if mibBuilder.loadTexts: pdnPotsPortPreferredPacketPeriod.setStatus('current')
pdnPotsPortSilenceSuppression = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 11), SwitchState()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: pdnPotsPortSilenceSuppression.setStatus('current')
pdnPotsPortActualVoiceCodec = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 12), VoiceEncoding()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnPotsPortActualVoiceCodec.setStatus('current')
pdnPotsPortCallElapsedTime = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setUnits('Seconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnPotsPortCallElapsedTime.setStatus('current')
pdnPotsPortModemDetected = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 14), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnPotsPortModemDetected.setStatus('current')
pdnPotsPortEchoCanceller = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnPotsPortEchoCanceller.setStatus('current')
pdnPotsPortLocalEndName = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 16), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: pdnPotsPortLocalEndName.setStatus('current')
pdnPotsPortActiveSoftswitch = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("primary", 1), ("secondary", 2), ("none", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnPotsPortActiveSoftswitch.setStatus('current')
pdnCpIwfAal2StatsTable = MibTable((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 1), )
if mibBuilder.loadTexts: pdnCpIwfAal2StatsTable.setStatus('current')
pdnCpIwfAal2StatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: pdnCpIwfAal2StatsEntry.setStatus('current')
pdnCpIwfAal2CpsRxPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 1, 1, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnCpIwfAal2CpsRxPkts.setStatus('current')
pdnCpIwfAal2CpsTxPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 1, 1, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnCpIwfAal2CpsTxPkts.setStatus('current')
pdnCpIwfAal2CpsParityErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 1, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnCpIwfAal2CpsParityErrors.setStatus('current')
pdnCpIwfAal2CpsSeqNumErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 1, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnCpIwfAal2CpsSeqNumErrors.setStatus('current')
pdnCpIwfAal2CpsOsfMismatchErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 1, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnCpIwfAal2CpsOsfMismatchErrors.setStatus('current')
pdnCpIwfAal2CpsOsfErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 1, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnCpIwfAal2CpsOsfErrors.setStatus('current')
pdnCpIwfAal2CpsHecErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 1, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnCpIwfAal2CpsHecErrors.setStatus('current')
pdnCpIwfAal2CpsOversizeSduErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 1, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnCpIwfAal2CpsOversizeSduErrors.setStatus('current')
pdnCpIwfAal2CpsReassemblyErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 1, 1, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnCpIwfAal2CpsReassemblyErrors.setStatus('current')
pdnCpIwfAal2CpsHecOverlapErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 1, 1, 10), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnCpIwfAal2CpsHecOverlapErrors.setStatus('current')
pdnCpIwfAal2CpsUuiErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 1, 1, 11), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnCpIwfAal2CpsUuiErrors.setStatus('current')
pdnCpIwfAal2CpsCidErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 1, 1, 12), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnCpIwfAal2CpsCidErrors.setStatus('current')
pdnPotsPortStatsTable = MibTable((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2), )
if mibBuilder.loadTexts: pdnPotsPortStatsTable.setStatus('current')
pdnPotsPortStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: pdnPotsPortStatsEntry.setStatus('current')
pdnPotsPortTotalCalls = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnPotsPortTotalCalls.setStatus('current')
pdnPotsPortTotalCallsFailure = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnPotsPortTotalCallsFailure.setStatus('current')
pdnPotsPortTotalCallsDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnPotsPortTotalCallsDropped.setStatus('current')
pdnPotsPortInCallsReceived = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnPotsPortInCallsReceived.setStatus('current')
pdnPotsPortInCallsAnswered = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnPotsPortInCallsAnswered.setStatus('current')
pdnPotsPortInCallsConnected = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnPotsPortInCallsConnected.setStatus('current')
pdnPotsPortInCallsFailure = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnPotsPortInCallsFailure.setStatus('current')
pdnPotsPortOutCallsAttempted = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnPotsPortOutCallsAttempted.setStatus('current')
pdnPotsPortOutCallsAnswered = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnPotsPortOutCallsAnswered.setStatus('current')
pdnPotsPortOutCallsConnected = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 10), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnPotsPortOutCallsConnected.setStatus('current')
pdnPotsPortOutCallsFailure = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 11), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnPotsPortOutCallsFailure.setStatus('current')
pdnPotsPortPacketsSent = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 12), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnPotsPortPacketsSent.setStatus('current')
pdnPotsPortPacketsReceived = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 13), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnPotsPortPacketsReceived.setStatus('current')
pdnPotsPortPacketsLost = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 14), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnPotsPortPacketsLost.setStatus('current')
pdnPotsPortBytesSent = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 15), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnPotsPortBytesSent.setStatus('current')
pdnPotsPortBytesReceived = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 16), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnPotsPortBytesReceived.setStatus('current')
pdnPotsTestTable = MibTable((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 2, 1), )
if mibBuilder.loadTexts: pdnPotsTestTable.setStatus('current')
pdnPotsTestEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 2, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: pdnPotsTestEntry.setStatus('current')
pdnPotsTestType = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 2, 1, 1, 1), PdnPotsTestTypes()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: pdnPotsTestType.setStatus('current')
pdnPotsTestCmd = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("noOp", 1), ("start", 2), ("stop", 3), ("keepAlive", 4)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: pdnPotsTestCmd.setStatus('current')
pdnPotsTestStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("active", 1), ("inactive", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pdnPotsTestStatus.setStatus('current')
pdnCpIwfMIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 1))
pdnCpIwfMIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 2))
pdnCpIwfMIBCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 1, 1)).setObjects(("PDN-CP-IWF-MIB", "pdnCpIwfGeneralConfigGroup"), ("PDN-CP-IWF-MIB", "pdnCpIwfPotsPortConfigGroup"), ("PDN-CP-IWF-MIB", "pdnCpIwfAal2StatsGroup"), ("PDN-CP-IWF-MIB", "pdnCpIwfPotsPortStatsGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pdnCpIwfMIBCompliance = pdnCpIwfMIBCompliance.setStatus('deprecated')
pdnCpIwfMIBComplianceV2 = ModuleCompliance((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 1, 2)).setObjects(("PDN-CP-IWF-MIB", "pdnCpIwfGeneralConfigGroupV2"), ("PDN-CP-IWF-MIB", "pdnCpIwfIADConfigGroupV2"), ("PDN-CP-IWF-MIB", "pdnCpIwfAal2StatsGroup"), ("PDN-CP-IWF-MIB", "pdnCpIwfPotsPortStatsGroupV2"), ("PDN-CP-IWF-MIB", "pdnCpIwfPotsPortConfigGroupV2"), ("PDN-CP-IWF-MIB", "pdnCpIwfPotsPortTestGroupV2"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pdnCpIwfMIBComplianceV2 = pdnCpIwfMIBComplianceV2.setStatus('deprecated')
pdnCpIwfMIBComplianceV3 = ModuleCompliance((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 1, 3)).setObjects(("PDN-CP-IWF-MIB", "pdnCpIwfGeneralConfigGroupV2"), ("PDN-CP-IWF-MIB", "pdnCpIwfIADConfigGroupV3"), ("PDN-CP-IWF-MIB", "pdnCpIwfAal2StatsGroup"), ("PDN-CP-IWF-MIB", "pdnCpIwfPotsPortStatsGroupV2"), ("PDN-CP-IWF-MIB", "pdnCpIwfPotsPortConfigGroupV2"), ("PDN-CP-IWF-MIB", "pdnCpIwfPotsPortTestGroupV2"), ("PDN-CP-IWF-MIB", "pdnCpIwfPotsPortPacketStatsGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pdnCpIwfMIBComplianceV3 = pdnCpIwfMIBComplianceV3.setStatus('current')
pdnCpIwfGeneralConfigGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 2, 1)).setObjects(("PDN-CP-IWF-MIB", "pdnCpIwfTotalNumber"), ("PDN-CP-IWF-MIB", "pdnCpIwfIndexNext"), ("PDN-CP-IWF-MIB", "pdnCpIwfRegion"), ("PDN-CP-IWF-MIB", "pdnCpIwfIfIndex"), ("PDN-CP-IWF-MIB", "pdnCpIwfRowStatus"), ("PDN-CP-IWF-MIB", "pdnCpIwfNumPotsAssigned"), ("PDN-CP-IWF-MIB", "pdnCpIwfGatewayProtocol"), ("PDN-CP-IWF-MIB", "pdnCpIwfAtmBLESCapability"), ("PDN-CP-IWF-MIB", "pdnCpIwfSscsPredefinedProfile"), ("PDN-CP-IWF-MIB", "pdnCpIwfMappingIndex"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pdnCpIwfGeneralConfigGroup = pdnCpIwfGeneralConfigGroup.setStatus('deprecated')
pdnCpIwfPotsPortConfigGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 2, 2)).setObjects(("PDN-CP-IWF-MIB", "pdnPotsPortCpIwfIndex"), ("PDN-CP-IWF-MIB", "pdnPotsPortHookStatus"), ("PDN-CP-IWF-MIB", "pdnPotsPortSignalingMethod"), ("PDN-CP-IWF-MIB", "pdnPotsPortTxGain"), ("PDN-CP-IWF-MIB", "pdnPotsPortRxGain"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pdnCpIwfPotsPortConfigGroup = pdnCpIwfPotsPortConfigGroup.setStatus('deprecated')
pdnCpIwfAal2StatsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 2, 3)).setObjects(("PDN-CP-IWF-MIB", "pdnCpIwfAal2CpsRxPkts"), ("PDN-CP-IWF-MIB", "pdnCpIwfAal2CpsTxPkts"), ("PDN-CP-IWF-MIB", "pdnCpIwfAal2CpsParityErrors"), ("PDN-CP-IWF-MIB", "pdnCpIwfAal2CpsSeqNumErrors"), ("PDN-CP-IWF-MIB", "pdnCpIwfAal2CpsOsfMismatchErrors"), ("PDN-CP-IWF-MIB", "pdnCpIwfAal2CpsOsfErrors"), ("PDN-CP-IWF-MIB", "pdnCpIwfAal2CpsHecErrors"), ("PDN-CP-IWF-MIB", "pdnCpIwfAal2CpsOversizeSduErrors"), ("PDN-CP-IWF-MIB", "pdnCpIwfAal2CpsReassemblyErrors"), ("PDN-CP-IWF-MIB", "pdnCpIwfAal2CpsHecOverlapErrors"), ("PDN-CP-IWF-MIB", "pdnCpIwfAal2CpsUuiErrors"), ("PDN-CP-IWF-MIB", "pdnCpIwfAal2CpsCidErrors"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pdnCpIwfAal2StatsGroup = pdnCpIwfAal2StatsGroup.setStatus('current')
pdnCpIwfPotsPortStatsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 2, 4)).setObjects(("PDN-CP-IWF-MIB", "pdnPotsPortTotalCalls"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pdnCpIwfPotsPortStatsGroup = pdnCpIwfPotsPortStatsGroup.setStatus('deprecated')
pdnCpIwfGeneralConfigGroupV2 = ObjectGroup((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 2, 5)).setObjects(("PDN-CP-IWF-MIB", "pdnCpIwfTotalNumber"), ("PDN-CP-IWF-MIB", "pdnCpIwfIndexNext"), ("PDN-CP-IWF-MIB", "pdnCpIwfRegion"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pdnCpIwfGeneralConfigGroupV2 = pdnCpIwfGeneralConfigGroupV2.setStatus('current')
pdnCpIwfIADConfigGroupV2 = ObjectGroup((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 2, 6)).setObjects(("PDN-CP-IWF-MIB", "pdnCpIwfIfIndex"), ("PDN-CP-IWF-MIB", "pdnCpIwfRowStatus"), ("PDN-CP-IWF-MIB", "pdnCpIwfNumPotsAssigned"), ("PDN-CP-IWF-MIB", "pdnCpIwfGatewayProtocol"), ("PDN-CP-IWF-MIB", "pdnCpIwfAtmBLESCapability"), ("PDN-CP-IWF-MIB", "pdnCpIwfSscsPredefinedProfile"), ("PDN-CP-IWF-MIB", "pdnCpIwfMappingIndex"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pdnCpIwfIADConfigGroupV2 = pdnCpIwfIADConfigGroupV2.setStatus('current')
pdnCpIwfPotsPortStatsGroupV2 = ObjectGroup((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 2, 7)).setObjects(("PDN-CP-IWF-MIB", "pdnPotsPortTotalCalls"), ("PDN-CP-IWF-MIB", "pdnPotsPortTotalCallsFailure"), ("PDN-CP-IWF-MIB", "pdnPotsPortTotalCallsDropped"), ("PDN-CP-IWF-MIB", "pdnPotsPortInCallsReceived"), ("PDN-CP-IWF-MIB", "pdnPotsPortInCallsAnswered"), ("PDN-CP-IWF-MIB", "pdnPotsPortInCallsConnected"), ("PDN-CP-IWF-MIB", "pdnPotsPortInCallsFailure"), ("PDN-CP-IWF-MIB", "pdnPotsPortOutCallsAttempted"), ("PDN-CP-IWF-MIB", "pdnPotsPortOutCallsAnswered"), ("PDN-CP-IWF-MIB", "pdnPotsPortOutCallsConnected"), ("PDN-CP-IWF-MIB", "pdnPotsPortOutCallsFailure"), ("PDN-CP-IWF-MIB", "pdnPotsPortPacketsSent"), ("PDN-CP-IWF-MIB", "pdnPotsPortPacketsReceived"), ("PDN-CP-IWF-MIB", "pdnPotsPortPacketsLost"), ("PDN-CP-IWF-MIB", "pdnPotsPortBytesSent"), ("PDN-CP-IWF-MIB", "pdnPotsPortBytesReceived"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pdnCpIwfPotsPortStatsGroupV2 = pdnCpIwfPotsPortStatsGroupV2.setStatus('current')
pdnCpIwfPotsPortConfigGroupV2 = ObjectGroup((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 2, 8)).setObjects(("PDN-CP-IWF-MIB", "pdnPotsPortCpIwfIndex"), ("PDN-CP-IWF-MIB", "pdnPotsPortHookStatus"), ("PDN-CP-IWF-MIB", "pdnPotsPortSignalingMethod"), ("PDN-CP-IWF-MIB", "pdnPotsPortTxGain"), ("PDN-CP-IWF-MIB", "pdnPotsPortRxGain"), ("PDN-CP-IWF-MIB", "pdnPotsPortCustInfo"), ("PDN-CP-IWF-MIB", "pdnPotsPortG729VoiceCodec"), ("PDN-CP-IWF-MIB", "pdnPotsPortPreferedVoiceCodec"), ("PDN-CP-IWF-MIB", "pdnPotsPortPreferredPacketPeriod"), ("PDN-CP-IWF-MIB", "pdnPotsPortSilenceSuppression"), ("PDN-CP-IWF-MIB", "pdnPotsPortActualVoiceCodec"), ("PDN-CP-IWF-MIB", "pdnPotsPortCallElapsedTime"), ("PDN-CP-IWF-MIB", "pdnPotsPortModemDetected"), ("PDN-CP-IWF-MIB", "pdnPotsPortEchoCanceller"), ("PDN-CP-IWF-MIB", "pdnPotsPortLocalEndName"), ("PDN-CP-IWF-MIB", "pdnPotsPortActiveSoftswitch"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pdnCpIwfPotsPortConfigGroupV2 = pdnCpIwfPotsPortConfigGroupV2.setStatus('current')
pdnCpIwfPotsPortTestGroupV2 = ObjectGroup((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 2, 9)).setObjects(("PDN-CP-IWF-MIB", "pdnPotsTestType"), ("PDN-CP-IWF-MIB", "pdnPotsTestCmd"), ("PDN-CP-IWF-MIB", "pdnPotsTestStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pdnCpIwfPotsPortTestGroupV2 = pdnCpIwfPotsPortTestGroupV2.setStatus('current')
pdnCpIwfIADConfigGroupV3 = ObjectGroup((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 2, 10)).setObjects(("PDN-CP-IWF-MIB", "pdnCpIwfIfIndex"), ("PDN-CP-IWF-MIB", "pdnCpIwfRowStatus"), ("PDN-CP-IWF-MIB", "pdnCpIwfNumPotsAssigned"), ("PDN-CP-IWF-MIB", "pdnCpIwfGatewayProtocol"), ("PDN-CP-IWF-MIB", "pdnCpIwfAtmBLESCapability"), ("PDN-CP-IWF-MIB", "pdnCpIwfSscsPredefinedProfile"), ("PDN-CP-IWF-MIB", "pdnCpIwfJitterBufferLength"), ("PDN-CP-IWF-MIB", "pdnCpIwfMappingIndex"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pdnCpIwfIADConfigGroupV3 = pdnCpIwfIADConfigGroupV3.setStatus('current')
pdnCpIwfPotsPortPacketStatsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 2, 11)).setObjects(("PDN-CP-IWF-MIB", "pdnPotsPortPacketsSent"), ("PDN-CP-IWF-MIB", "pdnPotsPortPacketsReceived"), ("PDN-CP-IWF-MIB", "pdnPotsPortPacketsLost"), ("PDN-CP-IWF-MIB", "pdnPotsPortBytesSent"), ("PDN-CP-IWF-MIB", "pdnPotsPortBytesReceived"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pdnCpIwfPotsPortPacketStatsGroup = pdnCpIwfPotsPortPacketStatsGroup.setStatus('current')
mibBuilder.exportSymbols("PDN-CP-IWF-MIB", CpIwfRegion=CpIwfRegion, pdnCpIwfIndex=pdnCpIwfIndex, pdnPotsPortStatsTable=pdnPotsPortStatsTable, pdnCpIwfNumPotsAssigned=pdnCpIwfNumPotsAssigned, pdnPotsPortInCallsConnected=pdnPotsPortInCallsConnected, pdnCpIwfMIBGroups=pdnCpIwfMIBGroups, GatewayProtocol=GatewayProtocol, pdnPotsTestEntry=pdnPotsTestEntry, pdnCpIwfTable=pdnCpIwfTable, pdnCpIwfNotifications=pdnCpIwfNotifications, pdnCpIwfAal2StatsTable=pdnCpIwfAal2StatsTable, pdnPotsPortSignalingMethod=pdnPotsPortSignalingMethod, pdnCpIwfAal2CpsUuiErrors=pdnCpIwfAal2CpsUuiErrors, pdnCpIwfJitterBufferLength=pdnCpIwfJitterBufferLength, PYSNMP_MODULE_ID=pdnCpIwfMIB, pdnCpIwfPotsPortConfigGroupV2=pdnCpIwfPotsPortConfigGroupV2, pdnPotsPortOutCallsFailure=pdnPotsPortOutCallsFailure, pdnPotsPortEntry=pdnPotsPortEntry, pdnCpIwfMIBCompliances=pdnCpIwfMIBCompliances, pdnCpIwfAtmBLESCapability=pdnCpIwfAtmBLESCapability, pdnPotsPortPreferedVoiceCodec=pdnPotsPortPreferedVoiceCodec, pdnPotsPortInCallsFailure=pdnPotsPortInCallsFailure, pdnPotsPortLocalEndName=pdnPotsPortLocalEndName, pdnCpIwfMIBComplianceV3=pdnCpIwfMIBComplianceV3, pdnCpIwfStatsObjects=pdnCpIwfStatsObjects, pdnPotsPortTxGain=pdnPotsPortTxGain, pdnPotsPortBytesSent=pdnPotsPortBytesSent, ControlProtocol=ControlProtocol, pdnPotsPortOutCallsAttempted=pdnPotsPortOutCallsAttempted, pdnPotsPortTotalCalls=pdnPotsPortTotalCalls, pdnPotsPortOutCallsConnected=pdnPotsPortOutCallsConnected, pdnCpIwfPotsPortStatsGroupV2=pdnCpIwfPotsPortStatsGroupV2, pdnCpIwfRowStatus=pdnCpIwfRowStatus, pdnPotsPortTable=pdnPotsPortTable, HookState=HookState, pdnPotsPortBytesReceived=pdnPotsPortBytesReceived, pdnCpIwfTestObjects=pdnCpIwfTestObjects, pdnPotsTestType=pdnPotsTestType, pdnPotsPortStatsEntry=pdnPotsPortStatsEntry, pdnPotsPortTotalCallsFailure=pdnPotsPortTotalCallsFailure, pdnPotsPortModemDetected=pdnPotsPortModemDetected, pdnCpIwfMappingEntry=pdnCpIwfMappingEntry, pdnCpIwfRegion=pdnCpIwfRegion, pdnPotsPortEchoCanceller=pdnPotsPortEchoCanceller, pdnCpIwfGeneralConfigGroup=pdnCpIwfGeneralConfigGroup, pdnCpIwfPotsPortStatsGroup=pdnCpIwfPotsPortStatsGroup, pdnCpIwfAal2CpsOsfErrors=pdnCpIwfAal2CpsOsfErrors, pdnCpIwfAal2CpsParityErrors=pdnCpIwfAal2CpsParityErrors, pdnCpIwfMIB=pdnCpIwfMIB, pdnCpIwfIADConfigGroupV2=pdnCpIwfIADConfigGroupV2, pdnPotsPortActualVoiceCodec=pdnPotsPortActualVoiceCodec, pdnPotsPortOutCallsAnswered=pdnPotsPortOutCallsAnswered, pdnCpIwfAal2CpsOversizeSduErrors=pdnCpIwfAal2CpsOversizeSduErrors, pdnCpIwfAal2CpsReassemblyErrors=pdnCpIwfAal2CpsReassemblyErrors, pdnCpIwfTotalNumber=pdnCpIwfTotalNumber, pdnPotsPortActiveSoftswitch=pdnPotsPortActiveSoftswitch, pdnPotsPortPacketsLost=pdnPotsPortPacketsLost, pdnCpIwfPotsPortTestGroupV2=pdnCpIwfPotsPortTestGroupV2, pdnPotsPortSilenceSuppression=pdnPotsPortSilenceSuppression, pdnCpIwfMappingIndex=pdnCpIwfMappingIndex, pdnCpIwfAal2CpsHecOverlapErrors=pdnCpIwfAal2CpsHecOverlapErrors, pdnCpIwfSscsPredefinedProfile=pdnCpIwfSscsPredefinedProfile, pdnPotsPortPreferredPacketPeriod=pdnPotsPortPreferredPacketPeriod, pdnCpIwfPotsPortPacketStatsGroup=pdnCpIwfPotsPortPacketStatsGroup, pdnPotsPortIfIndex=pdnPotsPortIfIndex, pdnPotsPortTotalCallsDropped=pdnPotsPortTotalCallsDropped, pdnCpIwfMappingTable=pdnCpIwfMappingTable, pdnCpIwfConfigObjects=pdnCpIwfConfigObjects, pdnCpIwfGeneralConfigGroupV2=pdnCpIwfGeneralConfigGroupV2, PdnPotsTestTypes=PdnPotsTestTypes, pdnCpIwfEntry=pdnCpIwfEntry, pdnCpIwfAal2CpsSeqNumErrors=pdnCpIwfAal2CpsSeqNumErrors, pdnPotsPortCustInfo=pdnPotsPortCustInfo, pdnPotsTestTable=pdnPotsTestTable, pdnCpIwfGatewayProtocol=pdnCpIwfGatewayProtocol, pdnCpIwfAal2CpsHecErrors=pdnCpIwfAal2CpsHecErrors, PotsSignaling=PotsSignaling, pdnCpIwfAal2CpsOsfMismatchErrors=pdnCpIwfAal2CpsOsfMismatchErrors, pdnPotsPortInCallsReceived=pdnPotsPortInCallsReceived, pdnPotsPortHookStatus=pdnPotsPortHookStatus, pdnCpIwfMIBComplianceV2=pdnCpIwfMIBComplianceV2, pdnCpIwfIndexNext=pdnCpIwfIndexNext, pdnCpIwfAal2StatsGroup=pdnCpIwfAal2StatsGroup, pdnCpIwfAal2CpsTxPkts=pdnCpIwfAal2CpsTxPkts, pdnPotsTestStatus=pdnPotsTestStatus, pdnCpIwfMIBCompliance=pdnCpIwfMIBCompliance, pdnPotsPortPacketsReceived=pdnPotsPortPacketsReceived, pdnCpIwfIfIndex=pdnCpIwfIfIndex, pdnPotsPortCallElapsedTime=pdnPotsPortCallElapsedTime, pdnCpIwfPotsPortConfigGroup=pdnCpIwfPotsPortConfigGroup, pdnCpIwfMIBConformance=pdnCpIwfMIBConformance, VoiceEncoding=VoiceEncoding, pdnPotsPortPacketsSent=pdnPotsPortPacketsSent, pdnCpIwfAal2StatsEntry=pdnCpIwfAal2StatsEntry, pdnPotsPortG729VoiceCodec=pdnPotsPortG729VoiceCodec, pdnCpIwfMIBObjects=pdnCpIwfMIBObjects, pdnPotsPortInCallsAnswered=pdnPotsPortInCallsAnswered, pdnPotsTestCmd=pdnPotsTestCmd, pdnCpIwfAal2CpsRxPkts=pdnCpIwfAal2CpsRxPkts, pdnCpIwfAal2CpsCidErrors=pdnCpIwfAal2CpsCidErrors, pdnPotsPortRxGain=pdnPotsPortRxGain, pdnCpIwfIADConfigGroupV3=pdnCpIwfIADConfigGroupV3, pdnPotsPortCpIwfIndex=pdnPotsPortCpIwfIndex)
| (octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(constraints_union, value_range_constraint, single_value_constraint, constraints_intersection, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ValueRangeConstraint', 'SingleValueConstraint', 'ConstraintsIntersection', 'ValueSizeConstraint')
(if_index, interface_index) = mibBuilder.importSymbols('IF-MIB', 'ifIndex', 'InterfaceIndex')
(pdn_cp_iwf,) = mibBuilder.importSymbols('PDN-HEADER-MIB', 'pdnCpIwf')
(switch_state,) = mibBuilder.importSymbols('PDN-TC', 'SwitchState')
(notification_group, object_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ObjectGroup', 'ModuleCompliance')
(mib_scalar, mib_table, mib_table_row, mib_table_column, object_identity, gauge32, module_identity, time_ticks, counter32, ip_address, iso, integer32, notification_type, bits, counter64, mib_identifier, unsigned32) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'ObjectIdentity', 'Gauge32', 'ModuleIdentity', 'TimeTicks', 'Counter32', 'IpAddress', 'iso', 'Integer32', 'NotificationType', 'Bits', 'Counter64', 'MibIdentifier', 'Unsigned32')
(textual_convention, row_status, display_string, truth_value) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'RowStatus', 'DisplayString', 'TruthValue')
pdn_cp_iwf_mib = module_identity((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1))
pdnCpIwfMIB.setRevisions(('2004-12-02 17:00', '2004-10-07 11:00', '2004-08-30 11:00', '2004-07-15 00:00', '2004-03-22 00:00'))
if mibBuilder.loadTexts:
pdnCpIwfMIB.setLastUpdated('200412021700Z')
if mibBuilder.loadTexts:
pdnCpIwfMIB.setOrganization('Paradyne Networks MIB Working Group Other information about group editing the MIB')
pdn_cp_iwf_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 0))
pdn_cp_iwf_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1))
pdn_cp_iwf_mib_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2))
pdn_cp_iwf_config_objects = mib_identifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1))
pdn_cp_iwf_test_objects = mib_identifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 2))
pdn_cp_iwf_stats_objects = mib_identifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3))
class Cpiwfregion(TextualConvention, Integer32):
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2))
named_values = named_values(('usa', 1), ('canada', 2))
class Gatewayprotocol(TextualConvention, Integer32):
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4))
named_values = named_values(('lescas', 1), ('voiceband', 2), ('mgcp', 3), ('sip', 4))
class Hookstate(TextualConvention, Integer32):
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3))
named_values = named_values(('onhook', 1), ('offhook', 2), ('ringground', 3))
class Potssignaling(TextualConvention, Integer32):
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2))
named_values = named_values(('loopstart', 1), ('groundstart', 2))
class Controlprotocol(TextualConvention, Bits):
status = 'current'
named_values = named_values(('cas', 0), ('eoc', 1), ('ccselcp', 2))
class Voiceencoding(TextualConvention, Integer32):
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1, 2))
named_values = named_values(('g711', 0), ('g726', 1), ('g729', 2))
class Pdnpotstesttypes(TextualConvention, Integer32):
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3))
named_values = named_values(('noTest', 1), ('loopback', 2), ('ringsignal', 3))
pdn_cp_iwf_total_number = mib_scalar((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnCpIwfTotalNumber.setStatus('current')
pdn_cp_iwf_index_next = mib_scalar((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnCpIwfIndexNext.setStatus('current')
pdn_cp_iwf_region = mib_scalar((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 3), cp_iwf_region()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
pdnCpIwfRegion.setStatus('current')
pdn_cp_iwf_table = mib_table((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 4))
if mibBuilder.loadTexts:
pdnCpIwfTable.setStatus('current')
pdn_cp_iwf_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 4, 1)).setIndexNames((0, 'PDN-CP-IWF-MIB', 'pdnCpIwfIndex'))
if mibBuilder.loadTexts:
pdnCpIwfEntry.setStatus('current')
pdn_cp_iwf_index = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
pdnCpIwfIndex.setStatus('current')
pdn_cp_iwf_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 4, 1, 2), interface_index()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnCpIwfIfIndex.setStatus('current')
pdn_cp_iwf_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 4, 1, 3), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
pdnCpIwfRowStatus.setStatus('current')
pdn_cp_iwf_num_pots_assigned = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 4, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 24))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnCpIwfNumPotsAssigned.setStatus('current')
pdn_cp_iwf_gateway_protocol = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 4, 1, 5), gateway_protocol()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
pdnCpIwfGatewayProtocol.setStatus('current')
pdn_cp_iwf_atm_bles_capability = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 4, 1, 6), control_protocol()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnCpIwfAtmBLESCapability.setStatus('current')
pdn_cp_iwf_sscs_predefined_profile = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 4, 1, 7), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
pdnCpIwfSscsPredefinedProfile.setStatus('current')
pdn_cp_iwf_jitter_buffer_length = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 4, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(10, 120))).setUnits('Milliseconds').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
pdnCpIwfJitterBufferLength.setStatus('current')
pdn_cp_iwf_mapping_table = mib_table((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 5))
if mibBuilder.loadTexts:
pdnCpIwfMappingTable.setStatus('current')
pdn_cp_iwf_mapping_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 5, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
pdnCpIwfMappingEntry.setStatus('current')
pdn_cp_iwf_mapping_index = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 5, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnCpIwfMappingIndex.setStatus('current')
pdn_pots_port_table = mib_table((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6))
if mibBuilder.loadTexts:
pdnPotsPortTable.setStatus('current')
pdn_pots_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1)).setIndexNames((0, 'PDN-CP-IWF-MIB', 'pdnPotsPortIfIndex'))
if mibBuilder.loadTexts:
pdnPotsPortEntry.setStatus('current')
pdn_pots_port_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 1), interface_index())
if mibBuilder.loadTexts:
pdnPotsPortIfIndex.setStatus('current')
pdn_pots_port_cp_iwf_index = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
pdnPotsPortCpIwfIndex.setStatus('current')
pdn_pots_port_hook_status = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 3), hook_state()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnPotsPortHookStatus.setStatus('current')
pdn_pots_port_signaling_method = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 4), pots_signaling()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
pdnPotsPortSignalingMethod.setStatus('current')
pdn_pots_port_tx_gain = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(-24, 23))).setUnits('dB').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
pdnPotsPortTxGain.setStatus('current')
pdn_pots_port_rx_gain = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(-24, 23))).setUnits('dB').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
pdnPotsPortRxGain.setStatus('current')
pdn_pots_port_cust_info = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 7), display_string()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
pdnPotsPortCustInfo.setStatus('current')
pdn_pots_port_g729_voice_codec = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 8), switch_state()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
pdnPotsPortG729VoiceCodec.setStatus('current')
pdn_pots_port_prefered_voice_codec = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 9), voice_encoding()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
pdnPotsPortPreferedVoiceCodec.setStatus('current')
pdn_pots_port_preferred_packet_period = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setUnits('Milliseconds').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
pdnPotsPortPreferredPacketPeriod.setStatus('current')
pdn_pots_port_silence_suppression = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 11), switch_state()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
pdnPotsPortSilenceSuppression.setStatus('current')
pdn_pots_port_actual_voice_codec = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 12), voice_encoding()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnPotsPortActualVoiceCodec.setStatus('current')
pdn_pots_port_call_elapsed_time = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 13), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setUnits('Seconds').setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnPotsPortCallElapsedTime.setStatus('current')
pdn_pots_port_modem_detected = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 14), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnPotsPortModemDetected.setStatus('current')
pdn_pots_port_echo_canceller = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnPotsPortEchoCanceller.setStatus('current')
pdn_pots_port_local_end_name = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 16), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
pdnPotsPortLocalEndName.setStatus('current')
pdn_pots_port_active_softswitch = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 1, 6, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('primary', 1), ('secondary', 2), ('none', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnPotsPortActiveSoftswitch.setStatus('current')
pdn_cp_iwf_aal2_stats_table = mib_table((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 1))
if mibBuilder.loadTexts:
pdnCpIwfAal2StatsTable.setStatus('current')
pdn_cp_iwf_aal2_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
pdnCpIwfAal2StatsEntry.setStatus('current')
pdn_cp_iwf_aal2_cps_rx_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 1, 1, 1), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnCpIwfAal2CpsRxPkts.setStatus('current')
pdn_cp_iwf_aal2_cps_tx_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 1, 1, 2), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnCpIwfAal2CpsTxPkts.setStatus('current')
pdn_cp_iwf_aal2_cps_parity_errors = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 1, 1, 3), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnCpIwfAal2CpsParityErrors.setStatus('current')
pdn_cp_iwf_aal2_cps_seq_num_errors = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 1, 1, 4), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnCpIwfAal2CpsSeqNumErrors.setStatus('current')
pdn_cp_iwf_aal2_cps_osf_mismatch_errors = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 1, 1, 5), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnCpIwfAal2CpsOsfMismatchErrors.setStatus('current')
pdn_cp_iwf_aal2_cps_osf_errors = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 1, 1, 6), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnCpIwfAal2CpsOsfErrors.setStatus('current')
pdn_cp_iwf_aal2_cps_hec_errors = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 1, 1, 7), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnCpIwfAal2CpsHecErrors.setStatus('current')
pdn_cp_iwf_aal2_cps_oversize_sdu_errors = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 1, 1, 8), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnCpIwfAal2CpsOversizeSduErrors.setStatus('current')
pdn_cp_iwf_aal2_cps_reassembly_errors = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 1, 1, 9), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnCpIwfAal2CpsReassemblyErrors.setStatus('current')
pdn_cp_iwf_aal2_cps_hec_overlap_errors = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 1, 1, 10), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnCpIwfAal2CpsHecOverlapErrors.setStatus('current')
pdn_cp_iwf_aal2_cps_uui_errors = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 1, 1, 11), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnCpIwfAal2CpsUuiErrors.setStatus('current')
pdn_cp_iwf_aal2_cps_cid_errors = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 1, 1, 12), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnCpIwfAal2CpsCidErrors.setStatus('current')
pdn_pots_port_stats_table = mib_table((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2))
if mibBuilder.loadTexts:
pdnPotsPortStatsTable.setStatus('current')
pdn_pots_port_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
pdnPotsPortStatsEntry.setStatus('current')
pdn_pots_port_total_calls = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 1), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnPotsPortTotalCalls.setStatus('current')
pdn_pots_port_total_calls_failure = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 2), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnPotsPortTotalCallsFailure.setStatus('current')
pdn_pots_port_total_calls_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 3), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnPotsPortTotalCallsDropped.setStatus('current')
pdn_pots_port_in_calls_received = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 4), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnPotsPortInCallsReceived.setStatus('current')
pdn_pots_port_in_calls_answered = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 5), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnPotsPortInCallsAnswered.setStatus('current')
pdn_pots_port_in_calls_connected = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 6), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnPotsPortInCallsConnected.setStatus('current')
pdn_pots_port_in_calls_failure = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 7), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnPotsPortInCallsFailure.setStatus('current')
pdn_pots_port_out_calls_attempted = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 8), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnPotsPortOutCallsAttempted.setStatus('current')
pdn_pots_port_out_calls_answered = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 9), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnPotsPortOutCallsAnswered.setStatus('current')
pdn_pots_port_out_calls_connected = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 10), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnPotsPortOutCallsConnected.setStatus('current')
pdn_pots_port_out_calls_failure = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 11), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnPotsPortOutCallsFailure.setStatus('current')
pdn_pots_port_packets_sent = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 12), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnPotsPortPacketsSent.setStatus('current')
pdn_pots_port_packets_received = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 13), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnPotsPortPacketsReceived.setStatus('current')
pdn_pots_port_packets_lost = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 14), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnPotsPortPacketsLost.setStatus('current')
pdn_pots_port_bytes_sent = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 15), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnPotsPortBytesSent.setStatus('current')
pdn_pots_port_bytes_received = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 3, 2, 1, 16), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnPotsPortBytesReceived.setStatus('current')
pdn_pots_test_table = mib_table((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 2, 1))
if mibBuilder.loadTexts:
pdnPotsTestTable.setStatus('current')
pdn_pots_test_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 2, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
pdnPotsTestEntry.setStatus('current')
pdn_pots_test_type = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 2, 1, 1, 1), pdn_pots_test_types()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
pdnPotsTestType.setStatus('current')
pdn_pots_test_cmd = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 2, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('noOp', 1), ('start', 2), ('stop', 3), ('keepAlive', 4)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
pdnPotsTestCmd.setStatus('current')
pdn_pots_test_status = mib_table_column((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 1, 2, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('active', 1), ('inactive', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdnPotsTestStatus.setStatus('current')
pdn_cp_iwf_mib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 1))
pdn_cp_iwf_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 2))
pdn_cp_iwf_mib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 1, 1)).setObjects(('PDN-CP-IWF-MIB', 'pdnCpIwfGeneralConfigGroup'), ('PDN-CP-IWF-MIB', 'pdnCpIwfPotsPortConfigGroup'), ('PDN-CP-IWF-MIB', 'pdnCpIwfAal2StatsGroup'), ('PDN-CP-IWF-MIB', 'pdnCpIwfPotsPortStatsGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pdn_cp_iwf_mib_compliance = pdnCpIwfMIBCompliance.setStatus('deprecated')
pdn_cp_iwf_mib_compliance_v2 = module_compliance((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 1, 2)).setObjects(('PDN-CP-IWF-MIB', 'pdnCpIwfGeneralConfigGroupV2'), ('PDN-CP-IWF-MIB', 'pdnCpIwfIADConfigGroupV2'), ('PDN-CP-IWF-MIB', 'pdnCpIwfAal2StatsGroup'), ('PDN-CP-IWF-MIB', 'pdnCpIwfPotsPortStatsGroupV2'), ('PDN-CP-IWF-MIB', 'pdnCpIwfPotsPortConfigGroupV2'), ('PDN-CP-IWF-MIB', 'pdnCpIwfPotsPortTestGroupV2'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pdn_cp_iwf_mib_compliance_v2 = pdnCpIwfMIBComplianceV2.setStatus('deprecated')
pdn_cp_iwf_mib_compliance_v3 = module_compliance((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 1, 3)).setObjects(('PDN-CP-IWF-MIB', 'pdnCpIwfGeneralConfigGroupV2'), ('PDN-CP-IWF-MIB', 'pdnCpIwfIADConfigGroupV3'), ('PDN-CP-IWF-MIB', 'pdnCpIwfAal2StatsGroup'), ('PDN-CP-IWF-MIB', 'pdnCpIwfPotsPortStatsGroupV2'), ('PDN-CP-IWF-MIB', 'pdnCpIwfPotsPortConfigGroupV2'), ('PDN-CP-IWF-MIB', 'pdnCpIwfPotsPortTestGroupV2'), ('PDN-CP-IWF-MIB', 'pdnCpIwfPotsPortPacketStatsGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pdn_cp_iwf_mib_compliance_v3 = pdnCpIwfMIBComplianceV3.setStatus('current')
pdn_cp_iwf_general_config_group = object_group((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 2, 1)).setObjects(('PDN-CP-IWF-MIB', 'pdnCpIwfTotalNumber'), ('PDN-CP-IWF-MIB', 'pdnCpIwfIndexNext'), ('PDN-CP-IWF-MIB', 'pdnCpIwfRegion'), ('PDN-CP-IWF-MIB', 'pdnCpIwfIfIndex'), ('PDN-CP-IWF-MIB', 'pdnCpIwfRowStatus'), ('PDN-CP-IWF-MIB', 'pdnCpIwfNumPotsAssigned'), ('PDN-CP-IWF-MIB', 'pdnCpIwfGatewayProtocol'), ('PDN-CP-IWF-MIB', 'pdnCpIwfAtmBLESCapability'), ('PDN-CP-IWF-MIB', 'pdnCpIwfSscsPredefinedProfile'), ('PDN-CP-IWF-MIB', 'pdnCpIwfMappingIndex'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pdn_cp_iwf_general_config_group = pdnCpIwfGeneralConfigGroup.setStatus('deprecated')
pdn_cp_iwf_pots_port_config_group = object_group((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 2, 2)).setObjects(('PDN-CP-IWF-MIB', 'pdnPotsPortCpIwfIndex'), ('PDN-CP-IWF-MIB', 'pdnPotsPortHookStatus'), ('PDN-CP-IWF-MIB', 'pdnPotsPortSignalingMethod'), ('PDN-CP-IWF-MIB', 'pdnPotsPortTxGain'), ('PDN-CP-IWF-MIB', 'pdnPotsPortRxGain'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pdn_cp_iwf_pots_port_config_group = pdnCpIwfPotsPortConfigGroup.setStatus('deprecated')
pdn_cp_iwf_aal2_stats_group = object_group((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 2, 3)).setObjects(('PDN-CP-IWF-MIB', 'pdnCpIwfAal2CpsRxPkts'), ('PDN-CP-IWF-MIB', 'pdnCpIwfAal2CpsTxPkts'), ('PDN-CP-IWF-MIB', 'pdnCpIwfAal2CpsParityErrors'), ('PDN-CP-IWF-MIB', 'pdnCpIwfAal2CpsSeqNumErrors'), ('PDN-CP-IWF-MIB', 'pdnCpIwfAal2CpsOsfMismatchErrors'), ('PDN-CP-IWF-MIB', 'pdnCpIwfAal2CpsOsfErrors'), ('PDN-CP-IWF-MIB', 'pdnCpIwfAal2CpsHecErrors'), ('PDN-CP-IWF-MIB', 'pdnCpIwfAal2CpsOversizeSduErrors'), ('PDN-CP-IWF-MIB', 'pdnCpIwfAal2CpsReassemblyErrors'), ('PDN-CP-IWF-MIB', 'pdnCpIwfAal2CpsHecOverlapErrors'), ('PDN-CP-IWF-MIB', 'pdnCpIwfAal2CpsUuiErrors'), ('PDN-CP-IWF-MIB', 'pdnCpIwfAal2CpsCidErrors'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pdn_cp_iwf_aal2_stats_group = pdnCpIwfAal2StatsGroup.setStatus('current')
pdn_cp_iwf_pots_port_stats_group = object_group((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 2, 4)).setObjects(('PDN-CP-IWF-MIB', 'pdnPotsPortTotalCalls'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pdn_cp_iwf_pots_port_stats_group = pdnCpIwfPotsPortStatsGroup.setStatus('deprecated')
pdn_cp_iwf_general_config_group_v2 = object_group((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 2, 5)).setObjects(('PDN-CP-IWF-MIB', 'pdnCpIwfTotalNumber'), ('PDN-CP-IWF-MIB', 'pdnCpIwfIndexNext'), ('PDN-CP-IWF-MIB', 'pdnCpIwfRegion'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pdn_cp_iwf_general_config_group_v2 = pdnCpIwfGeneralConfigGroupV2.setStatus('current')
pdn_cp_iwf_iad_config_group_v2 = object_group((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 2, 6)).setObjects(('PDN-CP-IWF-MIB', 'pdnCpIwfIfIndex'), ('PDN-CP-IWF-MIB', 'pdnCpIwfRowStatus'), ('PDN-CP-IWF-MIB', 'pdnCpIwfNumPotsAssigned'), ('PDN-CP-IWF-MIB', 'pdnCpIwfGatewayProtocol'), ('PDN-CP-IWF-MIB', 'pdnCpIwfAtmBLESCapability'), ('PDN-CP-IWF-MIB', 'pdnCpIwfSscsPredefinedProfile'), ('PDN-CP-IWF-MIB', 'pdnCpIwfMappingIndex'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pdn_cp_iwf_iad_config_group_v2 = pdnCpIwfIADConfigGroupV2.setStatus('current')
pdn_cp_iwf_pots_port_stats_group_v2 = object_group((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 2, 7)).setObjects(('PDN-CP-IWF-MIB', 'pdnPotsPortTotalCalls'), ('PDN-CP-IWF-MIB', 'pdnPotsPortTotalCallsFailure'), ('PDN-CP-IWF-MIB', 'pdnPotsPortTotalCallsDropped'), ('PDN-CP-IWF-MIB', 'pdnPotsPortInCallsReceived'), ('PDN-CP-IWF-MIB', 'pdnPotsPortInCallsAnswered'), ('PDN-CP-IWF-MIB', 'pdnPotsPortInCallsConnected'), ('PDN-CP-IWF-MIB', 'pdnPotsPortInCallsFailure'), ('PDN-CP-IWF-MIB', 'pdnPotsPortOutCallsAttempted'), ('PDN-CP-IWF-MIB', 'pdnPotsPortOutCallsAnswered'), ('PDN-CP-IWF-MIB', 'pdnPotsPortOutCallsConnected'), ('PDN-CP-IWF-MIB', 'pdnPotsPortOutCallsFailure'), ('PDN-CP-IWF-MIB', 'pdnPotsPortPacketsSent'), ('PDN-CP-IWF-MIB', 'pdnPotsPortPacketsReceived'), ('PDN-CP-IWF-MIB', 'pdnPotsPortPacketsLost'), ('PDN-CP-IWF-MIB', 'pdnPotsPortBytesSent'), ('PDN-CP-IWF-MIB', 'pdnPotsPortBytesReceived'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pdn_cp_iwf_pots_port_stats_group_v2 = pdnCpIwfPotsPortStatsGroupV2.setStatus('current')
pdn_cp_iwf_pots_port_config_group_v2 = object_group((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 2, 8)).setObjects(('PDN-CP-IWF-MIB', 'pdnPotsPortCpIwfIndex'), ('PDN-CP-IWF-MIB', 'pdnPotsPortHookStatus'), ('PDN-CP-IWF-MIB', 'pdnPotsPortSignalingMethod'), ('PDN-CP-IWF-MIB', 'pdnPotsPortTxGain'), ('PDN-CP-IWF-MIB', 'pdnPotsPortRxGain'), ('PDN-CP-IWF-MIB', 'pdnPotsPortCustInfo'), ('PDN-CP-IWF-MIB', 'pdnPotsPortG729VoiceCodec'), ('PDN-CP-IWF-MIB', 'pdnPotsPortPreferedVoiceCodec'), ('PDN-CP-IWF-MIB', 'pdnPotsPortPreferredPacketPeriod'), ('PDN-CP-IWF-MIB', 'pdnPotsPortSilenceSuppression'), ('PDN-CP-IWF-MIB', 'pdnPotsPortActualVoiceCodec'), ('PDN-CP-IWF-MIB', 'pdnPotsPortCallElapsedTime'), ('PDN-CP-IWF-MIB', 'pdnPotsPortModemDetected'), ('PDN-CP-IWF-MIB', 'pdnPotsPortEchoCanceller'), ('PDN-CP-IWF-MIB', 'pdnPotsPortLocalEndName'), ('PDN-CP-IWF-MIB', 'pdnPotsPortActiveSoftswitch'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pdn_cp_iwf_pots_port_config_group_v2 = pdnCpIwfPotsPortConfigGroupV2.setStatus('current')
pdn_cp_iwf_pots_port_test_group_v2 = object_group((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 2, 9)).setObjects(('PDN-CP-IWF-MIB', 'pdnPotsTestType'), ('PDN-CP-IWF-MIB', 'pdnPotsTestCmd'), ('PDN-CP-IWF-MIB', 'pdnPotsTestStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pdn_cp_iwf_pots_port_test_group_v2 = pdnCpIwfPotsPortTestGroupV2.setStatus('current')
pdn_cp_iwf_iad_config_group_v3 = object_group((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 2, 10)).setObjects(('PDN-CP-IWF-MIB', 'pdnCpIwfIfIndex'), ('PDN-CP-IWF-MIB', 'pdnCpIwfRowStatus'), ('PDN-CP-IWF-MIB', 'pdnCpIwfNumPotsAssigned'), ('PDN-CP-IWF-MIB', 'pdnCpIwfGatewayProtocol'), ('PDN-CP-IWF-MIB', 'pdnCpIwfAtmBLESCapability'), ('PDN-CP-IWF-MIB', 'pdnCpIwfSscsPredefinedProfile'), ('PDN-CP-IWF-MIB', 'pdnCpIwfJitterBufferLength'), ('PDN-CP-IWF-MIB', 'pdnCpIwfMappingIndex'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pdn_cp_iwf_iad_config_group_v3 = pdnCpIwfIADConfigGroupV3.setStatus('current')
pdn_cp_iwf_pots_port_packet_stats_group = object_group((1, 3, 6, 1, 4, 1, 1795, 2, 24, 2, 50, 1, 2, 2, 11)).setObjects(('PDN-CP-IWF-MIB', 'pdnPotsPortPacketsSent'), ('PDN-CP-IWF-MIB', 'pdnPotsPortPacketsReceived'), ('PDN-CP-IWF-MIB', 'pdnPotsPortPacketsLost'), ('PDN-CP-IWF-MIB', 'pdnPotsPortBytesSent'), ('PDN-CP-IWF-MIB', 'pdnPotsPortBytesReceived'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pdn_cp_iwf_pots_port_packet_stats_group = pdnCpIwfPotsPortPacketStatsGroup.setStatus('current')
mibBuilder.exportSymbols('PDN-CP-IWF-MIB', CpIwfRegion=CpIwfRegion, pdnCpIwfIndex=pdnCpIwfIndex, pdnPotsPortStatsTable=pdnPotsPortStatsTable, pdnCpIwfNumPotsAssigned=pdnCpIwfNumPotsAssigned, pdnPotsPortInCallsConnected=pdnPotsPortInCallsConnected, pdnCpIwfMIBGroups=pdnCpIwfMIBGroups, GatewayProtocol=GatewayProtocol, pdnPotsTestEntry=pdnPotsTestEntry, pdnCpIwfTable=pdnCpIwfTable, pdnCpIwfNotifications=pdnCpIwfNotifications, pdnCpIwfAal2StatsTable=pdnCpIwfAal2StatsTable, pdnPotsPortSignalingMethod=pdnPotsPortSignalingMethod, pdnCpIwfAal2CpsUuiErrors=pdnCpIwfAal2CpsUuiErrors, pdnCpIwfJitterBufferLength=pdnCpIwfJitterBufferLength, PYSNMP_MODULE_ID=pdnCpIwfMIB, pdnCpIwfPotsPortConfigGroupV2=pdnCpIwfPotsPortConfigGroupV2, pdnPotsPortOutCallsFailure=pdnPotsPortOutCallsFailure, pdnPotsPortEntry=pdnPotsPortEntry, pdnCpIwfMIBCompliances=pdnCpIwfMIBCompliances, pdnCpIwfAtmBLESCapability=pdnCpIwfAtmBLESCapability, pdnPotsPortPreferedVoiceCodec=pdnPotsPortPreferedVoiceCodec, pdnPotsPortInCallsFailure=pdnPotsPortInCallsFailure, pdnPotsPortLocalEndName=pdnPotsPortLocalEndName, pdnCpIwfMIBComplianceV3=pdnCpIwfMIBComplianceV3, pdnCpIwfStatsObjects=pdnCpIwfStatsObjects, pdnPotsPortTxGain=pdnPotsPortTxGain, pdnPotsPortBytesSent=pdnPotsPortBytesSent, ControlProtocol=ControlProtocol, pdnPotsPortOutCallsAttempted=pdnPotsPortOutCallsAttempted, pdnPotsPortTotalCalls=pdnPotsPortTotalCalls, pdnPotsPortOutCallsConnected=pdnPotsPortOutCallsConnected, pdnCpIwfPotsPortStatsGroupV2=pdnCpIwfPotsPortStatsGroupV2, pdnCpIwfRowStatus=pdnCpIwfRowStatus, pdnPotsPortTable=pdnPotsPortTable, HookState=HookState, pdnPotsPortBytesReceived=pdnPotsPortBytesReceived, pdnCpIwfTestObjects=pdnCpIwfTestObjects, pdnPotsTestType=pdnPotsTestType, pdnPotsPortStatsEntry=pdnPotsPortStatsEntry, pdnPotsPortTotalCallsFailure=pdnPotsPortTotalCallsFailure, pdnPotsPortModemDetected=pdnPotsPortModemDetected, pdnCpIwfMappingEntry=pdnCpIwfMappingEntry, pdnCpIwfRegion=pdnCpIwfRegion, pdnPotsPortEchoCanceller=pdnPotsPortEchoCanceller, pdnCpIwfGeneralConfigGroup=pdnCpIwfGeneralConfigGroup, pdnCpIwfPotsPortStatsGroup=pdnCpIwfPotsPortStatsGroup, pdnCpIwfAal2CpsOsfErrors=pdnCpIwfAal2CpsOsfErrors, pdnCpIwfAal2CpsParityErrors=pdnCpIwfAal2CpsParityErrors, pdnCpIwfMIB=pdnCpIwfMIB, pdnCpIwfIADConfigGroupV2=pdnCpIwfIADConfigGroupV2, pdnPotsPortActualVoiceCodec=pdnPotsPortActualVoiceCodec, pdnPotsPortOutCallsAnswered=pdnPotsPortOutCallsAnswered, pdnCpIwfAal2CpsOversizeSduErrors=pdnCpIwfAal2CpsOversizeSduErrors, pdnCpIwfAal2CpsReassemblyErrors=pdnCpIwfAal2CpsReassemblyErrors, pdnCpIwfTotalNumber=pdnCpIwfTotalNumber, pdnPotsPortActiveSoftswitch=pdnPotsPortActiveSoftswitch, pdnPotsPortPacketsLost=pdnPotsPortPacketsLost, pdnCpIwfPotsPortTestGroupV2=pdnCpIwfPotsPortTestGroupV2, pdnPotsPortSilenceSuppression=pdnPotsPortSilenceSuppression, pdnCpIwfMappingIndex=pdnCpIwfMappingIndex, pdnCpIwfAal2CpsHecOverlapErrors=pdnCpIwfAal2CpsHecOverlapErrors, pdnCpIwfSscsPredefinedProfile=pdnCpIwfSscsPredefinedProfile, pdnPotsPortPreferredPacketPeriod=pdnPotsPortPreferredPacketPeriod, pdnCpIwfPotsPortPacketStatsGroup=pdnCpIwfPotsPortPacketStatsGroup, pdnPotsPortIfIndex=pdnPotsPortIfIndex, pdnPotsPortTotalCallsDropped=pdnPotsPortTotalCallsDropped, pdnCpIwfMappingTable=pdnCpIwfMappingTable, pdnCpIwfConfigObjects=pdnCpIwfConfigObjects, pdnCpIwfGeneralConfigGroupV2=pdnCpIwfGeneralConfigGroupV2, PdnPotsTestTypes=PdnPotsTestTypes, pdnCpIwfEntry=pdnCpIwfEntry, pdnCpIwfAal2CpsSeqNumErrors=pdnCpIwfAal2CpsSeqNumErrors, pdnPotsPortCustInfo=pdnPotsPortCustInfo, pdnPotsTestTable=pdnPotsTestTable, pdnCpIwfGatewayProtocol=pdnCpIwfGatewayProtocol, pdnCpIwfAal2CpsHecErrors=pdnCpIwfAal2CpsHecErrors, PotsSignaling=PotsSignaling, pdnCpIwfAal2CpsOsfMismatchErrors=pdnCpIwfAal2CpsOsfMismatchErrors, pdnPotsPortInCallsReceived=pdnPotsPortInCallsReceived, pdnPotsPortHookStatus=pdnPotsPortHookStatus, pdnCpIwfMIBComplianceV2=pdnCpIwfMIBComplianceV2, pdnCpIwfIndexNext=pdnCpIwfIndexNext, pdnCpIwfAal2StatsGroup=pdnCpIwfAal2StatsGroup, pdnCpIwfAal2CpsTxPkts=pdnCpIwfAal2CpsTxPkts, pdnPotsTestStatus=pdnPotsTestStatus, pdnCpIwfMIBCompliance=pdnCpIwfMIBCompliance, pdnPotsPortPacketsReceived=pdnPotsPortPacketsReceived, pdnCpIwfIfIndex=pdnCpIwfIfIndex, pdnPotsPortCallElapsedTime=pdnPotsPortCallElapsedTime, pdnCpIwfPotsPortConfigGroup=pdnCpIwfPotsPortConfigGroup, pdnCpIwfMIBConformance=pdnCpIwfMIBConformance, VoiceEncoding=VoiceEncoding, pdnPotsPortPacketsSent=pdnPotsPortPacketsSent, pdnCpIwfAal2StatsEntry=pdnCpIwfAal2StatsEntry, pdnPotsPortG729VoiceCodec=pdnPotsPortG729VoiceCodec, pdnCpIwfMIBObjects=pdnCpIwfMIBObjects, pdnPotsPortInCallsAnswered=pdnPotsPortInCallsAnswered, pdnPotsTestCmd=pdnPotsTestCmd, pdnCpIwfAal2CpsRxPkts=pdnCpIwfAal2CpsRxPkts, pdnCpIwfAal2CpsCidErrors=pdnCpIwfAal2CpsCidErrors, pdnPotsPortRxGain=pdnPotsPortRxGain, pdnCpIwfIADConfigGroupV3=pdnCpIwfIADConfigGroupV3, pdnPotsPortCpIwfIndex=pdnPotsPortCpIwfIndex) |
def u64ToCounts(number):
"""
Convert an unsigned 64 bit number to a 25 element array containing the
photon counts for each of the 25 detector elements during a single dwell
time.
========== ===============================================================
Input Meaning
---------- ---------------------------------------------------------------
number Integer number <= 2^64 containing the photon counts for half of
the detector elements for 1 bin.
========== ===============================================================
========== ===============================================================
Output Meaning
---------- ---------------------------------------------------------------
counts List of 26 integer numbers with the photon counts for each of
the 25 detector elements + sum. Zeros are inserted for detector
elements that are not stored in the number.
========== ===============================================================
=======
Example
=======
u64ToCounts(13091560953979690842) will return
[0, 0, 0, 0, 0, 0, 26, 23, 21, 10, 12, 26, 554, 52, 5, 11, 22, 0, 0, 0,...
0, 0, 0, 0, 0, 759]
"""
if number < 32:
counts = [0] * 26
return counts
# Convert number to binary list of 64 digits
number = list('{0:064b}'.format(int(number)))
# Get time tag
tt = number[-4:]
tt = ''.join(tt)
tt = int(tt, 2)
del number[-4:]
# Get cluster type
clust = number[-1]
clust = int(clust, 2)
del number[-1]
# Create list with 25 0's, one for each detector element
counts = [0] * 26
if clust == 0:
# Data point contains counts of detector elements 0-5, 17-24
# Detector elements 0-5 (4 bits / element)
for i in range(6):
counts[i], number = binaryToCounts(number, 4)
# Detector element 17 (6 bits long)
counts[17], number = binaryToCounts(number, 6)
# Detector element 18 (5 bits long)
counts[18], number = binaryToCounts(number, 5)
# Detector elements 19-24 (4 bits / element)
for i in range(6):
counts[i+19], number = binaryToCounts(number, 4)
elif clust == 1:
# Data point contains counts of detector elements 6-16
# Detector element 6 (5 bits long)
counts[6], number = binaryToCounts(number, 5)
# Detector element 7 (6 bits long)
counts[7], number = binaryToCounts(number, 6)
# Detector element 8 (5 bits long)
counts[8], number = binaryToCounts(number, 5)
# Detector element 9-10 (4 bits long)
counts[9], number = binaryToCounts(number, 4)
counts[10], number = binaryToCounts(number, 4)
# Detector element 11 (6 bits long)
counts[11], number = binaryToCounts(number, 6)
# Detector element 12 (10 bits long)
counts[12], number = binaryToCounts(number, 10)
# Detector element 13 (6 bits long)
counts[13], number = binaryToCounts(number, 6)
# Detector element 14-15 (4 bits long)
counts[14], number = binaryToCounts(number, 4)
counts[15], number = binaryToCounts(number, 4)
# Detector element 14-15 (5 bits long)
counts[16], number = binaryToCounts(number, 5)
counts[25] = sum(counts)
return counts
def binaryToCounts(number, length):
"""
Convert the last elements of a binary list to the corresponding photon
decimal number and remove these elements from the list. Both the number
and the new list are returned.
========== ===============================================================
Input Meaning
---------- ---------------------------------------------------------------
number List of 0's and 1's.
length Integer number representing the number of bits that make up the
last photon count number in the list.
========== ===============================================================
========== ===============================================================
Output Meaning
---------- ---------------------------------------------------------------
counts Decimal representation of the binary string of length 'length',
formed by the last elements in the list.
number New binary list with the last 'length' elements removed.
========== ===============================================================
=======
Example
=======
binaryToCounts(['1', '0', '1', '1'], 3) will return (3, ['1']).
3: the decimal representation of the last elements in the list (0,1,1)
['1']: list with the remaining elements of the original list
"""
counts = int(''.join(number[-length:]), 2)
del number[-length:]
return counts, number
| def u64_to_counts(number):
"""
Convert an unsigned 64 bit number to a 25 element array containing the
photon counts for each of the 25 detector elements during a single dwell
time.
========== ===============================================================
Input Meaning
---------- ---------------------------------------------------------------
number Integer number <= 2^64 containing the photon counts for half of
the detector elements for 1 bin.
========== ===============================================================
========== ===============================================================
Output Meaning
---------- ---------------------------------------------------------------
counts List of 26 integer numbers with the photon counts for each of
the 25 detector elements + sum. Zeros are inserted for detector
elements that are not stored in the number.
========== ===============================================================
=======
Example
=======
u64ToCounts(13091560953979690842) will return
[0, 0, 0, 0, 0, 0, 26, 23, 21, 10, 12, 26, 554, 52, 5, 11, 22, 0, 0, 0,...
0, 0, 0, 0, 0, 759]
"""
if number < 32:
counts = [0] * 26
return counts
number = list('{0:064b}'.format(int(number)))
tt = number[-4:]
tt = ''.join(tt)
tt = int(tt, 2)
del number[-4:]
clust = number[-1]
clust = int(clust, 2)
del number[-1]
counts = [0] * 26
if clust == 0:
for i in range(6):
(counts[i], number) = binary_to_counts(number, 4)
(counts[17], number) = binary_to_counts(number, 6)
(counts[18], number) = binary_to_counts(number, 5)
for i in range(6):
(counts[i + 19], number) = binary_to_counts(number, 4)
elif clust == 1:
(counts[6], number) = binary_to_counts(number, 5)
(counts[7], number) = binary_to_counts(number, 6)
(counts[8], number) = binary_to_counts(number, 5)
(counts[9], number) = binary_to_counts(number, 4)
(counts[10], number) = binary_to_counts(number, 4)
(counts[11], number) = binary_to_counts(number, 6)
(counts[12], number) = binary_to_counts(number, 10)
(counts[13], number) = binary_to_counts(number, 6)
(counts[14], number) = binary_to_counts(number, 4)
(counts[15], number) = binary_to_counts(number, 4)
(counts[16], number) = binary_to_counts(number, 5)
counts[25] = sum(counts)
return counts
def binary_to_counts(number, length):
"""
Convert the last elements of a binary list to the corresponding photon
decimal number and remove these elements from the list. Both the number
and the new list are returned.
========== ===============================================================
Input Meaning
---------- ---------------------------------------------------------------
number List of 0's and 1's.
length Integer number representing the number of bits that make up the
last photon count number in the list.
========== ===============================================================
========== ===============================================================
Output Meaning
---------- ---------------------------------------------------------------
counts Decimal representation of the binary string of length 'length',
formed by the last elements in the list.
number New binary list with the last 'length' elements removed.
========== ===============================================================
=======
Example
=======
binaryToCounts(['1', '0', '1', '1'], 3) will return (3, ['1']).
3: the decimal representation of the last elements in the list (0,1,1)
['1']: list with the remaining elements of the original list
"""
counts = int(''.join(number[-length:]), 2)
del number[-length:]
return (counts, number) |
# -*- coding: utf-8 -*-
class StringMutations:
@classmethod
def _list_shift(cls, l, n):
return l[n:] + l[:n]
@classmethod
def length(cls, mutation, value, story, line, operator, operand):
return len(value)
@classmethod
def replace(cls, mutation, value, story, line, operator, operand):
new_val = story.argument_by_name(mutation, 'with')
return value.replace(operand, new_val)
@classmethod
def split(cls, mutation, value, story, line, operator, operand):
return value.split(operand)
@classmethod
def uppercase(cls, mutation, value, story, line, operator, operand):
return value.upper()
@classmethod
def lowercase(cls, mutation, value, story, line, operator, operand):
return value.lower()
| class Stringmutations:
@classmethod
def _list_shift(cls, l, n):
return l[n:] + l[:n]
@classmethod
def length(cls, mutation, value, story, line, operator, operand):
return len(value)
@classmethod
def replace(cls, mutation, value, story, line, operator, operand):
new_val = story.argument_by_name(mutation, 'with')
return value.replace(operand, new_val)
@classmethod
def split(cls, mutation, value, story, line, operator, operand):
return value.split(operand)
@classmethod
def uppercase(cls, mutation, value, story, line, operator, operand):
return value.upper()
@classmethod
def lowercase(cls, mutation, value, story, line, operator, operand):
return value.lower() |
# Copyright 2016 Cisco Systems, Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
class Encaps(object):
VLAN = "VLAN"
VxLAN = "VxLAN"
MPLS = "MPLS"
NO_ENCAPS = "NONE"
encaps_mapping = {
'VLAN': VLAN,
'VXLAN': VxLAN,
'MPLS': MPLS,
'NONE': NO_ENCAPS
}
@classmethod
def get(cls, network_type):
return cls.encaps_mapping.get(network_type.upper(), None)
class ChainType(object):
PVP = "PVP"
PVVP = "PVVP"
EXT = "EXT"
names = [EXT, PVP, PVVP]
class OpenStackSpec(object):
def __init__(self):
self.__vswitch = "BASIC"
self.__encaps = Encaps.NO_ENCAPS
@property
def vswitch(self):
return self.__vswitch
@vswitch.setter
def vswitch(self, vsw):
if vsw is None:
raise Exception('Trying to set vSwitch as None.')
self.__vswitch = vsw.upper()
@property
def encaps(self):
return self.__encaps
@encaps.setter
def encaps(self, enc):
if enc is None:
raise Exception('Trying to set Encaps as None.')
self.__encaps = enc
class RunSpec(object):
def __init__(self, no_vswitch_access, openstack_spec):
self.use_vswitch = (not no_vswitch_access) and openstack_spec \
and openstack_spec.vswitch != "BASIC"
class Specs(object):
def __init__(self):
self.openstack = None
self.run_spec = None
def set_openstack_spec(self, openstack_spec):
self.openstack = openstack_spec
def set_run_spec(self, run_spec):
self.run_spec = run_spec
| class Encaps(object):
vlan = 'VLAN'
vx_lan = 'VxLAN'
mpls = 'MPLS'
no_encaps = 'NONE'
encaps_mapping = {'VLAN': VLAN, 'VXLAN': VxLAN, 'MPLS': MPLS, 'NONE': NO_ENCAPS}
@classmethod
def get(cls, network_type):
return cls.encaps_mapping.get(network_type.upper(), None)
class Chaintype(object):
pvp = 'PVP'
pvvp = 'PVVP'
ext = 'EXT'
names = [EXT, PVP, PVVP]
class Openstackspec(object):
def __init__(self):
self.__vswitch = 'BASIC'
self.__encaps = Encaps.NO_ENCAPS
@property
def vswitch(self):
return self.__vswitch
@vswitch.setter
def vswitch(self, vsw):
if vsw is None:
raise exception('Trying to set vSwitch as None.')
self.__vswitch = vsw.upper()
@property
def encaps(self):
return self.__encaps
@encaps.setter
def encaps(self, enc):
if enc is None:
raise exception('Trying to set Encaps as None.')
self.__encaps = enc
class Runspec(object):
def __init__(self, no_vswitch_access, openstack_spec):
self.use_vswitch = not no_vswitch_access and openstack_spec and (openstack_spec.vswitch != 'BASIC')
class Specs(object):
def __init__(self):
self.openstack = None
self.run_spec = None
def set_openstack_spec(self, openstack_spec):
self.openstack = openstack_spec
def set_run_spec(self, run_spec):
self.run_spec = run_spec |
# Given an list , use bucket sort to sort the elements of the list and return
# Input: [1, 2, 4, 3, 5]
# Output: [1, 2, 3, 4, 5]
# divide the elements into several lists known as buckets
# loop through each buckets and sort them(insertion/quick sort)
# return each element of the buckets since they would be sorted already
# when the number of elements in each bucket is 1 the time complexity practically becomes n
# very fast when the difference of elements in a list is small but with a loss at space complexity
def do_bucket_sort(nums: list) -> list:
buckets = []
list_len = len(nums)
nums_indx = 0
for i in range(list_len+1):
buckets.append([])
for i in nums:
buckets[i].append(i)
buckets[i].sort()
for bucket in buckets:
for el in bucket:
nums[nums_indx] = el
nums_indx += 1
return nums
def main():
example_list = [1, 2, 4, 3, 5]
print(do_bucket_sort(example_list))
if __name__ == "__main__":
main()
| def do_bucket_sort(nums: list) -> list:
buckets = []
list_len = len(nums)
nums_indx = 0
for i in range(list_len + 1):
buckets.append([])
for i in nums:
buckets[i].append(i)
buckets[i].sort()
for bucket in buckets:
for el in bucket:
nums[nums_indx] = el
nums_indx += 1
return nums
def main():
example_list = [1, 2, 4, 3, 5]
print(do_bucket_sort(example_list))
if __name__ == '__main__':
main() |
class Error(Exception):
"""Handles general exceptions."""
class AbilityScoreImprovementError(Error):
"""Handles ability score improvement errors."""
class AnthropometricCalculatorError(Error):
"""Handles anthropometric calculator errors."""
class BlueprintError(Error):
"""Handles an invalid seamstress error."""
class DieArgumentError(ValueError):
"""Handles an invalid die rolling argument."""
class FlagParserError(Error):
"""Handles an invalid flag format error."""
class SeamstressError(Error):
"""Handles an invalid seamstress error."""
| class Error(Exception):
"""Handles general exceptions."""
class Abilityscoreimprovementerror(Error):
"""Handles ability score improvement errors."""
class Anthropometriccalculatorerror(Error):
"""Handles anthropometric calculator errors."""
class Blueprinterror(Error):
"""Handles an invalid seamstress error."""
class Dieargumenterror(ValueError):
"""Handles an invalid die rolling argument."""
class Flagparsererror(Error):
"""Handles an invalid flag format error."""
class Seamstresserror(Error):
"""Handles an invalid seamstress error.""" |
class A:
def __repr__(self):
True
a = A()
print(a.__repr__()) # ok
print(repr(a)) # fail
| class A:
def __repr__(self):
True
a = a()
print(a.__repr__())
print(repr(a)) |
# Declaring a list
L = [1, "a" , "string" , 1+2]
print (L)
L.append(6)
print (L)
L.pop()
print (L)
print (L[1]) | l = [1, 'a', 'string', 1 + 2]
print(L)
L.append(6)
print(L)
L.pop()
print(L)
print(L[1]) |
def func(a, b, *args, **kwargs):
print(a, b)
for arg in args:
print(arg)
for key, val in kwargs.items():
print (key, val)
def func2(a, b, c=30, d=40, **kwargs):
print(a, b)
print(c, d)
for key, val in kwargs.items():
print (key, val)
def func3(a, b, c=100, d=200):
print(a, b)
print(c, d)
a = 1
b = 2
c = 3
d = 4
e = {'k1': 10, 'k2':20}
print ('w/o args/kwargs')
func(a, b)
print ('w/ args')
func(a, b, (c, d))
print ('w/ *args and kwargs')
func(a, b, *(c, d), e)
print ('w/ *args and **kwargs')
func(a, b, *(c, d), **e)
print ('w/ **kwargs')
f = {'d': d, 'c': c}
f.update(e)
func(a, b, **f)
print ('func2 w/ **kwargs')
f = {'d': d, 'c': c}
f.update(e)
func2(a, b, **f)
print ('func2 w/ **kwargs')
#f = {'d': d, 'c': c}
f = {}
f.update(e)
func2(a, b, **f)
print ('func3 w/ ')
func3(a, b, c, d, **{})
| def func(a, b, *args, **kwargs):
print(a, b)
for arg in args:
print(arg)
for (key, val) in kwargs.items():
print(key, val)
def func2(a, b, c=30, d=40, **kwargs):
print(a, b)
print(c, d)
for (key, val) in kwargs.items():
print(key, val)
def func3(a, b, c=100, d=200):
print(a, b)
print(c, d)
a = 1
b = 2
c = 3
d = 4
e = {'k1': 10, 'k2': 20}
print('w/o args/kwargs')
func(a, b)
print('w/ args')
func(a, b, (c, d))
print('w/ *args and kwargs')
func(a, b, *(c, d), e)
print('w/ *args and **kwargs')
func(a, b, *(c, d), **e)
print('w/ **kwargs')
f = {'d': d, 'c': c}
f.update(e)
func(a, b, **f)
print('func2 w/ **kwargs')
f = {'d': d, 'c': c}
f.update(e)
func2(a, b, **f)
print('func2 w/ **kwargs')
f = {}
f.update(e)
func2(a, b, **f)
print('func3 w/ ')
func3(a, b, c, d, **{}) |
__title__ = 'hrflow'
__description__ = 'Python hrflow.ai API package'
__url__ = 'https://github.com/hrflow/python-hrflow-api'
__version__ = '1.9.0'
__author__ = 'HrFlow.ai'
__author_email__ = 'contact@hrflow.ai'
__license__ = 'MIT' | __title__ = 'hrflow'
__description__ = 'Python hrflow.ai API package'
__url__ = 'https://github.com/hrflow/python-hrflow-api'
__version__ = '1.9.0'
__author__ = 'HrFlow.ai'
__author_email__ = 'contact@hrflow.ai'
__license__ = 'MIT' |
dummy_registry = {}
def dummy_register(name, value):
dummy_registry[name] = value
return value
| dummy_registry = {}
def dummy_register(name, value):
dummy_registry[name] = value
return value |
#
# Copyright (C) 2020 Square, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
# in compliance with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software distributed under the License
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
# or implied. See the License for the specific language governing permissions and limitations under
# the License.
# Description:
# Common utilities to make code a little cleaner.
def _java_executable(ctx):
java_home = ctx.os.environ.get("JAVA_HOME")
if java_home != None:
java = ctx.path(java_home + "/bin/java")
return java
elif ctx.which("java") != None:
return ctx.which("java")
fail("Cannot obtain java binary")
def _exec_jar(root, label):
return "%s/../%s/%s/%s" % (root, label.workspace_name, label.package, label.name)
exec = struct(
java_bin = _java_executable,
exec_jar = _exec_jar,
)
| def _java_executable(ctx):
java_home = ctx.os.environ.get('JAVA_HOME')
if java_home != None:
java = ctx.path(java_home + '/bin/java')
return java
elif ctx.which('java') != None:
return ctx.which('java')
fail('Cannot obtain java binary')
def _exec_jar(root, label):
return '%s/../%s/%s/%s' % (root, label.workspace_name, label.package, label.name)
exec = struct(java_bin=_java_executable, exec_jar=_exec_jar) |
# -*- coding: utf-8 -*-
# @Author: jpch89
# @Email: jpch89@outlook.com
# @Date: 2018-07-12 21:01:08
# @Last Modified by: jpch89
# @Last Modified time: 2018-07-12 21:07:53
people = 30
cars = 40
trucks = 15
if cars > people:
print ("We should take the cars.")
elif cars < people:
print("We should not take the cars.")
else:
print("We can't decide.")
if trucks > cars:
print("That's too many trucks.")
elif trucks < cars:
print("Maybe we could take the trucks.")
else:
print("We still can't decide.")
if people > trucks:
print("Alright, let's just take the trucks.")
else:
print("Fine, let's stay home then.")
| people = 30
cars = 40
trucks = 15
if cars > people:
print('We should take the cars.')
elif cars < people:
print('We should not take the cars.')
else:
print("We can't decide.")
if trucks > cars:
print("That's too many trucks.")
elif trucks < cars:
print('Maybe we could take the trucks.')
else:
print("We still can't decide.")
if people > trucks:
print("Alright, let's just take the trucks.")
else:
print("Fine, let's stay home then.") |
# A base sentence model for storing information related to sentences
# Created by: Mark Mott
class Sentence:
# A single underline denotes a private method/variable.
# Default is the property category
def __init__(self, sentence, subject, category='Property'):
self.setsentence(sentence)
self.setsubject(subject)
self.setcategory(category)
def setsentence(self,sentence):
self._sentence = sentence
def getsentence(self):
return self._sentence
def setsubject(self,subject):
self._subject = subject
def getsubject(self):
return self._subject
def setcategory(self,category):
self._category = category
def getcategory(self):
return self._category
# Allows for Sentence models to better be turned into json
def toString(self):
out = {
"sentence": self.getsentence(),
"subject": self.getsubject(),
"category": self.getcategory()
}
return out | class Sentence:
def __init__(self, sentence, subject, category='Property'):
self.setsentence(sentence)
self.setsubject(subject)
self.setcategory(category)
def setsentence(self, sentence):
self._sentence = sentence
def getsentence(self):
return self._sentence
def setsubject(self, subject):
self._subject = subject
def getsubject(self):
return self._subject
def setcategory(self, category):
self._category = category
def getcategory(self):
return self._category
def to_string(self):
out = {'sentence': self.getsentence(), 'subject': self.getsubject(), 'category': self.getcategory()}
return out |
# Practice debug statement
print("Hello Python")
a = 10
b = 5
c = a + b
print("Hello Python2")
print(c)
c = 99
print("Hello Python3:%d", c)
#####################################################
# ** operator has high precedences than *
print(2**3*4)
print(4*2**3)
def changeVal(x):
x += 2;
#####################################################
def circleArea(r):
pi = 3.14
area = pi * r**2
return area
x = 1
changeVal(x)
print(x)
r = 10
area = circleArea(r)
# print("Circle area=", area, " Second area", sep="|")
print("Circle area=%f" % area)
print ('1:\t|{0:>10},'.format('wangyu'))
| print('Hello Python')
a = 10
b = 5
c = a + b
print('Hello Python2')
print(c)
c = 99
print('Hello Python3:%d', c)
print(2 ** 3 * 4)
print(4 * 2 ** 3)
def change_val(x):
x += 2
def circle_area(r):
pi = 3.14
area = pi * r ** 2
return area
x = 1
change_val(x)
print(x)
r = 10
area = circle_area(r)
print('Circle area=%f' % area)
print('1:\t|{0:>10},'.format('wangyu')) |
_base_ = [
'../../_base_/datasets/query_aware/few_shot_coco.py',
'../../_base_/schedules/schedule.py', '../attention-rpn_r50_c4.py',
'../../_base_/default_runtime.py'
]
# classes splits are predefined in FewShotCocoDataset
# FewShotCocoDefaultDataset predefine ann_cfg for model reproducibility
num_support_ways = 2
num_support_shots = 9
data = dict(
train=dict(
num_support_ways=num_support_ways,
num_support_shots=num_support_shots,
repeat_times=50,
dataset=dict(
type='FewShotCocoDefaultDataset',
ann_cfg=[dict(method='Attention_RPN', setting='10SHOT')],
num_novel_shots=10,
classes='NOVEL_CLASSES',
min_bbox_area=0,
instance_wise=False)),
val=dict(classes='NOVEL_CLASSES'),
test=dict(classes='NOVEL_CLASSES'),
model_init=dict(classes='NOVEL_CLASSES'))
evaluation = dict(interval=3000)
checkpoint_config = dict(interval=3000)
optimizer = dict(
lr=0.001,
momentum=0.9,
paramwise_cfg=dict(custom_keys={'roi_head.bbox_head': dict(lr_mult=2.0)}))
lr_config = dict(
warmup_iters=200, warmup_ratio=0.1, step=[
2000,
3000,
])
log_config = dict(interval=10)
runner = dict(max_iters=3000)
# load_from = 'path of base training model'
load_from = 'work_dirs/attention-rpn_r50_c4_4xb2_coco_base-training/latest.pth'
model = dict(
frozen_parameters=['backbone'],
rpn_head=dict(
num_support_ways=num_support_ways,
num_support_shots=num_support_shots,
),
roi_head=dict(
num_support_ways=num_support_ways,
num_support_shots=num_support_shots,
),
)
| _base_ = ['../../_base_/datasets/query_aware/few_shot_coco.py', '../../_base_/schedules/schedule.py', '../attention-rpn_r50_c4.py', '../../_base_/default_runtime.py']
num_support_ways = 2
num_support_shots = 9
data = dict(train=dict(num_support_ways=num_support_ways, num_support_shots=num_support_shots, repeat_times=50, dataset=dict(type='FewShotCocoDefaultDataset', ann_cfg=[dict(method='Attention_RPN', setting='10SHOT')], num_novel_shots=10, classes='NOVEL_CLASSES', min_bbox_area=0, instance_wise=False)), val=dict(classes='NOVEL_CLASSES'), test=dict(classes='NOVEL_CLASSES'), model_init=dict(classes='NOVEL_CLASSES'))
evaluation = dict(interval=3000)
checkpoint_config = dict(interval=3000)
optimizer = dict(lr=0.001, momentum=0.9, paramwise_cfg=dict(custom_keys={'roi_head.bbox_head': dict(lr_mult=2.0)}))
lr_config = dict(warmup_iters=200, warmup_ratio=0.1, step=[2000, 3000])
log_config = dict(interval=10)
runner = dict(max_iters=3000)
load_from = 'work_dirs/attention-rpn_r50_c4_4xb2_coco_base-training/latest.pth'
model = dict(frozen_parameters=['backbone'], rpn_head=dict(num_support_ways=num_support_ways, num_support_shots=num_support_shots), roi_head=dict(num_support_ways=num_support_ways, num_support_shots=num_support_shots)) |
"""Top-level package for CT Parsers."""
__author__ = """Nick Cannariato"""
__email__ = 'devrel@birdcar.dev'
__version__ = '0.1.0'
| """Top-level package for CT Parsers."""
__author__ = 'Nick Cannariato'
__email__ = 'devrel@birdcar.dev'
__version__ = '0.1.0' |
TRAINING_FILE = "../data/train_folds5.csv"
MODEL_OUTPUT = "../models/"
LABEL="rating_y"
BEST_FEATURES = ['rating_x',
'user_id',
'members',
'episodes',
'Action',
'Drama',
'Fantasy',
'Hentai',
'Romance',
'Adventure',
'Comedy',
'School',
'Shounen',
'Supernatural',
'Kids',
'Mecha',
'Sci-Fi',
'SliceofLife',
'type_OVA',
'Demons',
'Ecchi',
'Harem',
'Horror',
'Magic',
'Mystery',
'Parody',
'Seinen',
'Shoujo',
'SuperPower',
'type_Movie',
'type_Special',
'type_TV'
]
WORST_FEATURES =['Dementia',
'Game',
'Historical',
'MartialArts',
'Military',
'Music',
'Psychological',
'ShounenAi',
'Space',
'Sports',
'type_ONA',
'Josei',
'Police',
'Samurai',
'ShoujoAi',
'Thriller',
'Vampire',
'Yaoi',
'Yuri',
'type_Music',
'Cars'
]
WORST_FEATURES_2 =['Dementia',
'Game',
'Historical',
'MartialArts',
'Military',
'Music',
'Psychological',
'ShounenAi',
'Space',
'Sports',
'type_ONA',
'Josei',
'Police',
'Samurai',
'ShoujoAi',
'Thriller',
'Vampire',
'Yaoi',
'Yuri',
'type_Music',
'Cars',
'Action',
'Drama',
'Fantasy',
'Hentai',
'Romance',
'Adventure',
'Comedy',
'School',
'Shounen',
'Supernatural',
'Kids',
'Mecha',
'Sci-Fi',
'SliceofLife',
'type_OVA',
'Demons',
'Ecchi',
'Harem',
'Horror',
'Magic',
'Mystery',
'Parody',
'Seinen',
'Shoujo',
'SuperPower',
'type_Movie',
'type_Special',
'type_TV'
] | training_file = '../data/train_folds5.csv'
model_output = '../models/'
label = 'rating_y'
best_features = ['rating_x', 'user_id', 'members', 'episodes', 'Action', 'Drama', 'Fantasy', 'Hentai', 'Romance', 'Adventure', 'Comedy', 'School', 'Shounen', 'Supernatural', 'Kids', 'Mecha', 'Sci-Fi', 'SliceofLife', 'type_OVA', 'Demons', 'Ecchi', 'Harem', 'Horror', 'Magic', 'Mystery', 'Parody', 'Seinen', 'Shoujo', 'SuperPower', 'type_Movie', 'type_Special', 'type_TV']
worst_features = ['Dementia', 'Game', 'Historical', 'MartialArts', 'Military', 'Music', 'Psychological', 'ShounenAi', 'Space', 'Sports', 'type_ONA', 'Josei', 'Police', 'Samurai', 'ShoujoAi', 'Thriller', 'Vampire', 'Yaoi', 'Yuri', 'type_Music', 'Cars']
worst_features_2 = ['Dementia', 'Game', 'Historical', 'MartialArts', 'Military', 'Music', 'Psychological', 'ShounenAi', 'Space', 'Sports', 'type_ONA', 'Josei', 'Police', 'Samurai', 'ShoujoAi', 'Thriller', 'Vampire', 'Yaoi', 'Yuri', 'type_Music', 'Cars', 'Action', 'Drama', 'Fantasy', 'Hentai', 'Romance', 'Adventure', 'Comedy', 'School', 'Shounen', 'Supernatural', 'Kids', 'Mecha', 'Sci-Fi', 'SliceofLife', 'type_OVA', 'Demons', 'Ecchi', 'Harem', 'Horror', 'Magic', 'Mystery', 'Parody', 'Seinen', 'Shoujo', 'SuperPower', 'type_Movie', 'type_Special', 'type_TV'] |
def setup_subparser(subparsers, parents, python_version):
parser = subparsers.add_parser(
python_version,
description="""This sub command generates IDE and build files for Python {}
""".format(
"3.6" if python_version == "python36" else "3.7"
),
parents=parents,
)
parser.set_defaults(language=python_version)
parser.add_argument(
"-d",
"--use-docker",
action="store_true",
help="""Use docker for python platform-independent packaging.
This is highly recommended unless you are experienced
with cross-platform Python packaging.""",
)
return parser
def setup_subparser_python36(subparsers, parents):
return setup_subparser(subparsers, parents, "python36")
def setup_subparser_python37(subparsers, parents):
return setup_subparser(subparsers, parents, "python37")
| def setup_subparser(subparsers, parents, python_version):
parser = subparsers.add_parser(python_version, description='This sub command generates IDE and build files for Python {}\n '.format('3.6' if python_version == 'python36' else '3.7'), parents=parents)
parser.set_defaults(language=python_version)
parser.add_argument('-d', '--use-docker', action='store_true', help='Use docker for python platform-independent packaging.\n This is highly recommended unless you are experienced\n with cross-platform Python packaging.')
return parser
def setup_subparser_python36(subparsers, parents):
return setup_subparser(subparsers, parents, 'python36')
def setup_subparser_python37(subparsers, parents):
return setup_subparser(subparsers, parents, 'python37') |
def find_smallest_element_index(array):
smallest_elem_index, smallest_elem = 0, array[0]
for index in range(1,len(array)):
if(smallest_elem >= array[index]):
smallest_elem_index = index
return smallest_elem_index
#changes the original array and puts the elements in sorted order (ascending)
def selection_sort(array):
sorted_array = []
for i in range(len(array)):
smallest_elem_index = find_smallest_element_index(array)
sorted_array.append(array.pop(smallest_elem_index))
return sorted_array
print(selection_sort([-1,2,0,-3,6]))
| def find_smallest_element_index(array):
(smallest_elem_index, smallest_elem) = (0, array[0])
for index in range(1, len(array)):
if smallest_elem >= array[index]:
smallest_elem_index = index
return smallest_elem_index
def selection_sort(array):
sorted_array = []
for i in range(len(array)):
smallest_elem_index = find_smallest_element_index(array)
sorted_array.append(array.pop(smallest_elem_index))
return sorted_array
print(selection_sort([-1, 2, 0, -3, 6])) |
"""Toyota Connected Services API constants."""
# URL ATTRIBUTE NAMES
BASE_URL = "base_url"
BASE_URL_CARS = "base_url_cars"
ENDPOINT_AUTH = "auth_endpoint"
TOKEN_VALID_URL = "auth_valid"
# REGIONS
SUPPORTED_REGIONS = {
"europe": {
TOKEN_VALID_URL: "https://ssoms.toyota-europe.com/isTokenValid",
BASE_URL: "https://myt-agg.toyota-europe.com/cma/api",
BASE_URL_CARS: "https://cpb2cs.toyota-europe.com",
ENDPOINT_AUTH: "https://ssoms.toyota-europe.com/authenticate",
}
}
# LOGIN
USERNAME = "username"
PASSWORD = "password"
# So we don't have to test the token if multiple endpoints is requested at the same time.
TOKEN_DURATION = 900
TOKEN_LENGTH = 114
# JSON ATTRIBUTES
TOKEN = "token"
UUID = "uuid"
CUSTOMERPROFILE = "customerProfile"
FUEL = "fuel"
MILEAGE = "mileage"
TYPE = "type"
VALUE = "value"
UNIT = "unit"
VEHICLE_INFO = "VehicleInfo"
ACQUISITIONDATE = "AcquisitionDatetime"
CHARGE_INFO = "ChargeInfo"
HVAC = "RemoteHvacInfo"
BUCKET = "bucket"
DAYOFYEAR = "dayOfYear"
PERIODE_START = "periode_start"
DATE = "date"
DATA = "data"
SUMMARY = "summary"
HISTOGRAM = "histogram"
DAY = "day"
WEEK = "week"
ISOWEEK = "isoweek"
MONTH = "month"
YEAR = "year"
HOOD = "hood"
DOORS = "doors"
WINDOWS = "windows"
LIGHTS = "lamps"
KEY = "key"
CLOSED = "closed"
LOCKED = "locked"
WARNING = "warning"
STATE = "state"
OFF = "off"
INCAR = "inCar"
METRIC = "metric"
IMPERIAL = "imperial"
IMPERIAL_LITERS = "imperial_liters"
# DATE FORMATS
DATE_FORMAT_YEAR = "YYYY"
DATE_FORMAT = "YYYY-MM-DD"
# HTTP
TIMEOUT = 15
HTTP_OK = 200
HTTP_NO_CONTENT = 204
HTTP_UNAUTHORIZED = 401
HTTP_INTERNAL = 500
HTTP_SERVICE_UNAVAILABLE = 503
RETURNED_BAD_REQUEST = "bad_request"
TME_B2C_ERR_CPSERVICES = "TME_B2C_ERR_CPSERVICES_GET_FAILURE"
INTERVAL_SUPPORTED = ["day", "week", "isoweek", "month", "year"]
BASE_HEADERS = {
"Content-Type": "application/json;charset=UTF-8",
"Accept": "application/json, text/plain, */*",
"Sec-Fetch-Dest": "empty",
"X-TME-BRAND": "TOYOTA",
}
| """Toyota Connected Services API constants."""
base_url = 'base_url'
base_url_cars = 'base_url_cars'
endpoint_auth = 'auth_endpoint'
token_valid_url = 'auth_valid'
supported_regions = {'europe': {TOKEN_VALID_URL: 'https://ssoms.toyota-europe.com/isTokenValid', BASE_URL: 'https://myt-agg.toyota-europe.com/cma/api', BASE_URL_CARS: 'https://cpb2cs.toyota-europe.com', ENDPOINT_AUTH: 'https://ssoms.toyota-europe.com/authenticate'}}
username = 'username'
password = 'password'
token_duration = 900
token_length = 114
token = 'token'
uuid = 'uuid'
customerprofile = 'customerProfile'
fuel = 'fuel'
mileage = 'mileage'
type = 'type'
value = 'value'
unit = 'unit'
vehicle_info = 'VehicleInfo'
acquisitiondate = 'AcquisitionDatetime'
charge_info = 'ChargeInfo'
hvac = 'RemoteHvacInfo'
bucket = 'bucket'
dayofyear = 'dayOfYear'
periode_start = 'periode_start'
date = 'date'
data = 'data'
summary = 'summary'
histogram = 'histogram'
day = 'day'
week = 'week'
isoweek = 'isoweek'
month = 'month'
year = 'year'
hood = 'hood'
doors = 'doors'
windows = 'windows'
lights = 'lamps'
key = 'key'
closed = 'closed'
locked = 'locked'
warning = 'warning'
state = 'state'
off = 'off'
incar = 'inCar'
metric = 'metric'
imperial = 'imperial'
imperial_liters = 'imperial_liters'
date_format_year = 'YYYY'
date_format = 'YYYY-MM-DD'
timeout = 15
http_ok = 200
http_no_content = 204
http_unauthorized = 401
http_internal = 500
http_service_unavailable = 503
returned_bad_request = 'bad_request'
tme_b2_c_err_cpservices = 'TME_B2C_ERR_CPSERVICES_GET_FAILURE'
interval_supported = ['day', 'week', 'isoweek', 'month', 'year']
base_headers = {'Content-Type': 'application/json;charset=UTF-8', 'Accept': 'application/json, text/plain, */*', 'Sec-Fetch-Dest': 'empty', 'X-TME-BRAND': 'TOYOTA'} |
# A program that reads in students names
# until the user enters a blank
# and then prints them all out again
# the program prints out all the studens names in a neat way
students = []
Firstname = input("Enter Firstname (blank to quit): ").strip()
while Firstname != "":
student = {}
student ["Firstname"] = Firstname
lastname = input("Enter lastname: ").strip()
student["lastname"] = lastname
students.append(student)
#next student
Firstname = input("Enter Firstname of next (blank to quit): ").strip()
print ("here are the students you entered:")
for currentStudent in students:
print ("{} {}".format(currentStudent["Firstname"],currentStudent ["lastname"]))
#Reference: Andrew Beatty tutorial on moodle
| students = []
firstname = input('Enter Firstname (blank to quit): ').strip()
while Firstname != '':
student = {}
student['Firstname'] = Firstname
lastname = input('Enter lastname: ').strip()
student['lastname'] = lastname
students.append(student)
firstname = input('Enter Firstname of next (blank to quit): ').strip()
print('here are the students you entered:')
for current_student in students:
print('{} {}'.format(currentStudent['Firstname'], currentStudent['lastname'])) |
class Command:
command = "template" # command name must be the same as the file name but can have spacial characters
description = "description of command"
argsRequired = 1 # number of arguments needed for command
usage = "<command>" # a usage example of required arguments
examples = [{
'run': "template", # what user runs
'result': "a template" # the response of the bot
}]
synonyms = ["tmp"] # any synonyms that will also trigger command [accepts regular expressions]
async def call(self, package):
# what happens once the command is executed
pass
| class Command:
command = 'template'
description = 'description of command'
args_required = 1
usage = '<command>'
examples = [{'run': 'template', 'result': 'a template'}]
synonyms = ['tmp']
async def call(self, package):
pass |
# -*- coding: utf-8 -*-
"""
ASCII canvas
ASCII canvas module for drawing in console using ASCII chars
ASCII canvas supports the next objects:
- Point
- Line
- Rectangle
- Nine-Patch Rectangle
- Ellipse
- Text
And also supports Style for all these objects. The Style includes symbol,
foreground color, background color and font style. Thereby colored printing
to terminal is supported.
"""
__title__ = 'asciicanvas'
__version__ = '0.0.3'
__author__ = 'Dmitry Alimov'
__license__ = 'MIT'
| """
ASCII canvas
ASCII canvas module for drawing in console using ASCII chars
ASCII canvas supports the next objects:
- Point
- Line
- Rectangle
- Nine-Patch Rectangle
- Ellipse
- Text
And also supports Style for all these objects. The Style includes symbol,
foreground color, background color and font style. Thereby colored printing
to terminal is supported.
"""
__title__ = 'asciicanvas'
__version__ = '0.0.3'
__author__ = 'Dmitry Alimov'
__license__ = 'MIT' |
'''
Here is a basic example to plot a signal from an lcm message.
In this example, the channel is POSE_BODY.
The X coordinate is the message timestamp in microseconds,
and the Y value is pos[0], or the first value of the pos array.
Note, msg is a pre-defined variable that you must use in order
for this to work. When you define a signal, the msg variable
is used to record the attribute lookups that are required to
extract the signal data from the lcm message in the future.
'''
print(dir())
print(globals())
print(locals())
position_names = [
"hip_roll_left",
"hip_roll_right",
"hip_yaw_left",
"hip_yaw_right",
"hip_pitch_left",
"hip_pitch_right",
"knee_left",
"knee_right",
"toe_left",
"toe_right"]
velocity_names = [
"hip_roll_leftdot",
"hip_roll_rightdot",
"hip_yaw_leftdot",
"hip_yaw_rightdot",
"hip_pitch_leftdot",
"hip_pitch_rightdot",
"knee_leftdot",
"knee_rightdot",
"toe_leftdot",
"toe_rightdot"]
effort_names = [
"hip_roll_left_motor",
"hip_roll_right_motor",
"hip_yaw_left_motor",
"hip_yaw_right_motor",
"hip_pitch_left_motor",
"hip_pitch_right_motor",
"knee_left_motor",
"knee_right_motor",
"toe_left_motor",
"toe_right_motor"]
pos_names = msg.position_names
vel_names = msg.velocity_names
eff_names = msg.effort_names
addPlot()
addSignals('CASSIE_STATE_SIMULATION', msg.utime, msg.position, position_names, keyLookup=pos_names)
# you can assign the plot to a variable and reference it later
p=addPlot()
addSignals('CASSIE_STATE_SIMULATION', msg.utime, msg.velocity, velocity_names, keyLookup=vel_names, plot=p)
p3 = addPlot()
addSignals('CASSIE_INPUT', msg.utime, msg.efforts, effort_names, keyLookup=eff_names, plot=p3)
| """
Here is a basic example to plot a signal from an lcm message.
In this example, the channel is POSE_BODY.
The X coordinate is the message timestamp in microseconds,
and the Y value is pos[0], or the first value of the pos array.
Note, msg is a pre-defined variable that you must use in order
for this to work. When you define a signal, the msg variable
is used to record the attribute lookups that are required to
extract the signal data from the lcm message in the future.
"""
print(dir())
print(globals())
print(locals())
position_names = ['hip_roll_left', 'hip_roll_right', 'hip_yaw_left', 'hip_yaw_right', 'hip_pitch_left', 'hip_pitch_right', 'knee_left', 'knee_right', 'toe_left', 'toe_right']
velocity_names = ['hip_roll_leftdot', 'hip_roll_rightdot', 'hip_yaw_leftdot', 'hip_yaw_rightdot', 'hip_pitch_leftdot', 'hip_pitch_rightdot', 'knee_leftdot', 'knee_rightdot', 'toe_leftdot', 'toe_rightdot']
effort_names = ['hip_roll_left_motor', 'hip_roll_right_motor', 'hip_yaw_left_motor', 'hip_yaw_right_motor', 'hip_pitch_left_motor', 'hip_pitch_right_motor', 'knee_left_motor', 'knee_right_motor', 'toe_left_motor', 'toe_right_motor']
pos_names = msg.position_names
vel_names = msg.velocity_names
eff_names = msg.effort_names
add_plot()
add_signals('CASSIE_STATE_SIMULATION', msg.utime, msg.position, position_names, keyLookup=pos_names)
p = add_plot()
add_signals('CASSIE_STATE_SIMULATION', msg.utime, msg.velocity, velocity_names, keyLookup=vel_names, plot=p)
p3 = add_plot()
add_signals('CASSIE_INPUT', msg.utime, msg.efforts, effort_names, keyLookup=eff_names, plot=p3) |
# -*- coding: utf-8 -*-
"""Exceptions for bkpaas_auth module
"""
class ServiceError(Exception):
"""Login or Token service is not available"""
class InvalidSkeyError(Exception):
"""Invalid uin/skey given"""
class InvalidTokenCredentialsError(Exception):
"""When invalid credentials are given when exchange access token"""
| """Exceptions for bkpaas_auth module
"""
class Serviceerror(Exception):
"""Login or Token service is not available"""
class Invalidskeyerror(Exception):
"""Invalid uin/skey given"""
class Invalidtokencredentialserror(Exception):
"""When invalid credentials are given when exchange access token""" |
# 001110010 prev = 0 cur = 0
# 0 01110010 prev = 0 cur = 1
# 0 0 1110010 prev = 0 cur = 2
# 00 1 110010 prev = 2 cur = 1 01
# 001 1 10010 prev = 2 cur = 2 0011
# 0011 1 0010 prev = 2 cur = 3
# 00111 0 010 prev = 3 cur = 1 10
# 001110 0 10 prev = 3 cur = 2 1100
# 0011100 1 0 prev = 2 cur = 1 01
# 00111001 0 prev = 1 cur = 1 10
# https://www.polarxiong.com/archives/LeetCode-696-count-binary-substrings.html
class Solution:
def countBinarySubstrings(self, s: str) -> int:
prevlen, curlen, ans = 0, 0, 0
for i in range(len(s)):
if s[i] == s[i-1]:
curlen += 1
else:
prevlen = curlen
curlen = 1
if prevlen >= curlen:
ans += 1
return ans | class Solution:
def count_binary_substrings(self, s: str) -> int:
(prevlen, curlen, ans) = (0, 0, 0)
for i in range(len(s)):
if s[i] == s[i - 1]:
curlen += 1
else:
prevlen = curlen
curlen = 1
if prevlen >= curlen:
ans += 1
return ans |
# -*- coding: utf-8 -*-
"""
Created on Wed Mar 16 09:57:15 2016
@author: Mathew Topper
"""
#pylint: disable=C0103,W0622,R0903
class abstractclassmethod(classmethod):
"""Not that to make this work, you should place cls() in the abstract
definition"""
__isabstractmethod__ = True
def __init__(self, callable):
callable.__isabstractmethod__ = True
super(abstractclassmethod, self).__init__(callable)
| """
Created on Wed Mar 16 09:57:15 2016
@author: Mathew Topper
"""
class Abstractclassmethod(classmethod):
"""Not that to make this work, you should place cls() in the abstract
definition"""
__isabstractmethod__ = True
def __init__(self, callable):
callable.__isabstractmethod__ = True
super(abstractclassmethod, self).__init__(callable) |
"""
import os
import bonobo
import logging
from dotenv import load_dotenv
from judah.utils.assets import get_asset_path
from judah.utils.logging import setup_rotating_file_logger
load_dotenv()
# Assuming you have an BBC ETL service, a rest_api_to_db child service and a number of microservices
# each corresponding to a given dataset
from app.services.rte.rest_api_to_db import BBC_REST_API_TO_DB_CONTROLLERS
def get_graph(**options):
'''
This function builds the graph that needs to be executed.
:return: bonobo.Graph
'''
graph = bonobo.Graph()
for controller in BBC_REST_API_TO_DB_CONTROLLERS:
graph.add_chain(
controller.extract,
controller.transform,
controller.load,
)
return graph
def get_services(**options):
'''Service Dependency injector'''
return {}
if __name__ == '__main__':
logger = logging.getLogger()
setup_rotating_file_logger(file_path=get_asset_path('error.log'), logger=logger)
logging.disable(getattr(logging, os.getenv('LOGGING_LEVEL_DISABLE', 'NOTSET')))
parser = bonobo.get_argument_parser()
with bonobo.parse_args(parser) as options:
bonobo.run(
get_graph(**options),
services=get_services(**options)
)
"""
| """
import os
import bonobo
import logging
from dotenv import load_dotenv
from judah.utils.assets import get_asset_path
from judah.utils.logging import setup_rotating_file_logger
load_dotenv()
# Assuming you have an BBC ETL service, a rest_api_to_db child service and a number of microservices
# each corresponding to a given dataset
from app.services.rte.rest_api_to_db import BBC_REST_API_TO_DB_CONTROLLERS
def get_graph(**options):
'''
This function builds the graph that needs to be executed.
:return: bonobo.Graph
'''
graph = bonobo.Graph()
for controller in BBC_REST_API_TO_DB_CONTROLLERS:
graph.add_chain(
controller.extract,
controller.transform,
controller.load,
)
return graph
def get_services(**options):
'''Service Dependency injector'''
return {}
if __name__ == '__main__':
logger = logging.getLogger()
setup_rotating_file_logger(file_path=get_asset_path('error.log'), logger=logger)
logging.disable(getattr(logging, os.getenv('LOGGING_LEVEL_DISABLE', 'NOTSET')))
parser = bonobo.get_argument_parser()
with bonobo.parse_args(parser) as options:
bonobo.run(
get_graph(**options),
services=get_services(**options)
)
""" |
class GuidanceRejectionException(Exception):
_MSG = "Unit tests should not write files unless they clean them up too."
def __init__(self):
super(GuidanceRejectionException, self).__init__(GuidanceRejectionException._MSG) | class Guidancerejectionexception(Exception):
_msg = 'Unit tests should not write files unless they clean them up too.'
def __init__(self):
super(GuidanceRejectionException, self).__init__(GuidanceRejectionException._MSG) |
equipmentMultipliers = [
{"hp": 10},
{"hp": 20},
{"hp": 30},
{"hp": 40},
{"sp": 10},
{"sp": 20},
{"sp": 30},
{"sp": 40},
{"tp": 2},
{"tp": 4},
{"tp": 6},
{"tp": 8},
{"atk": 10},
{"atk": 20},
{"atk": 30},
{"atk": 40},
{"def": 10},
{"def": 20},
{"def": 30},
{"def": 40},
{"mag": 10},
{"mag": 20},
{"mag": 30},
{"mag": 40},
{"mnd": 10},
{"mnd": 20},
{"mnd": 30},
{"mnd": 40},
{"spd": 10},
{"spd": 20},
{"spd": 30},
{"spd": 40},
{"eva": 10},
{"eva": 20},
{"eva": 30},
{"eva": 40},
{"mnd": 8, "ntr": 36},
{"rec": 4, "ntr": 48},
{"def": 6, "cld": 48},
{"atk": 10, "mag": 10, "fir": 48},
{"fir": 80, "cld": 80},
{"fir": 128},
{"wnd": 128},
{"cld": 128},
{"ntr": 100, "rec": 8},
{"mys": 128},
{"spi": 128},
{"psn": 20},
{"par": 20},
{"sil": 20},
{"dth": 20},
{"dbf": 20},
{"rec": 4},
{"spd": 12, "eva": 12, "wnd": 48, "sil": 12},
{"sp": 12, "atk": 24, "rec": 2},
{"hp": 12, "def": 12, "mnd": 12, "rec": 4},
{"hp": 16, "sp": 16, "mag": 16, "tp": 3, "dbf": 10},
{"tp": 4, "rec": 6, "mnd": 24},
{"mag": 16, "mnd": 16, "spd": 16, "eva": 16, "mys": 48},
{"sp": 16, "mnd": 16, "spi": 48, "dth": 16},
{"hp": 24, "rec": 4, "psn": 6, "par": 6, "sil": 6},
{"atk": 30, "def": 30, "mag": 30, "mnd": 30, "spd": 30, "eva": 30},
{"atk": 16, "mag": 24, "spd": 10, "eva": 10, "rec": 4},
{"hp": 12, "sp": 12, "mag": 12, "mnd": 12, "psn": 12, "dbf": 12},
{"atk": 16, "def": 16, "mag": 16, "mnd": 16, "spd": 16, "eva": 16, "psn": 6, "par": 6, "sil": 6, "dth": 6, "dbf": 6},
{"hp": 12, "def": 32, "wnd": 66, "rec": 2},
{"atk": 30, "wnd": 59, "cld": 59, "sil": 16},
{"spd": 24, "eva": 20, "fir": 32, "cld": 32, "wnd": 32, "ntr": 32, "mys": 32, "spi": 32},
{"fir": 48, "cld": 48, "wnd": 48, "ntr": 48, "mys": 48, "spi": 48, "psn": 12, "par": 12, "sil": 12, "dth": 12, "dbf": 12},
{"hp": 30, "mnd": 30, "rec": 6, "ntr": 50, "wnd": 50, "spi": 50, "psn": 16},
{"mag": 30, "rec": 4, "mys": 60, "sil": 10, "dth": 10},
{"sp": 16, "atk": 36, "rec": 4, "fir": 32, "cld": 32, "wnd": 32, "ntr": 32, "mys": 32, "spi": 32},
{"atk": 36, "cld": 80, "dbf": 14},
{"sp": 20, "def": 20, "mnd": 20, "fir": 48, "cld": 60, "spi": 60},
{"tp": 4, "atk": 20, "def": 20, "mag": 20, "mnd": 20, "spd": 20, "eva": 20, "psn": 8, "par": 8, "sil": 8, "dth": 8, "dbf": 8},
{"atk": 38, "mag": 38},
{"rec": 16},
{"sp": 10, "mnd": 60, "rec": 10, "mys": 72, "spi": 72},
{"sp": 16, "def": 50, "mnd": 50},
{"hp": 40, "atk": 40, "mnd": 40, "spd": 40, "tp": 2, "rec": 4},
{"atk": 64},
{"psn": 24, "par": 24, "sil": 24, "dth": 24, "dbf": 24},
{"atk": 28, "mag": 28, "fir": 44, "cld": 44, "wnd": 44, "ntr": 44},
{"hp": 24, "def": 48, "fir": 60, "dbf": 12},
{"atk": 48, "def": 48, "spd": 40, "par": 15, "dth": 15},
{"atk": 120, "mag": 120},
{"def": 50, "mnd": 40, "fir": 72, "cld": 72, "wnd": 72, "ntr": 72, "mys": 72, "spi": 72},
{"hp": 40, "atk": 48, "def": 48, "spd": 30, "eva": 30, "psn": 16, "par": 16, "rec": 6},
{"def": 36, "mnd": 36, "psn": 20, "par": 20, "sil": 20, "dth": 20, "dbf": 20},
{"hp": 60, "def": 60, "mnd": 60, "rec": 6},
{"atk": 68, "spd": 88, "cld": 128, "par": 24},
{"sp": 24, "mag": 60, "mys": 80, "spi": 80, "rec": 12},
{"atk": 96, "mag": 72},
{"hp": 30, "sp": 30, "rec": 6, "atk": 40, "def": 40, "mag": 40, "mnd": 40, "spd": 40, "eva": 40, "fir": 48, "cld": 48, "wnd": 48, "ntr": 48, "mys": 48, "spi": 48, "psn": 12, "par": 12, "sil": 12, "dth": 12, "dbf": 12},
{"tp": 10, "rec": 10, "fir": 100, "cld": 100, "wnd": 100, "ntr": 100, "mys": 100, "spi": 100},
{"sp": 50, "mag": 50, "mnd": 50, "fir": 80, "cld": 80, "wnd": 80, "ntr": 80, "sil": 20},
{"atk": 72, "def": 72, "mnd": 72, "spd": 72},
{"atk": 50, "tp": 12, "wnd": 144, "par": 36},
{"def": 88, "mnd": 88, "rec": 6},
{"atk": 100, "def": 100, "mag": 100, "mnd": 100, "spd": 100, "eva": 100},
{"atk": 88},
{"atk": 124},
{"atk": 168},
{"def": 88},
{"def": 124},
{"def": 168},
{"mag": 88},
{"mag": 124},
{"mag": 168},
{"mnd": 88},
{"mnd": 124},
{"mnd": 168},
{"spd": 88},
{"spd": 124},
{"spd": 168},
{"hp": 88},
{"hp": 124},
{"hp": 168},
{"sp": 88},
{"sp": 124},
{"sp": 168},
{"def": 100, "mnd": 100},
{"atk": 100, "def": 100},
{"atk": 100, "mag": 100},
{"hp": 100, "sp": 100, "rec": 12, "tp": 12},
{"def": 64, "mnd": 64, "fir": 80, "cld": 80, "wnd": 80, "ntr": 80, "mys": 80, "spi": 80},
{"def": 60, "mnd": 60, "fir": 256, "sil": 50},
{"atk": 36, "def": 36, "mag": 36, "mnd": 36, "spd": 36, "eva": 36, "cld": 256, "rec": 4},
{"sp": 72, "mag": 72, "spd": 72, "wnd": 256},
{"ntr": 256, "psn": 50, "dth": 50, "tp": 24},
{"atk": 120, "def": 64, "spd": 64, "mys": 256},
{"atk": 120, "mag": 64, "mnd": 64, "spi": 256},
{"tp": 13, "rec": 13, "psn": 13, "par": 13, "sil": 13, "dth": 13, "dbf": 13},
{"mag": 96, "mnd": 96, "rec": 16, "dbf": 16, "tp": 16},
{"mag": 60, "mnd": 100, "spd": 144},
{"def": 80, "mnd": 144, "rec": 10, "fir": 96, "cld": 96, "wnd": 96, "ntr": 96, "mys": 96, "spi": 96},
{"atk": 172, "mag": 172},
{"hp": 100, "atk": 100, "def": 100, "spd": 100, "par": 15, "dbf": 15},
{"hp": 128, "sp": 128, "fir": 128, "cld": 128, "wnd": 128, "ntr": 128, "mys": 128, "spi": 128},
{"atk": 360},
{"rec": 40},
{"atk": 200, "mag": 200, "mnd": 200, "sp": 100, "spd": 100, "wnd": 128, "ntr": 128, "rec": 16, "psn": 18, "par": 18, "sil": 18},
{"atk": 100, "def": 140, "mag": 180, "mnd": 220, "psn": 30, "par": 30, "dth": 30},
{"atk": 150, "def": 150, "mag": 150, "mnd": 150, "spd": 150, "eva": 150, "fir": 60, "cld": 60, "wnd": 60, "ntr": 60, "mys": 60, "spi": 60, "psn": 15, "par": 15, "sil": 15, "dth": 15, "dbf": 15},
{"fir": 256, "cld": 256, "wnd": 256, "ntr": 256, "mys": 256, "spi": 256},
{"mag": 150, "mnd": 300, "mys": 300, "dth": 50},
{"hp": 240, "atk": 240, "spd": 240, "tp": 30, "psn": 16, "par": 16, "sil": 16, "dth": 16, "dbf": 16},
{"hp": 80, "sp": 100, "mag": 350, "rec": 24, "fir": 128, "cld": 128, "wnd": 128, "ntr": 128, "dth": 50, "dbf": 50},
{"def": 400, "mnd": 400},
{"hp": 300, "sp": 300, "atk": 300, "def": 300, "mag": 300, "mnd": 300, "spd": 300, "eva": 300, "fir": 100, "cld": 100, "wnd": 100, "ntr": 100, "mys": 100, "spi": 100, "psn": 20, "par": 20, "sil": 20, "dth": 20, "dbf": 20}
] | equipment_multipliers = [{'hp': 10}, {'hp': 20}, {'hp': 30}, {'hp': 40}, {'sp': 10}, {'sp': 20}, {'sp': 30}, {'sp': 40}, {'tp': 2}, {'tp': 4}, {'tp': 6}, {'tp': 8}, {'atk': 10}, {'atk': 20}, {'atk': 30}, {'atk': 40}, {'def': 10}, {'def': 20}, {'def': 30}, {'def': 40}, {'mag': 10}, {'mag': 20}, {'mag': 30}, {'mag': 40}, {'mnd': 10}, {'mnd': 20}, {'mnd': 30}, {'mnd': 40}, {'spd': 10}, {'spd': 20}, {'spd': 30}, {'spd': 40}, {'eva': 10}, {'eva': 20}, {'eva': 30}, {'eva': 40}, {'mnd': 8, 'ntr': 36}, {'rec': 4, 'ntr': 48}, {'def': 6, 'cld': 48}, {'atk': 10, 'mag': 10, 'fir': 48}, {'fir': 80, 'cld': 80}, {'fir': 128}, {'wnd': 128}, {'cld': 128}, {'ntr': 100, 'rec': 8}, {'mys': 128}, {'spi': 128}, {'psn': 20}, {'par': 20}, {'sil': 20}, {'dth': 20}, {'dbf': 20}, {'rec': 4}, {'spd': 12, 'eva': 12, 'wnd': 48, 'sil': 12}, {'sp': 12, 'atk': 24, 'rec': 2}, {'hp': 12, 'def': 12, 'mnd': 12, 'rec': 4}, {'hp': 16, 'sp': 16, 'mag': 16, 'tp': 3, 'dbf': 10}, {'tp': 4, 'rec': 6, 'mnd': 24}, {'mag': 16, 'mnd': 16, 'spd': 16, 'eva': 16, 'mys': 48}, {'sp': 16, 'mnd': 16, 'spi': 48, 'dth': 16}, {'hp': 24, 'rec': 4, 'psn': 6, 'par': 6, 'sil': 6}, {'atk': 30, 'def': 30, 'mag': 30, 'mnd': 30, 'spd': 30, 'eva': 30}, {'atk': 16, 'mag': 24, 'spd': 10, 'eva': 10, 'rec': 4}, {'hp': 12, 'sp': 12, 'mag': 12, 'mnd': 12, 'psn': 12, 'dbf': 12}, {'atk': 16, 'def': 16, 'mag': 16, 'mnd': 16, 'spd': 16, 'eva': 16, 'psn': 6, 'par': 6, 'sil': 6, 'dth': 6, 'dbf': 6}, {'hp': 12, 'def': 32, 'wnd': 66, 'rec': 2}, {'atk': 30, 'wnd': 59, 'cld': 59, 'sil': 16}, {'spd': 24, 'eva': 20, 'fir': 32, 'cld': 32, 'wnd': 32, 'ntr': 32, 'mys': 32, 'spi': 32}, {'fir': 48, 'cld': 48, 'wnd': 48, 'ntr': 48, 'mys': 48, 'spi': 48, 'psn': 12, 'par': 12, 'sil': 12, 'dth': 12, 'dbf': 12}, {'hp': 30, 'mnd': 30, 'rec': 6, 'ntr': 50, 'wnd': 50, 'spi': 50, 'psn': 16}, {'mag': 30, 'rec': 4, 'mys': 60, 'sil': 10, 'dth': 10}, {'sp': 16, 'atk': 36, 'rec': 4, 'fir': 32, 'cld': 32, 'wnd': 32, 'ntr': 32, 'mys': 32, 'spi': 32}, {'atk': 36, 'cld': 80, 'dbf': 14}, {'sp': 20, 'def': 20, 'mnd': 20, 'fir': 48, 'cld': 60, 'spi': 60}, {'tp': 4, 'atk': 20, 'def': 20, 'mag': 20, 'mnd': 20, 'spd': 20, 'eva': 20, 'psn': 8, 'par': 8, 'sil': 8, 'dth': 8, 'dbf': 8}, {'atk': 38, 'mag': 38}, {'rec': 16}, {'sp': 10, 'mnd': 60, 'rec': 10, 'mys': 72, 'spi': 72}, {'sp': 16, 'def': 50, 'mnd': 50}, {'hp': 40, 'atk': 40, 'mnd': 40, 'spd': 40, 'tp': 2, 'rec': 4}, {'atk': 64}, {'psn': 24, 'par': 24, 'sil': 24, 'dth': 24, 'dbf': 24}, {'atk': 28, 'mag': 28, 'fir': 44, 'cld': 44, 'wnd': 44, 'ntr': 44}, {'hp': 24, 'def': 48, 'fir': 60, 'dbf': 12}, {'atk': 48, 'def': 48, 'spd': 40, 'par': 15, 'dth': 15}, {'atk': 120, 'mag': 120}, {'def': 50, 'mnd': 40, 'fir': 72, 'cld': 72, 'wnd': 72, 'ntr': 72, 'mys': 72, 'spi': 72}, {'hp': 40, 'atk': 48, 'def': 48, 'spd': 30, 'eva': 30, 'psn': 16, 'par': 16, 'rec': 6}, {'def': 36, 'mnd': 36, 'psn': 20, 'par': 20, 'sil': 20, 'dth': 20, 'dbf': 20}, {'hp': 60, 'def': 60, 'mnd': 60, 'rec': 6}, {'atk': 68, 'spd': 88, 'cld': 128, 'par': 24}, {'sp': 24, 'mag': 60, 'mys': 80, 'spi': 80, 'rec': 12}, {'atk': 96, 'mag': 72}, {'hp': 30, 'sp': 30, 'rec': 6, 'atk': 40, 'def': 40, 'mag': 40, 'mnd': 40, 'spd': 40, 'eva': 40, 'fir': 48, 'cld': 48, 'wnd': 48, 'ntr': 48, 'mys': 48, 'spi': 48, 'psn': 12, 'par': 12, 'sil': 12, 'dth': 12, 'dbf': 12}, {'tp': 10, 'rec': 10, 'fir': 100, 'cld': 100, 'wnd': 100, 'ntr': 100, 'mys': 100, 'spi': 100}, {'sp': 50, 'mag': 50, 'mnd': 50, 'fir': 80, 'cld': 80, 'wnd': 80, 'ntr': 80, 'sil': 20}, {'atk': 72, 'def': 72, 'mnd': 72, 'spd': 72}, {'atk': 50, 'tp': 12, 'wnd': 144, 'par': 36}, {'def': 88, 'mnd': 88, 'rec': 6}, {'atk': 100, 'def': 100, 'mag': 100, 'mnd': 100, 'spd': 100, 'eva': 100}, {'atk': 88}, {'atk': 124}, {'atk': 168}, {'def': 88}, {'def': 124}, {'def': 168}, {'mag': 88}, {'mag': 124}, {'mag': 168}, {'mnd': 88}, {'mnd': 124}, {'mnd': 168}, {'spd': 88}, {'spd': 124}, {'spd': 168}, {'hp': 88}, {'hp': 124}, {'hp': 168}, {'sp': 88}, {'sp': 124}, {'sp': 168}, {'def': 100, 'mnd': 100}, {'atk': 100, 'def': 100}, {'atk': 100, 'mag': 100}, {'hp': 100, 'sp': 100, 'rec': 12, 'tp': 12}, {'def': 64, 'mnd': 64, 'fir': 80, 'cld': 80, 'wnd': 80, 'ntr': 80, 'mys': 80, 'spi': 80}, {'def': 60, 'mnd': 60, 'fir': 256, 'sil': 50}, {'atk': 36, 'def': 36, 'mag': 36, 'mnd': 36, 'spd': 36, 'eva': 36, 'cld': 256, 'rec': 4}, {'sp': 72, 'mag': 72, 'spd': 72, 'wnd': 256}, {'ntr': 256, 'psn': 50, 'dth': 50, 'tp': 24}, {'atk': 120, 'def': 64, 'spd': 64, 'mys': 256}, {'atk': 120, 'mag': 64, 'mnd': 64, 'spi': 256}, {'tp': 13, 'rec': 13, 'psn': 13, 'par': 13, 'sil': 13, 'dth': 13, 'dbf': 13}, {'mag': 96, 'mnd': 96, 'rec': 16, 'dbf': 16, 'tp': 16}, {'mag': 60, 'mnd': 100, 'spd': 144}, {'def': 80, 'mnd': 144, 'rec': 10, 'fir': 96, 'cld': 96, 'wnd': 96, 'ntr': 96, 'mys': 96, 'spi': 96}, {'atk': 172, 'mag': 172}, {'hp': 100, 'atk': 100, 'def': 100, 'spd': 100, 'par': 15, 'dbf': 15}, {'hp': 128, 'sp': 128, 'fir': 128, 'cld': 128, 'wnd': 128, 'ntr': 128, 'mys': 128, 'spi': 128}, {'atk': 360}, {'rec': 40}, {'atk': 200, 'mag': 200, 'mnd': 200, 'sp': 100, 'spd': 100, 'wnd': 128, 'ntr': 128, 'rec': 16, 'psn': 18, 'par': 18, 'sil': 18}, {'atk': 100, 'def': 140, 'mag': 180, 'mnd': 220, 'psn': 30, 'par': 30, 'dth': 30}, {'atk': 150, 'def': 150, 'mag': 150, 'mnd': 150, 'spd': 150, 'eva': 150, 'fir': 60, 'cld': 60, 'wnd': 60, 'ntr': 60, 'mys': 60, 'spi': 60, 'psn': 15, 'par': 15, 'sil': 15, 'dth': 15, 'dbf': 15}, {'fir': 256, 'cld': 256, 'wnd': 256, 'ntr': 256, 'mys': 256, 'spi': 256}, {'mag': 150, 'mnd': 300, 'mys': 300, 'dth': 50}, {'hp': 240, 'atk': 240, 'spd': 240, 'tp': 30, 'psn': 16, 'par': 16, 'sil': 16, 'dth': 16, 'dbf': 16}, {'hp': 80, 'sp': 100, 'mag': 350, 'rec': 24, 'fir': 128, 'cld': 128, 'wnd': 128, 'ntr': 128, 'dth': 50, 'dbf': 50}, {'def': 400, 'mnd': 400}, {'hp': 300, 'sp': 300, 'atk': 300, 'def': 300, 'mag': 300, 'mnd': 300, 'spd': 300, 'eva': 300, 'fir': 100, 'cld': 100, 'wnd': 100, 'ntr': 100, 'mys': 100, 'spi': 100, 'psn': 20, 'par': 20, 'sil': 20, 'dth': 20, 'dbf': 20}] |
# https://www.codechef.com/problems/MSNSADM1
for T in range(int(input())):
n,points=int(input()),0
scores,fouls=list(map(int,input().split())),list(map(int,input().split()))
for i in range(n):
if((scores[i]*20-fouls[i]*10)>points): points=scores[i]*20-fouls[i]*10
print(max(0,points)) | for t in range(int(input())):
(n, points) = (int(input()), 0)
(scores, fouls) = (list(map(int, input().split())), list(map(int, input().split())))
for i in range(n):
if scores[i] * 20 - fouls[i] * 10 > points:
points = scores[i] * 20 - fouls[i] * 10
print(max(0, points)) |
#!/usr/bin/python3.6
def getPathToDataExchangeFolder():
return 'src/backend/dataExchange/'
def getPathToLogFolder():
return 'src/backend/log/'
def getPathToDataOutput():
return 'src/backend/dataOutput/'
def getPathOfMainJsonFile(artifact_name):
return getPathToDataExchangeFolder() + artifact_name + '.json'
def getPathOfNetworkJsonFile(artifact_name):
return getPathToDataExchangeFolder() + artifact_name + '_network.json'
def getPathOfNeighborBarchart(artifact_name):
return getPathToDataExchangeFolder() + artifact_name + '_neighbor_barchart.json'
def getPathOfSankeyDiagram(artifact_name):
return getPathToDataExchangeFolder() + artifact_name + '_sankey_diagram.json'
def getPathOfEntityOutputCSVFile(artifact_name):
return getPathToDataOutput() + artifact_name + '_entity_output.csv'
def getNodeId(artifact_name, counter):
return artifact_name + 'entity' + str(counter) | def get_path_to_data_exchange_folder():
return 'src/backend/dataExchange/'
def get_path_to_log_folder():
return 'src/backend/log/'
def get_path_to_data_output():
return 'src/backend/dataOutput/'
def get_path_of_main_json_file(artifact_name):
return get_path_to_data_exchange_folder() + artifact_name + '.json'
def get_path_of_network_json_file(artifact_name):
return get_path_to_data_exchange_folder() + artifact_name + '_network.json'
def get_path_of_neighbor_barchart(artifact_name):
return get_path_to_data_exchange_folder() + artifact_name + '_neighbor_barchart.json'
def get_path_of_sankey_diagram(artifact_name):
return get_path_to_data_exchange_folder() + artifact_name + '_sankey_diagram.json'
def get_path_of_entity_output_csv_file(artifact_name):
return get_path_to_data_output() + artifact_name + '_entity_output.csv'
def get_node_id(artifact_name, counter):
return artifact_name + 'entity' + str(counter) |
def process_row_item(row_item):
if hasattr(row_item, 'strip'):
row_item = row_item.strip()
return row_item
def to_table_format(data_list):
header = []
rows = []
for row in data_list:
header = row.keys()
rows.append(list(map(process_row_item, row.values())))
return header, rows
| def process_row_item(row_item):
if hasattr(row_item, 'strip'):
row_item = row_item.strip()
return row_item
def to_table_format(data_list):
header = []
rows = []
for row in data_list:
header = row.keys()
rows.append(list(map(process_row_item, row.values())))
return (header, rows) |
#class common parameters
#put all parameters in there
#import module to baseline.py
class default_data:
def __init__(self):
#whoever is running this code make sure you change the name to your first name
self.user = "" #not needed, mainly to avoid file name conflicts
self.numLoops = 1
# Game scenario
self.scenario = 'rocket_basic'
self.config_file_path = "scenarios/"+self.scenario+".cfg"
# Q-learning settings
self.epochs = 20
self.learning_rate = 0.00025
self.discount_factor = 0.99
self.learning_steps_per_epoch = 2000
self.replay_memory_size = 10000
# NN learning settings
self.batch_size = 64
# Training regime
self.test_episodes_per_epoch = 100
# Other parameters
self.frame_repeat = 12
self.resolution = (30, 45)
self.episodes_to_watch = 10
self.save_model = True
self.load_model = False
self.skip_learning = False
self.skip_evaluation = True #added line
self.game_window_visible = True
self.model_savefile = "./model-doom.pth"
self.model_loadfile = "./model-doom.pth"
self.numEvaluations = 5
# Look at the PTH files you are trying to evaluate
self.eval_epoch = [1,5,10,15,20]
self.model_loadfile = "model_health_gathering_epoch_" #name structure of the pth files. Should be entire filename without the epoch number and
self.model_abs_path = []
x = 24
while x <= 28:
self.model_abs_path.append("./models/model_health_gathering_epochs_20_Ethan_OGNET_index_"+str(x)+"/"+self.model_loadfile)
x+=1
| class Default_Data:
def __init__(self):
self.user = ''
self.numLoops = 1
self.scenario = 'rocket_basic'
self.config_file_path = 'scenarios/' + self.scenario + '.cfg'
self.epochs = 20
self.learning_rate = 0.00025
self.discount_factor = 0.99
self.learning_steps_per_epoch = 2000
self.replay_memory_size = 10000
self.batch_size = 64
self.test_episodes_per_epoch = 100
self.frame_repeat = 12
self.resolution = (30, 45)
self.episodes_to_watch = 10
self.save_model = True
self.load_model = False
self.skip_learning = False
self.skip_evaluation = True
self.game_window_visible = True
self.model_savefile = './model-doom.pth'
self.model_loadfile = './model-doom.pth'
self.numEvaluations = 5
self.eval_epoch = [1, 5, 10, 15, 20]
self.model_loadfile = 'model_health_gathering_epoch_'
self.model_abs_path = []
x = 24
while x <= 28:
self.model_abs_path.append('./models/model_health_gathering_epochs_20_Ethan_OGNET_index_' + str(x) + '/' + self.model_loadfile)
x += 1 |
n = float(input())
i = 0
for i in range(i, 100, 1):
print('N[{}] = {:.4f}'.format(i, n))
n = (n / 2) | n = float(input())
i = 0
for i in range(i, 100, 1):
print('N[{}] = {:.4f}'.format(i, n))
n = n / 2 |
class Solution:
def toLowerCase(self, str):
"""
:type str: str
:rtype: str
"""
return str.lower()
input = "ABCdefG"
p = Solution()
print(p.toLowerCase(input)) | class Solution:
def to_lower_case(self, str):
"""
:type str: str
:rtype: str
"""
return str.lower()
input = 'ABCdefG'
p = solution()
print(p.toLowerCase(input)) |
"""Configuration information for PDB2PQR."""
# PDB2PQR version number.
VERSION = "3.0"
# How to format PDB2PQR title in output
TITLE_FORMAT_STRING = "PDB2PQR v{version} - biomolecular structure conversion software"
# Citation strings for PDB2PQR
CITATIONS = [("Please cite: Jurrus E, et al. Improvements to the APBS biomolecular "
"solvation software suite. Protein Sci 27 112-128 (2018)."),
("Please cite: Dolinsky TJ, et al. PDB2PQR: expanding and upgrading "
"automated preparation of biomolecular structures for molecular simulations. "
"Nucleic Acids Res 35 W522-W525 (2007).")]
# Standard force field names
FORCE_FIELDS = ["amber", "charmm", "parse", "tyl06", "peoepb", "swanson"]
# Standard amino acid names
AA_NAMES = ["ALA", "ARG", "ASH", "ASN", "ASP", "CYS", "CYM", "GLN", "GLU", "GLH",
"GLY", "HIS", "HID", "HIE", "HIP", "HSD", "HSE", "HSP", "ILE", "LEU",
"LYS", "LYN", "MET", "PHE", "PRO", "SER", "THR", "TRP", "TYR", "TYM",
"VAL"]
# Standard nucleic acid names
NA_NAMES = ["A", "A5", "A3", "C", "C5", "C3", "G", "G5", "G3", "T", "T5", "T3",
"U", "U5", "U3", "RA", "RG", "RC", "RU", "DA", "DG", "DC", "DT"]
# Standard backbone atom names
BACKBONE = ["N", "CA", "C", "O", "O2", "HA", "HN", "H", "tN"]
# A small number used by some math routines.
SMALL_NUMBER = 1.0e-7
# A number of unknown origin used in dihedral angle calculations
DIHEDRAL_WTF = 57.2958
# The start of warning strings to be filtered.
FILTER_WARNINGS = ["Skipped atom during water optimization",
"The best donorH was not picked",
"Multiple occupancies found"]
# The number of times one of the warning strings should be printed before
# supressing further output.
FILTER_WARNINGS_LIMIT = 20
# Expected location for topology definition file
TOPOLOGY_DEF_PATH = "TOPOLOGY.xml"
# Expected location for amino acid topology definition file
AA_DEF_PATH = "AA.xml"
# Expected location for nucleic acid topology definition file
NA_DEF_PATH = "NA.xml"
# Expected location for hydrogens topology definition file
HYD_DEF_PATH = "HYDROGENS.xml"
# Expected location for topology patch definition file
PATCH_DEF_PATH = "PATCHES.xml"
# Number of angle steps to scan when debumping
DEBUMP_ANGLE_STEPS = 72
# Size of debumping step
DEBUMP_ANGLE_STEP_SIZE = float(360 // DEBUMP_ANGLE_STEPS)
# Debump angle test
DEBUMP_ANGLE_TEST_COUNT = 10
# Size of cells used for neighbor lookups
CELL_SIZE = 2
# Debumping hydrogen size
BUMP_HYDROGEN_SIZE = 0.5
# Debumping heavy atom size
BUMP_HEAVY_SIZE = 1.0
# Disulfide bond distance limit
BONDED_SS_LIMIT = 2.5
# Peptide bond distance limit
PEPTIDE_DIST = 1.7
# Limit on fraction of molecule missing before giving up on repairs
REPAIR_LIMIT = 0.1
# Cutoff for A - D - H(D) hydrogen bond angle
ANGLE_CUTOFF = 20.0
# Cutoff for H(D) to A hydrogen bond distance
DIST_CUTOFF = 3.3
| """Configuration information for PDB2PQR."""
version = '3.0'
title_format_string = 'PDB2PQR v{version} - biomolecular structure conversion software'
citations = ['Please cite: Jurrus E, et al. Improvements to the APBS biomolecular solvation software suite. Protein Sci 27 112-128 (2018).', 'Please cite: Dolinsky TJ, et al. PDB2PQR: expanding and upgrading automated preparation of biomolecular structures for molecular simulations. Nucleic Acids Res 35 W522-W525 (2007).']
force_fields = ['amber', 'charmm', 'parse', 'tyl06', 'peoepb', 'swanson']
aa_names = ['ALA', 'ARG', 'ASH', 'ASN', 'ASP', 'CYS', 'CYM', 'GLN', 'GLU', 'GLH', 'GLY', 'HIS', 'HID', 'HIE', 'HIP', 'HSD', 'HSE', 'HSP', 'ILE', 'LEU', 'LYS', 'LYN', 'MET', 'PHE', 'PRO', 'SER', 'THR', 'TRP', 'TYR', 'TYM', 'VAL']
na_names = ['A', 'A5', 'A3', 'C', 'C5', 'C3', 'G', 'G5', 'G3', 'T', 'T5', 'T3', 'U', 'U5', 'U3', 'RA', 'RG', 'RC', 'RU', 'DA', 'DG', 'DC', 'DT']
backbone = ['N', 'CA', 'C', 'O', 'O2', 'HA', 'HN', 'H', 'tN']
small_number = 1e-07
dihedral_wtf = 57.2958
filter_warnings = ['Skipped atom during water optimization', 'The best donorH was not picked', 'Multiple occupancies found']
filter_warnings_limit = 20
topology_def_path = 'TOPOLOGY.xml'
aa_def_path = 'AA.xml'
na_def_path = 'NA.xml'
hyd_def_path = 'HYDROGENS.xml'
patch_def_path = 'PATCHES.xml'
debump_angle_steps = 72
debump_angle_step_size = float(360 // DEBUMP_ANGLE_STEPS)
debump_angle_test_count = 10
cell_size = 2
bump_hydrogen_size = 0.5
bump_heavy_size = 1.0
bonded_ss_limit = 2.5
peptide_dist = 1.7
repair_limit = 0.1
angle_cutoff = 20.0
dist_cutoff = 3.3 |
def solve(a,b):
dict={}
for i in range(max(a, 1), b):
temp=factors(i)
dict[sum(temp)/i]=dict.get(sum(temp)/i, [])+[i]
return sum(j[0] for j in dict.values() if len(j)>1)
def factors(n):
res={1, n}
for i in range(2, int(n**0.5)+1):
if n%i==0:
res.add(i)
res.add(n//i)
return res | def solve(a, b):
dict = {}
for i in range(max(a, 1), b):
temp = factors(i)
dict[sum(temp) / i] = dict.get(sum(temp) / i, []) + [i]
return sum((j[0] for j in dict.values() if len(j) > 1))
def factors(n):
res = {1, n}
for i in range(2, int(n ** 0.5) + 1):
if n % i == 0:
res.add(i)
res.add(n // i)
return res |
# Local settings for WLM project.
DEBUG = True
TEMPLATE_DEBUG = DEBUG
DEBUG_PROPAGATE_EXCEPTIONS = DEBUG
ALLOWED_HOSTS = '*'
ADMINS = (
#('Name', 'mail@example.com'),
)
MANAGERS = ADMINS
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': '',
'USER': '',
'PASSWORD': '',
'HOST': '',
'PORT': '',
}
}
GEOIP_PATH = '/usr/share/GeoIP/'
SECRET_KEY = ''
| debug = True
template_debug = DEBUG
debug_propagate_exceptions = DEBUG
allowed_hosts = '*'
admins = ()
managers = ADMINS
databases = {'default': {'ENGINE': 'django.db.backends.mysql', 'NAME': '', 'USER': '', 'PASSWORD': '', 'HOST': '', 'PORT': ''}}
geoip_path = '/usr/share/GeoIP/'
secret_key = '' |
# source: https://www.bilibili.com/video/av21540971/?p=23
def bubble_sort(alist):
"""bubble sort
best: O(n)
worst: O(n^2)
stable
"""
n = len(alist)
for j in range(n-1):
count = 0
for i in range(n-1-j):
if alist[i] > alist[i+1]:
alist[i], alist[i+1] = alist[i+1], alist[i]
count += 1
if 0 == count:
return
if __name__ == "__main__":
li = [54, 26, 93, 17, 77, 31, 44, 55, 20]
print(li)
bubble_sort(li)
print(li)
| def bubble_sort(alist):
"""bubble sort
best: O(n)
worst: O(n^2)
stable
"""
n = len(alist)
for j in range(n - 1):
count = 0
for i in range(n - 1 - j):
if alist[i] > alist[i + 1]:
(alist[i], alist[i + 1]) = (alist[i + 1], alist[i])
count += 1
if 0 == count:
return
if __name__ == '__main__':
li = [54, 26, 93, 17, 77, 31, 44, 55, 20]
print(li)
bubble_sort(li)
print(li) |
python = "Python"
print("h " + python[3]) # Note: string indexing starts with 0
p_letter = python[0]
print(p_letter)
| python = 'Python'
print('h ' + python[3])
p_letter = python[0]
print(p_letter) |
n =int(input())
count = 1
for i in range(1, n+1):
for j in range(1, i+1):
print(count*count, end=" ")
count+=1
print()
| n = int(input())
count = 1
for i in range(1, n + 1):
for j in range(1, i + 1):
print(count * count, end=' ')
count += 1
print() |
class Solution:
def intersect(self, nums1: List[int], nums2: List[int]) -> List[int]:
dic = {}
ret = []
if len(nums1)<len(nums2):
for i in nums2:
if i not in dic:
dic[i] = 0
dic[i] += 1
for j in nums1:
if j in dic and dic[j]>0:
dic[j]-=1
ret.append(j)
else:
for i in nums1:
if i not in dic:
dic[i] = 0
dic[i] += 1
for j in nums2:
if j in dic and dic[j]>0:
dic[j]-=1
ret.append(j)
return ret | class Solution:
def intersect(self, nums1: List[int], nums2: List[int]) -> List[int]:
dic = {}
ret = []
if len(nums1) < len(nums2):
for i in nums2:
if i not in dic:
dic[i] = 0
dic[i] += 1
for j in nums1:
if j in dic and dic[j] > 0:
dic[j] -= 1
ret.append(j)
else:
for i in nums1:
if i not in dic:
dic[i] = 0
dic[i] += 1
for j in nums2:
if j in dic and dic[j] > 0:
dic[j] -= 1
ret.append(j)
return ret |
def merge_sort(arr):
n = len(arr)
if n > 1:
mid = n//2
left = arr[0:mid]
right = arr[mid:n]
merge_sort(left)
merge_sort(right)
merge(left, right, arr)
def merge(left, right, arr):
i, j, k = 0, 0, 0
while i < len(left) and j < len(right):
if left[i] <= right[j]:
arr[k] = left[i]
i += 1
else:
arr[k] = right[j]
j += 1
k += 1
if i == len(left):
for item in right[j:]:
arr[k] = item
k += 1
else:
for item in left[i:]:
arr[k] = item
k += 1
# number_list = [20, 18, 12, 8, 5, -2]
# merge_sort(number_list)
# print(number_list)
| def merge_sort(arr):
n = len(arr)
if n > 1:
mid = n // 2
left = arr[0:mid]
right = arr[mid:n]
merge_sort(left)
merge_sort(right)
merge(left, right, arr)
def merge(left, right, arr):
(i, j, k) = (0, 0, 0)
while i < len(left) and j < len(right):
if left[i] <= right[j]:
arr[k] = left[i]
i += 1
else:
arr[k] = right[j]
j += 1
k += 1
if i == len(left):
for item in right[j:]:
arr[k] = item
k += 1
else:
for item in left[i:]:
arr[k] = item
k += 1 |
class Solution(object):
def countGoodRectangles(self, rectangles):
"""
:type rectangles: List[List[int]]
:rtype: int
"""
maxLen = 0
counter = 0
for rectangle in rectangles:
# You can find the maximal square within a rectangle
maximalSquare = min(rectangle[0], rectangle[1])
if maximalSquare > maxLen:
maxLen = maximalSquare
counter = 1
elif maximalSquare == maxLen:
counter += 1
return counter
| class Solution(object):
def count_good_rectangles(self, rectangles):
"""
:type rectangles: List[List[int]]
:rtype: int
"""
max_len = 0
counter = 0
for rectangle in rectangles:
maximal_square = min(rectangle[0], rectangle[1])
if maximalSquare > maxLen:
max_len = maximalSquare
counter = 1
elif maximalSquare == maxLen:
counter += 1
return counter |
positive_count = 0
zero_count = 0
negative_count = 0
n = int(input().strip())
arr = [int(arr_temp) for arr_temp in input().strip().split(' ')]
for num in arr:
if num > 0:
positive_count += 1
elif num == 0:
zero_count += 1
else:
negative_count += 1
print(positive_count / n)
print(negative_count / n)
print(zero_count / n)
| positive_count = 0
zero_count = 0
negative_count = 0
n = int(input().strip())
arr = [int(arr_temp) for arr_temp in input().strip().split(' ')]
for num in arr:
if num > 0:
positive_count += 1
elif num == 0:
zero_count += 1
else:
negative_count += 1
print(positive_count / n)
print(negative_count / n)
print(zero_count / n) |
class Colors:
"""
This is a class that helps with printing out colors to the terminal.
"""
BLUE = '\033[96m'
PINK = '\033[95m'
PURPLE = '\033[94m'
GREEN = '\033[92m'
YELLOW = '\033[93m'
RED = '\033[91m'
ENDC = '\033[0m'
CLEAR = '\x1b[2J\x1b[H'
def clear_screen(self):
print(self.CLEAR, end="")
def reset_color(self):
print(self.ENDC, end="")
def print_color(self, color_type, string, is_input=False):
"""
This is a factory method that will print text of a certain color.
Parameters:
color_type (string): One of the enums above or user supplied to
print a certain color.
string (string): The string that the user wants to print out.
is_input (bool): Decides whether we print the string with a newline
or not. Helpful for when we want the user to
input a value on the same line of what we are
printing.
"""
print(color_type, end="")
if is_input:
input(string)
else:
print(string)
self.reset_color()
def print_pink(self, string, is_input=False):
self.print_color(self.PINK, string, is_input)
def print_blue(self, string, is_input=False):
self.print_color(self.BLUE, string, is_input)
def print_purple(self, string, is_input=False):
self.print_color(self.PURPLE, string, is_input)
def print_green(self, string, is_input=False):
self.print_color(self.GREEN, string, is_input)
def print_yellow(self, string, is_input=False):
self.print_color(self.YELLOW, string, is_input)
def print_red(self, string, is_input=False):
self.print_color(self.RED, string, is_input)
| class Colors:
"""
This is a class that helps with printing out colors to the terminal.
"""
blue = '\x1b[96m'
pink = '\x1b[95m'
purple = '\x1b[94m'
green = '\x1b[92m'
yellow = '\x1b[93m'
red = '\x1b[91m'
endc = '\x1b[0m'
clear = '\x1b[2J\x1b[H'
def clear_screen(self):
print(self.CLEAR, end='')
def reset_color(self):
print(self.ENDC, end='')
def print_color(self, color_type, string, is_input=False):
"""
This is a factory method that will print text of a certain color.
Parameters:
color_type (string): One of the enums above or user supplied to
print a certain color.
string (string): The string that the user wants to print out.
is_input (bool): Decides whether we print the string with a newline
or not. Helpful for when we want the user to
input a value on the same line of what we are
printing.
"""
print(color_type, end='')
if is_input:
input(string)
else:
print(string)
self.reset_color()
def print_pink(self, string, is_input=False):
self.print_color(self.PINK, string, is_input)
def print_blue(self, string, is_input=False):
self.print_color(self.BLUE, string, is_input)
def print_purple(self, string, is_input=False):
self.print_color(self.PURPLE, string, is_input)
def print_green(self, string, is_input=False):
self.print_color(self.GREEN, string, is_input)
def print_yellow(self, string, is_input=False):
self.print_color(self.YELLOW, string, is_input)
def print_red(self, string, is_input=False):
self.print_color(self.RED, string, is_input) |
ERROR_CHAR = "\u274c"
SUCCESS_CHAR = "\u2713"
def missingConfigurationFile():
print(
f"{ERROR_CHAR} nocpeasy.yml file does not exist, run `ocpeasy scaffold|init` first"
)
def stageCreated(stageId: str, pathProject: str):
print(
f"{SUCCESS_CHAR} new OpenShift stage created ({stageId}) for project [{pathProject}]"
)
def ocpeasyConfigFileUpdated():
print(f"{SUCCESS_CHAR} ocpeasy.yml file refreshed")
def missingStage():
print(f"{ERROR_CHAR} stage doesn't exist")
def ocpeasyStageAssetsGenerated():
print(f"{SUCCESS_CHAR} OpenShift assets generated")
def ocBinaryMissingFromPath():
print(f"{ERROR_CHAR} oc is not properly installed")
| error_char = '❌'
success_char = '✓'
def missing_configuration_file():
print(f'{ERROR_CHAR} nocpeasy.yml file does not exist, run `ocpeasy scaffold|init` first')
def stage_created(stageId: str, pathProject: str):
print(f'{SUCCESS_CHAR} new OpenShift stage created ({stageId}) for project [{pathProject}]')
def ocpeasy_config_file_updated():
print(f'{SUCCESS_CHAR} ocpeasy.yml file refreshed')
def missing_stage():
print(f"{ERROR_CHAR} stage doesn't exist")
def ocpeasy_stage_assets_generated():
print(f'{SUCCESS_CHAR} OpenShift assets generated')
def oc_binary_missing_from_path():
print(f'{ERROR_CHAR} oc is not properly installed') |
# a Star topology centered on Z
# D G J
# \ | /
# \ | /
# E H K
# \ | /
# \ | /
# F I L
# \ | /
# \ | /
# A --- B --- C --------- Z -------- M --- N --- O
# / | \
# / | \
# P S V
# / | \
# / | \
# Q T W
# / | \
# / | \
# R U X
#
topo = { 'A' : ['B'],
'B' : ['A', 'C'],
'C' : ['B', 'Z'],
'D' : ['E'],
'E' : ['D', 'F'],
'F' : ['E', 'Z'],
'G' : ['H'],
'H' : ['G', 'I'],
'I' : ['H', 'Z'],
'J' : ['K'],
'K' : ['J', 'L'],
'L' : ['K', 'Z'],
'M' : ['Z', 'N'],
'N' : ['M', 'O'],
'O' : ['N'],
'P' : ['Z', 'Q'],
'Q' : ['P', 'R'],
'R' : ['Q'],
'S' : ['Z', 'T'],
'T' : ['S', 'U'],
'U' : ['T'],
'V' : ['Z', 'W'],
'W' : ['V', 'X'],
'X' : ['W'],
'Z' : ['C', 'F', 'I', 'L', 'M', 'P', 'S', 'V']}
ans = \
'A:A0,B1,C2,D6,E5,F4,G6,H5,I4,J6,K5,L4,M4,N5,O6,P4,Q5,R6,S4,T5,U6,V4,W5,X6,Z3' + \
'B:A1,B0,C1,D5,E4,F3,G5,H4,I3,J5,K4,L3,M3,N4,O5,P3,Q4,R5,S3,T4,U5,V3,W4,X5,Z2' + \
'C:A2,B1,C0,D4,E3,F2,G4,H3,I2,J4,K3,L2,M2,N3,O4,P2,Q3,R4,S2,T3,U4,V2,W3,X4,Z1' + \
'D:A6,B5,C4,D0,E1,F2,G6,H5,I4,J6,K5,L4,M4,N5,O6,P4,Q5,R6,S4,T5,U6,V4,W5,X6,Z3' + \
'E:A5,B4,C3,D1,E0,F1,G5,H4,I3,J5,K4,L3,M3,N4,O5,P3,Q4,R5,S3,T4,U5,V3,W4,X5,Z2' + \
'F:A4,B3,C2,D2,E1,F0,G4,H3,I2,J4,K3,L2,M2,N3,O4,P2,Q3,R4,S2,T3,U4,V2,W3,X4,Z1' + \
'G:A6,B5,C4,D6,E5,F4,G0,H1,I2,J6,K5,L4,M4,N5,O6,P4,Q5,R6,S4,T5,U6,V4,W5,X6,Z3' + \
'H:A5,B4,C3,D5,E4,F3,G1,H0,I1,J5,K4,L3,M3,N4,O5,P3,Q4,R5,S3,T4,U5,V3,W4,X5,Z2' + \
'I:A4,B3,C2,D4,E3,F2,G2,H1,I0,J4,K3,L2,M2,N3,O4,P2,Q3,R4,S2,T3,U4,V2,W3,X4,Z1' + \
'J:A6,B5,C4,D6,E5,F4,G6,H5,I4,J0,K1,L2,M4,N5,O6,P4,Q5,R6,S4,T5,U6,V4,W5,X6,Z3' + \
'K:A5,B4,C3,D5,E4,F3,G5,H4,I3,J1,K0,L1,M3,N4,O5,P3,Q4,R5,S3,T4,U5,V3,W4,X5,Z2' + \
'L:A4,B3,C2,D4,E3,F2,G4,H3,I2,J2,K1,L0,M2,N3,O4,P2,Q3,R4,S2,T3,U4,V2,W3,X4,Z1' + \
'M:A4,B3,C2,D4,E3,F2,G4,H3,I2,J4,K3,L2,M0,N1,O2,P2,Q3,R4,S2,T3,U4,V2,W3,X4,Z1' + \
'N:A5,B4,C3,D5,E4,F3,G5,H4,I3,J5,K4,L3,M1,N0,O1,P3,Q4,R5,S3,T4,U5,V3,W4,X5,Z2' + \
'O:A6,B5,C4,D6,E5,F4,G6,H5,I4,J6,K5,L4,M2,N1,O0,P4,Q5,R6,S4,T5,U6,V4,W5,X6,Z3' + \
'P:A4,B3,C2,D4,E3,F2,G4,H3,I2,J4,K3,L2,M2,N3,O4,P0,Q1,R2,S2,T3,U4,V2,W3,X4,Z1' + \
'Q:A5,B4,C3,D5,E4,F3,G5,H4,I3,J5,K4,L3,M3,N4,O5,P1,Q0,R1,S3,T4,U5,V3,W4,X5,Z2' + \
'R:A6,B5,C4,D6,E5,F4,G6,H5,I4,J6,K5,L4,M4,N5,O6,P2,Q1,R0,S4,T5,U6,V4,W5,X6,Z3' + \
'S:A4,B3,C2,D4,E3,F2,G4,H3,I2,J4,K3,L2,M2,N3,O4,P2,Q3,R4,S0,T1,U2,V2,W3,X4,Z1' + \
'T:A5,B4,C3,D5,E4,F3,G5,H4,I3,J5,K4,L3,M3,N4,O5,P3,Q4,R5,S1,T0,U1,V3,W4,X5,Z2' + \
'U:A6,B5,C4,D6,E5,F4,G6,H5,I4,J6,K5,L4,M4,N5,O6,P4,Q5,R6,S2,T1,U0,V4,W5,X6,Z3' + \
'V:A4,B3,C2,D4,E3,F2,G4,H3,I2,J4,K3,L2,M2,N3,O4,P2,Q3,R4,S2,T3,U4,V0,W1,X2,Z1' + \
'W:A5,B4,C3,D5,E4,F3,G5,H4,I3,J5,K4,L3,M3,N4,O5,P3,Q4,R5,S3,T4,U5,V1,W0,X1,Z2' + \
'X:A6,B5,C4,D6,E5,F4,G6,H5,I4,J6,K5,L4,M4,N5,O6,P4,Q5,R6,S4,T5,U6,V2,W1,X0,Z3' + \
'Z:A3,B2,C1,D3,E2,F1,G3,H2,I1,J3,K2,L1,M1,N2,O3,P1,Q2,R3,S1,T2,U3,V1,W2,X3,Z0' | topo = {'A': ['B'], 'B': ['A', 'C'], 'C': ['B', 'Z'], 'D': ['E'], 'E': ['D', 'F'], 'F': ['E', 'Z'], 'G': ['H'], 'H': ['G', 'I'], 'I': ['H', 'Z'], 'J': ['K'], 'K': ['J', 'L'], 'L': ['K', 'Z'], 'M': ['Z', 'N'], 'N': ['M', 'O'], 'O': ['N'], 'P': ['Z', 'Q'], 'Q': ['P', 'R'], 'R': ['Q'], 'S': ['Z', 'T'], 'T': ['S', 'U'], 'U': ['T'], 'V': ['Z', 'W'], 'W': ['V', 'X'], 'X': ['W'], 'Z': ['C', 'F', 'I', 'L', 'M', 'P', 'S', 'V']}
ans = 'A:A0,B1,C2,D6,E5,F4,G6,H5,I4,J6,K5,L4,M4,N5,O6,P4,Q5,R6,S4,T5,U6,V4,W5,X6,Z3' + 'B:A1,B0,C1,D5,E4,F3,G5,H4,I3,J5,K4,L3,M3,N4,O5,P3,Q4,R5,S3,T4,U5,V3,W4,X5,Z2' + 'C:A2,B1,C0,D4,E3,F2,G4,H3,I2,J4,K3,L2,M2,N3,O4,P2,Q3,R4,S2,T3,U4,V2,W3,X4,Z1' + 'D:A6,B5,C4,D0,E1,F2,G6,H5,I4,J6,K5,L4,M4,N5,O6,P4,Q5,R6,S4,T5,U6,V4,W5,X6,Z3' + 'E:A5,B4,C3,D1,E0,F1,G5,H4,I3,J5,K4,L3,M3,N4,O5,P3,Q4,R5,S3,T4,U5,V3,W4,X5,Z2' + 'F:A4,B3,C2,D2,E1,F0,G4,H3,I2,J4,K3,L2,M2,N3,O4,P2,Q3,R4,S2,T3,U4,V2,W3,X4,Z1' + 'G:A6,B5,C4,D6,E5,F4,G0,H1,I2,J6,K5,L4,M4,N5,O6,P4,Q5,R6,S4,T5,U6,V4,W5,X6,Z3' + 'H:A5,B4,C3,D5,E4,F3,G1,H0,I1,J5,K4,L3,M3,N4,O5,P3,Q4,R5,S3,T4,U5,V3,W4,X5,Z2' + 'I:A4,B3,C2,D4,E3,F2,G2,H1,I0,J4,K3,L2,M2,N3,O4,P2,Q3,R4,S2,T3,U4,V2,W3,X4,Z1' + 'J:A6,B5,C4,D6,E5,F4,G6,H5,I4,J0,K1,L2,M4,N5,O6,P4,Q5,R6,S4,T5,U6,V4,W5,X6,Z3' + 'K:A5,B4,C3,D5,E4,F3,G5,H4,I3,J1,K0,L1,M3,N4,O5,P3,Q4,R5,S3,T4,U5,V3,W4,X5,Z2' + 'L:A4,B3,C2,D4,E3,F2,G4,H3,I2,J2,K1,L0,M2,N3,O4,P2,Q3,R4,S2,T3,U4,V2,W3,X4,Z1' + 'M:A4,B3,C2,D4,E3,F2,G4,H3,I2,J4,K3,L2,M0,N1,O2,P2,Q3,R4,S2,T3,U4,V2,W3,X4,Z1' + 'N:A5,B4,C3,D5,E4,F3,G5,H4,I3,J5,K4,L3,M1,N0,O1,P3,Q4,R5,S3,T4,U5,V3,W4,X5,Z2' + 'O:A6,B5,C4,D6,E5,F4,G6,H5,I4,J6,K5,L4,M2,N1,O0,P4,Q5,R6,S4,T5,U6,V4,W5,X6,Z3' + 'P:A4,B3,C2,D4,E3,F2,G4,H3,I2,J4,K3,L2,M2,N3,O4,P0,Q1,R2,S2,T3,U4,V2,W3,X4,Z1' + 'Q:A5,B4,C3,D5,E4,F3,G5,H4,I3,J5,K4,L3,M3,N4,O5,P1,Q0,R1,S3,T4,U5,V3,W4,X5,Z2' + 'R:A6,B5,C4,D6,E5,F4,G6,H5,I4,J6,K5,L4,M4,N5,O6,P2,Q1,R0,S4,T5,U6,V4,W5,X6,Z3' + 'S:A4,B3,C2,D4,E3,F2,G4,H3,I2,J4,K3,L2,M2,N3,O4,P2,Q3,R4,S0,T1,U2,V2,W3,X4,Z1' + 'T:A5,B4,C3,D5,E4,F3,G5,H4,I3,J5,K4,L3,M3,N4,O5,P3,Q4,R5,S1,T0,U1,V3,W4,X5,Z2' + 'U:A6,B5,C4,D6,E5,F4,G6,H5,I4,J6,K5,L4,M4,N5,O6,P4,Q5,R6,S2,T1,U0,V4,W5,X6,Z3' + 'V:A4,B3,C2,D4,E3,F2,G4,H3,I2,J4,K3,L2,M2,N3,O4,P2,Q3,R4,S2,T3,U4,V0,W1,X2,Z1' + 'W:A5,B4,C3,D5,E4,F3,G5,H4,I3,J5,K4,L3,M3,N4,O5,P3,Q4,R5,S3,T4,U5,V1,W0,X1,Z2' + 'X:A6,B5,C4,D6,E5,F4,G6,H5,I4,J6,K5,L4,M4,N5,O6,P4,Q5,R6,S4,T5,U6,V2,W1,X0,Z3' + 'Z:A3,B2,C1,D3,E2,F1,G3,H2,I1,J3,K2,L1,M1,N2,O3,P1,Q2,R3,S1,T2,U3,V1,W2,X3,Z0' |
"""
Codemonk link: https://www.hackerearth.com/problem/algorithm/the-monk-and-kundan-6f73d491/
Kundan being a good friend of Monk, lets the Monk know that he has a following string Initial which consists of the
following letters in the mentioned order: "abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ". He also has
various lists of strings, and now he wants the Monk to compute the Hash value of each list of strings. Here's the
following algorithm used by the Monk to do it. So, the Hash is the summation of all the character values in the input:
(currentIndex + (position of the character In the string initial) ). And then this hash is multiplied by the number of
strings in the list.
Input - Output:
The first line contains an integer T, denoting the number of test cases.
For every test case, on a single line, there will be N number of strings all of them
separated by a space, denoting all the strings of that particular list of strings.
Print the required hash for each of the mentioned list of strings.
Sample input:
3
aA1 b
a b c d
aa BB cc DD
Sample Output:
132
24
640
"""
"""
This problem is extremely straight forward. To speed up everything we has the initial alphabet with values the indices
of the characters in the original alphabet.
Everything is insignificant here.
Final complexity: O(1)
"""
alphabet = "abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ"
hash_table = {}
for i in range(len(alphabet)):
hash_table[alphabet[i]] = i
t = int(input())
for _ in range(t):
str_array = list(input().split())
value = 0
for i in range(len(str_array)):
for j in range(len(str_array[i])):
value += hash_table[str_array[i][j]] + j
value *= len(str_array)
print(value)
| """
Codemonk link: https://www.hackerearth.com/problem/algorithm/the-monk-and-kundan-6f73d491/
Kundan being a good friend of Monk, lets the Monk know that he has a following string Initial which consists of the
following letters in the mentioned order: "abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ". He also has
various lists of strings, and now he wants the Monk to compute the Hash value of each list of strings. Here's the
following algorithm used by the Monk to do it. So, the Hash is the summation of all the character values in the input:
(currentIndex + (position of the character In the string initial) ). And then this hash is multiplied by the number of
strings in the list.
Input - Output:
The first line contains an integer T, denoting the number of test cases.
For every test case, on a single line, there will be N number of strings all of them
separated by a space, denoting all the strings of that particular list of strings.
Print the required hash for each of the mentioned list of strings.
Sample input:
3
aA1 b
a b c d
aa BB cc DD
Sample Output:
132
24
640
"""
'\nThis problem is extremely straight forward. To speed up everything we has the initial alphabet with values the indices\nof the characters in the original alphabet.\n\nEverything is insignificant here.\n\nFinal complexity: O(1)\n'
alphabet = 'abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ'
hash_table = {}
for i in range(len(alphabet)):
hash_table[alphabet[i]] = i
t = int(input())
for _ in range(t):
str_array = list(input().split())
value = 0
for i in range(len(str_array)):
for j in range(len(str_array[i])):
value += hash_table[str_array[i][j]] + j
value *= len(str_array)
print(value) |
class ErrorCode:
INVALID_ARGUMENT = 2
NOT_YET_SUPPORTED = 8
MISSING_REQUIREMENT = 9
FILE_NOT_FOUND = 20
FILE_CORRUPTED = 21
VPN_SERVICE_IS_NOT_WORKING = 90
VPN_ACCOUNT_NOT_FOUND = 91
VPN_ACCOUNT_NOT_MATCH = 92
VPN_NOT_YET_INSTALLED = 98
VPN_ALREADY_INSTALLED = 98
VPN_START_FAILED = 99
TIMEOUT = 100
class Versions:
VPN_VERSION = 'v4.36-9754-beta' # Default version
VPN_REPO = 'SoftEtherVPN/SoftEtherVPN_Stable'
GHRD_VERSION = 'v1.1.2'
GHRD_LINK = 'https://github.com/zero88/gh-release-downloader/releases/download/{}/ghrd'
PLATFORMS = {'linux/arm/32-eabi': 'arm_eabi-32', 'linux/arm/v7': 'arm-32', 'linux/arm/v6': 'arm-32',
'linux/mips': 'mips_el-32', 'linux/386': 'linux-x86', 'linux/amd64': 'linux-x64',
'linux/arm64': 'arm64'}
ARCHES = [a for a in PLATFORMS.values() if a]
class AppEnv:
BRAND = 'playio'
VPN_CORP_ENV = 'VPN_CORP'
VPN_HOME_ENV = 'VPN_HOME'
| class Errorcode:
invalid_argument = 2
not_yet_supported = 8
missing_requirement = 9
file_not_found = 20
file_corrupted = 21
vpn_service_is_not_working = 90
vpn_account_not_found = 91
vpn_account_not_match = 92
vpn_not_yet_installed = 98
vpn_already_installed = 98
vpn_start_failed = 99
timeout = 100
class Versions:
vpn_version = 'v4.36-9754-beta'
vpn_repo = 'SoftEtherVPN/SoftEtherVPN_Stable'
ghrd_version = 'v1.1.2'
ghrd_link = 'https://github.com/zero88/gh-release-downloader/releases/download/{}/ghrd'
platforms = {'linux/arm/32-eabi': 'arm_eabi-32', 'linux/arm/v7': 'arm-32', 'linux/arm/v6': 'arm-32', 'linux/mips': 'mips_el-32', 'linux/386': 'linux-x86', 'linux/amd64': 'linux-x64', 'linux/arm64': 'arm64'}
arches = [a for a in PLATFORMS.values() if a]
class Appenv:
brand = 'playio'
vpn_corp_env = 'VPN_CORP'
vpn_home_env = 'VPN_HOME' |
"""
Store the global parameter dictionary to be imported and modified by each test
"""
OPT = {'dataset': 'Cora', 'self_loop_weight': 1, 'leaky_relu_slope': 0.2, 'heads': 2, 'K': 10,
'attention_norm_idx': 0, 'add_source': False, 'alpha': 1, 'alpha_dim': 'vc', 'beta_dim': 'vc',
'hidden_dim': 6, 'block': 'attention', 'function': 'laplacian', 'augment': False, 'adjoint': False,
'tol_scale': 1, 'time': 1, 'input_dropout': 0.5, 'dropout': 0.5, 'method': 'euler', 'rewiring': None,
'no_alpha_sigmoid': False, 'reweight_attention': False, 'kinetic_energy': None, 'jacobian_norm2': None,
'total_deriv': None, 'directional_penalty': None, 'step_size': 1, 'beltrami': False, 'use_mlp': False,
'use_labels': False, 'fc_out': False, 'attention_type': "scaled_dot", 'batch_norm': False, 'square_plus': False,
'feat_hidden_dim': 16, 'pos_enc_hidden_dim': 8, 'gdc_method': 'ppr', 'gdc_sparsification': 'topk', 'gdc_k': 4,
'gdc_threshold': 1e-5, 'ppr_alpha': 0.05, 'exact': True, 'pos_enc_orientation': 'row', 'pos_enc_type': 'GDC',
'max_nfe': 1000, 'pos_enc_csv': False, 'max_test_steps': 1000, 'edge_sampling_add_type': 'importance',
'fa_layer': False, 'att_samp_pct': 1, 'edge_sampling_sym': False} | """
Store the global parameter dictionary to be imported and modified by each test
"""
opt = {'dataset': 'Cora', 'self_loop_weight': 1, 'leaky_relu_slope': 0.2, 'heads': 2, 'K': 10, 'attention_norm_idx': 0, 'add_source': False, 'alpha': 1, 'alpha_dim': 'vc', 'beta_dim': 'vc', 'hidden_dim': 6, 'block': 'attention', 'function': 'laplacian', 'augment': False, 'adjoint': False, 'tol_scale': 1, 'time': 1, 'input_dropout': 0.5, 'dropout': 0.5, 'method': 'euler', 'rewiring': None, 'no_alpha_sigmoid': False, 'reweight_attention': False, 'kinetic_energy': None, 'jacobian_norm2': None, 'total_deriv': None, 'directional_penalty': None, 'step_size': 1, 'beltrami': False, 'use_mlp': False, 'use_labels': False, 'fc_out': False, 'attention_type': 'scaled_dot', 'batch_norm': False, 'square_plus': False, 'feat_hidden_dim': 16, 'pos_enc_hidden_dim': 8, 'gdc_method': 'ppr', 'gdc_sparsification': 'topk', 'gdc_k': 4, 'gdc_threshold': 1e-05, 'ppr_alpha': 0.05, 'exact': True, 'pos_enc_orientation': 'row', 'pos_enc_type': 'GDC', 'max_nfe': 1000, 'pos_enc_csv': False, 'max_test_steps': 1000, 'edge_sampling_add_type': 'importance', 'fa_layer': False, 'att_samp_pct': 1, 'edge_sampling_sym': False} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.