content stringlengths 7 1.05M | fixed_cases stringlengths 1 1.28M |
|---|---|
#!/usr/bin/env python
#coding: utf-8
# Definition for a binary tree node
class TreeNode:
def __init__(self, x):
self.val = x
self.left = None
self.right = None
class Solution:
# @param root, a tree node
# @return a list of integers
def postorderTraversal(self, root):
if not root: return []
leftL = self.postorderTraversal(root.left)
rightL = self.postorderTraversal(root.right)
return leftL + rightL + [root.val]
| class Treenode:
def __init__(self, x):
self.val = x
self.left = None
self.right = None
class Solution:
def postorder_traversal(self, root):
if not root:
return []
left_l = self.postorderTraversal(root.left)
right_l = self.postorderTraversal(root.right)
return leftL + rightL + [root.val] |
{
"cells": [
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"append: 0.09872150200000007\n",
"concat: 0.10876064500000027\n",
"unpack: 0.14667600099999945\n"
]
}
],
"source": [
"from timeit import timeit\n",
"\n",
"append = \"\"\"\n",
"array1 = [0, 1, 2]\n",
"array1.append(3)\n",
"\"\"\"\n",
"concat = \"\"\"\n",
"array2 = [0, 1, 2]\n",
"array2 += [3]\n",
"\"\"\"\n",
"unpack = \"\"\"\n",
"array3 = [0, 1, 2]\n",
"array3 = [*array3, 3]\n",
"\"\"\"\n",
"\n",
"print(f\"append: {timeit(append)}\")\n",
"print(f\"concat: {timeit(concat)}\")\n",
"print(f\"unpack: {timeit(unpack)}\")"
]
}
],
"metadata": {
"interpreter": {
"hash": "31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6"
},
"kernelspec": {
"display_name": "Python 3.8.2 64-bit",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.12"
},
"orig_nbformat": 4
},
"nbformat": 4,
"nbformat_minor": 2
}
| {'cells': [{'cell_type': 'code', 'execution_count': 2, 'metadata': {}, 'outputs': [{'name': 'stdout', 'output_type': 'stream', 'text': ['append: 0.09872150200000007\n', 'concat: 0.10876064500000027\n', 'unpack: 0.14667600099999945\n']}], 'source': ['from timeit import timeit\n', '\n', 'append = """\n', 'array1 = [0, 1, 2]\n', 'array1.append(3)\n', '"""\n', 'concat = """\n', 'array2 = [0, 1, 2]\n', 'array2 += [3]\n', '"""\n', 'unpack = """\n', 'array3 = [0, 1, 2]\n', 'array3 = [*array3, 3]\n', '"""\n', '\n', 'print(f"append: {timeit(append)}")\n', 'print(f"concat: {timeit(concat)}")\n', 'print(f"unpack: {timeit(unpack)}")']}], 'metadata': {'interpreter': {'hash': '31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6'}, 'kernelspec': {'display_name': 'Python 3.8.2 64-bit', 'language': 'python', 'name': 'python3'}, 'language_info': {'codemirror_mode': {'name': 'ipython', 'version': 3}, 'file_extension': '.py', 'mimetype': 'text/x-python', 'name': 'python', 'nbconvert_exporter': 'python', 'pygments_lexer': 'ipython3', 'version': '3.8.12'}, 'orig_nbformat': 4}, 'nbformat': 4, 'nbformat_minor': 2} |
# Definition for singly-linked list.
# class ListNode:
# def __init__(self, val=0, next=None):
# self.val = val
# self.next = next
class Solution:
def nodesBetweenCriticalPoints(self, head: Optional[ListNode]) -> List[int]:
# init
if head:
p1 = head
p2 = p1.next
else: return [-1, -1]
if p2: p3 = p2.next
else: return [-1, -1]
if not p3: return [-1, -1]
ind = 1
criticalPoints = []
# loop all nodes
while p3:
if p1.val > p2.val and p3.val > p2.val:
criticalPoints.append(ind)
if p1.val < p2.val and p3.val < p2.val:
criticalPoints.append(ind)
# update nodes
tmp3 = p3
tmp2 = p2
p3 = tmp3.next
p2 = tmp3
p1 = tmp2
ind += 1
# check criticalPoints to return
if len(criticalPoints) < 2: return [-1, -1]
else:
maxD = criticalPoints[-1] - criticalPoints[0]
minD = maxD
for i in range(1, len(criticalPoints)):
if criticalPoints[i] - criticalPoints[i-1] < minD:
minD = criticalPoints[i] - criticalPoints[i-1]
return [minD, maxD]
| class Solution:
def nodes_between_critical_points(self, head: Optional[ListNode]) -> List[int]:
if head:
p1 = head
p2 = p1.next
else:
return [-1, -1]
if p2:
p3 = p2.next
else:
return [-1, -1]
if not p3:
return [-1, -1]
ind = 1
critical_points = []
while p3:
if p1.val > p2.val and p3.val > p2.val:
criticalPoints.append(ind)
if p1.val < p2.val and p3.val < p2.val:
criticalPoints.append(ind)
tmp3 = p3
tmp2 = p2
p3 = tmp3.next
p2 = tmp3
p1 = tmp2
ind += 1
if len(criticalPoints) < 2:
return [-1, -1]
else:
max_d = criticalPoints[-1] - criticalPoints[0]
min_d = maxD
for i in range(1, len(criticalPoints)):
if criticalPoints[i] - criticalPoints[i - 1] < minD:
min_d = criticalPoints[i] - criticalPoints[i - 1]
return [minD, maxD] |
# posts model
# create an empty list
posts=[]
def posts_db():
return posts | posts = []
def posts_db():
return posts |
while True:
try:
n, inSeq = int(input()), input().split()
inSeq = ''.join(inSeq)
stack = ''
def outSeq(inSeq, stack):
if len(inSeq) == 0:
return [''.join(reversed(stack))]
if len(stack) == 0:
outLater = outSeq(inSeq[1: ], stack + inSeq[0])
return outLater
else:
head = stack[-1]
outNow = [head+x for x in outSeq(inSeq, stack[ :-1]) if len(x)!=0]
outLater = outSeq(inSeq[1: ], stack + inSeq[0])
return outNow + outLater
r = outSeq(inSeq, stack)
# print(len(r))
r = [' '.join(list(x)) for x in r]
print('\n'.join(r))
except:
break | while True:
try:
(n, in_seq) = (int(input()), input().split())
in_seq = ''.join(inSeq)
stack = ''
def out_seq(inSeq, stack):
if len(inSeq) == 0:
return [''.join(reversed(stack))]
if len(stack) == 0:
out_later = out_seq(inSeq[1:], stack + inSeq[0])
return outLater
else:
head = stack[-1]
out_now = [head + x for x in out_seq(inSeq, stack[:-1]) if len(x) != 0]
out_later = out_seq(inSeq[1:], stack + inSeq[0])
return outNow + outLater
r = out_seq(inSeq, stack)
r = [' '.join(list(x)) for x in r]
print('\n'.join(r))
except:
break |
GET_USERS = "SELECT users FROM all_users WHERE user_id = '{}'"
CREATE_MAIN_TABLE = "CREATE TABLE all_users(user_id text NOT NULL, users text NOT NULL);"
ADD_USER = "UPDATE all_users SET users = '{}' WHERE user_id = '{}'"
CREATE_USER = "INSERT INTO all_users (user_id, users) VALUES ('{}', ' ')"
GET_ALL_IDS = "SELECT user_id from all_users" | get_users = "SELECT users FROM all_users WHERE user_id = '{}'"
create_main_table = 'CREATE TABLE all_users(user_id text NOT NULL, users text NOT NULL);'
add_user = "UPDATE all_users SET users = '{}' WHERE user_id = '{}'"
create_user = "INSERT INTO all_users (user_id, users) VALUES ('{}', ' ')"
get_all_ids = 'SELECT user_id from all_users' |
class Extractor:
def __str__(self):
return self.__class__.__name__
class ExtractByCommand(Extractor):
def feed(self, command):
if not hasattr(self, command['type']):
return
getattr(self, command['type'])(command)
| class Extractor:
def __str__(self):
return self.__class__.__name__
class Extractbycommand(Extractor):
def feed(self, command):
if not hasattr(self, command['type']):
return
getattr(self, command['type'])(command) |
REGISTERED_METHODS = [
"ACL",
"BASELINE-CONTROL",
"BIND",
"CHECKIN",
"CHECKOUT",
"CONNECT",
"COPY",
"DELETE",
"GET",
"HEAD",
"LABEL",
"LINK",
"LOCK",
"MERGE",
"MKACTIVITY",
"MKCALENDAR",
"MKREDIRECTREF",
"MKWORKSPACE",
"MOVE",
"OPTIONS",
"ORDERPATCH",
"PATCH",
"POST",
"PRI",
"PROPFIND",
"PUT",
"QUERY",
"REBIND",
"REPORT",
"SEARCH",
"TRACE",
"UNBIND",
"UNCHECKOUT",
"UNLINK",
"UNLOCK",
"UPDATE",
"UPDATEREDIRECTREF",
"VERSION-CONTROL",
]
| registered_methods = ['ACL', 'BASELINE-CONTROL', 'BIND', 'CHECKIN', 'CHECKOUT', 'CONNECT', 'COPY', 'DELETE', 'GET', 'HEAD', 'LABEL', 'LINK', 'LOCK', 'MERGE', 'MKACTIVITY', 'MKCALENDAR', 'MKREDIRECTREF', 'MKWORKSPACE', 'MOVE', 'OPTIONS', 'ORDERPATCH', 'PATCH', 'POST', 'PRI', 'PROPFIND', 'PUT', 'QUERY', 'REBIND', 'REPORT', 'SEARCH', 'TRACE', 'UNBIND', 'UNCHECKOUT', 'UNLINK', 'UNLOCK', 'UPDATE', 'UPDATEREDIRECTREF', 'VERSION-CONTROL'] |
def open_file():
'''Remember to put a docstring here'''
while True:
file_name = input("Input a file name: ")
try:
fp = open(file_name)
break
except FileNotFoundError:
print("Unable to open file. Please try again.")
continue
return fp
def main():
count = [0 for i in range(9)]
percentages = [0 for i in range(9)]
expected_percentages = ['30.1','17.6','12.5','9.7','7.9','6.7','5.8','5.1','4.6']
fp = open_file()
for line in fp:
line = line.strip()
try:
number = int(line)
except (TypeError, ValueError):
pass
try:
number = int(str(line[0]))
except ValueError:
pass
index = number - 1
count[index]+= 1
line_count = sum(count)
print("Digit Percent Benford")
for x in range(len(count)):
percentages[x] = (count[x]/line_count)*100
print("{:3s} {:>10.1f}% ({:>5s}%) ".format(str(x+1)+":",percentages[x],expected_percentages[x]))
main() | def open_file():
"""Remember to put a docstring here"""
while True:
file_name = input('Input a file name: ')
try:
fp = open(file_name)
break
except FileNotFoundError:
print('Unable to open file. Please try again.')
continue
return fp
def main():
count = [0 for i in range(9)]
percentages = [0 for i in range(9)]
expected_percentages = ['30.1', '17.6', '12.5', '9.7', '7.9', '6.7', '5.8', '5.1', '4.6']
fp = open_file()
for line in fp:
line = line.strip()
try:
number = int(line)
except (TypeError, ValueError):
pass
try:
number = int(str(line[0]))
except ValueError:
pass
index = number - 1
count[index] += 1
line_count = sum(count)
print('Digit Percent Benford')
for x in range(len(count)):
percentages[x] = count[x] / line_count * 100
print('{:3s} {:>10.1f}% ({:>5s}%) '.format(str(x + 1) + ':', percentages[x], expected_percentages[x]))
main() |
#
# https://projecteuler.net/problem=4
#
# Largest palindrome product
# Problem 4
#
# A palindromic number reads the same both ways.
# The largest palindrome made from the product of two 2-digits numers is 9009 = 91 x 99.
# Find the largest palindrome made from the product of two 3-digit numbers.
# Solution
def reverse(a_string):
new_string = ''
index = len(a_string)
while index:
index -= 1 # index = index - 1
new_string += a_string[index] # new_string = new_string + character
return new_string
def isPalindrome(value):
s = str(value)
# return s == s[::-1] #It is not valid in Micro Python
return s == reverse(s)
def problem(limit):
maxPalindrome = 0
for x in range(limit):
for y in range(limit):
value = x * y
if isPalindrome(value):
if (value > maxPalindrome):
# print(value)
maxPalindrome = value
return maxPalindrome
# Asserts
print(reverse("demo") == "omed")
print(isPalindrome(9008) == False)
print(isPalindrome(9009) == True)
print(problem(100) == 9009)
# print(problem(1000) == 906609) #Computational issues for TI-84
| def reverse(a_string):
new_string = ''
index = len(a_string)
while index:
index -= 1
new_string += a_string[index]
return new_string
def is_palindrome(value):
s = str(value)
return s == reverse(s)
def problem(limit):
max_palindrome = 0
for x in range(limit):
for y in range(limit):
value = x * y
if is_palindrome(value):
if value > maxPalindrome:
max_palindrome = value
return maxPalindrome
print(reverse('demo') == 'omed')
print(is_palindrome(9008) == False)
print(is_palindrome(9009) == True)
print(problem(100) == 9009) |
class ItemModel:
def __init__(self):
self.vowels = ['A', 'E', 'I', 'O', 'U']
self.rare_letters = ['X', 'J']
self.other_letters = ['B', 'C', 'D', 'F', 'G', 'H',
'K', 'L', 'M', 'N', 'P', 'Q',
'R', 'S', 'T', 'V', 'W', 'Y', 'Z']
self.items = [
{"id": 1, "name": "A", 'costs': {'amount': 1}, "affects": {}},
{"id": 2, "name": "B", 'costs': {'amount': 1}, "affects": {}},
{"id": 3, "name": "C", 'costs': {'amount': 1}, "affects": {}},
{"id": 4, "name": "D", 'costs': {'amount': 1}, "affects": {}},
{"id": 5, "name": "E", 'costs': {'amount': 1}, "affects": {}},
{"id": 6, "name": "F", 'costs': {'amount': 1}, "affects": {}},
{"id": 7, "name": "G", 'costs': {'amount': 1}, "affects": {}},
{"id": 8, "name": "H", 'costs': {'amount': 1}, "affects": {}},
{"id": 9, "name": "I", 'costs': {'amount': 1}, "affects": {}},
{"id": 10, "name": "J", 'costs': {'amount': 1}, "affects": {}},
{"id": 11, "name": "K", 'costs': {'amount': 1}, "affects": {}},
{"id": 12, "name": "L", 'costs': {'amount': 1}, "affects": {}},
{"id": 13, "name": "M", 'costs': {'amount': 1}, "affects": {}},
{"id": 14, "name": "N", 'costs': {'amount': 1}, "affects": {}},
{"id": 15, "name": "O", 'costs': {'amount': 1}, "affects": {}},
{"id": 16, "name": "P", 'costs': {'amount': 1}, "affects": {}},
{"id": 17, "name": "Q", 'costs': {'amount': 1}, "affects": {}},
{"id": 18, "name": "R", 'costs': {'amount': 1}, "affects": {}},
{"id": 19, "name": "S", 'costs': {'amount': 1}, "affects": {}},
{"id": 20, "name": "T", 'costs': {'amount': 1}, "affects": {}},
{"id": 21, "name": "U", 'costs': {'amount': 1}, "affects": {}},
{"id": 22, "name": "V", 'costs': {'amount': 1}, "affects": {}},
{"id": 23, "name": "W", 'costs': {'amount': 1}, "affects": {}},
{"id": 24, "name": "X", 'costs': {'amount': 1}, "affects": {}},
{"id": 25, "name": "Y", 'costs': {'amount': 1}, "affects": {}},
{"id": 26, "name": "Z", 'costs': {'amount': 1}, "affects": {}}
]
| class Itemmodel:
def __init__(self):
self.vowels = ['A', 'E', 'I', 'O', 'U']
self.rare_letters = ['X', 'J']
self.other_letters = ['B', 'C', 'D', 'F', 'G', 'H', 'K', 'L', 'M', 'N', 'P', 'Q', 'R', 'S', 'T', 'V', 'W', 'Y', 'Z']
self.items = [{'id': 1, 'name': 'A', 'costs': {'amount': 1}, 'affects': {}}, {'id': 2, 'name': 'B', 'costs': {'amount': 1}, 'affects': {}}, {'id': 3, 'name': 'C', 'costs': {'amount': 1}, 'affects': {}}, {'id': 4, 'name': 'D', 'costs': {'amount': 1}, 'affects': {}}, {'id': 5, 'name': 'E', 'costs': {'amount': 1}, 'affects': {}}, {'id': 6, 'name': 'F', 'costs': {'amount': 1}, 'affects': {}}, {'id': 7, 'name': 'G', 'costs': {'amount': 1}, 'affects': {}}, {'id': 8, 'name': 'H', 'costs': {'amount': 1}, 'affects': {}}, {'id': 9, 'name': 'I', 'costs': {'amount': 1}, 'affects': {}}, {'id': 10, 'name': 'J', 'costs': {'amount': 1}, 'affects': {}}, {'id': 11, 'name': 'K', 'costs': {'amount': 1}, 'affects': {}}, {'id': 12, 'name': 'L', 'costs': {'amount': 1}, 'affects': {}}, {'id': 13, 'name': 'M', 'costs': {'amount': 1}, 'affects': {}}, {'id': 14, 'name': 'N', 'costs': {'amount': 1}, 'affects': {}}, {'id': 15, 'name': 'O', 'costs': {'amount': 1}, 'affects': {}}, {'id': 16, 'name': 'P', 'costs': {'amount': 1}, 'affects': {}}, {'id': 17, 'name': 'Q', 'costs': {'amount': 1}, 'affects': {}}, {'id': 18, 'name': 'R', 'costs': {'amount': 1}, 'affects': {}}, {'id': 19, 'name': 'S', 'costs': {'amount': 1}, 'affects': {}}, {'id': 20, 'name': 'T', 'costs': {'amount': 1}, 'affects': {}}, {'id': 21, 'name': 'U', 'costs': {'amount': 1}, 'affects': {}}, {'id': 22, 'name': 'V', 'costs': {'amount': 1}, 'affects': {}}, {'id': 23, 'name': 'W', 'costs': {'amount': 1}, 'affects': {}}, {'id': 24, 'name': 'X', 'costs': {'amount': 1}, 'affects': {}}, {'id': 25, 'name': 'Y', 'costs': {'amount': 1}, 'affects': {}}, {'id': 26, 'name': 'Z', 'costs': {'amount': 1}, 'affects': {}}] |
#-*-coding:utf-8-*-
def bmi(w, h):
bmi = (w/(h**2))*10000.0
if bmi<15.0 :
str = "VSU"
elif bmi<16.0:
str = "SUN"
elif bmi<18.5:
str = "UND"
elif bmi<25.0:
str = "NOR"
elif bmi<30.0:
str = "OVE"
elif bmi<35.0:
str = "MOV"
elif bmi<40.0:
str = "SOV"
else:
str = "VSO"
return str
def main():
weight = float(input())
height = float(input())
print(bmi(weight, height))
if __name__ == '__main__':
main() | def bmi(w, h):
bmi = w / h ** 2 * 10000.0
if bmi < 15.0:
str = 'VSU'
elif bmi < 16.0:
str = 'SUN'
elif bmi < 18.5:
str = 'UND'
elif bmi < 25.0:
str = 'NOR'
elif bmi < 30.0:
str = 'OVE'
elif bmi < 35.0:
str = 'MOV'
elif bmi < 40.0:
str = 'SOV'
else:
str = 'VSO'
return str
def main():
weight = float(input())
height = float(input())
print(bmi(weight, height))
if __name__ == '__main__':
main() |
class P:
def __init__( self, name, alias ):
self.name = name # public
self.__alias = alias # private
def who(self):
print('name : ', self.name)
print('alias : ', self.__alias)
class X:
def __init__( self, x ):
self.set_x( x )
def get_x( self ):
return self.__x
def set_x( self, x ):
if x > 1000:
self.__x = 1000
elif x < 0:
self.__x = 0
else:
self.__x = x
class Y:
def __init__( self, x ):
self.x = x # self.x is now the @x.setter
@property
def x( self ):
return self.__x # this is a private variable
@x.setter
def x( self, x ):
if x > 1000:
self.__x = 1000
elif x < 0:
self.__x = 0
else:
self.__x = x
class S:
def __init__( self, name ):
self.name = name
def __repr__( self ):
return f'{self.__dict__}'
def __str__( self ):
return f'Name: {self.name}'
def __add__( self, other ):
return S(f'{self.name} {other.name}')
class Deck:
def __init__( self, cards ):
self.cards = list( cards )
def __getitem__( self, key ):
return self.cards[key]
def __repr__( self ):
return f'{self.__dict__}'
p = P('Claus', 'clbo')
p.who()
print( p.__dict__ )
print( p._P__alias )
p._P__alias = 'wow'
print ( p._P__alias )
x1 = X( 3 )
x2 = X( 50 )
x1.set_x( x1.get_x() + x2.get_x() )
print ( x1.get_x() )
y1 = Y( 10 )
y2 = Y( 15 )
print( y1.__dict__ )
print ( y1.x )
y1.x = y1.x + y2.x
print ( y1.x )
y1._Y__x = -10
print( y1.x )
s1 = S( "Cristian" )
s2 = S( "Valentin" )
s3 = s1.__add__( s2 )
print( s3 )
d1 = Deck( ["K", "A", 2, 3] )
print( d1 )
print ( d1[0] ) | class P:
def __init__(self, name, alias):
self.name = name
self.__alias = alias
def who(self):
print('name : ', self.name)
print('alias : ', self.__alias)
class X:
def __init__(self, x):
self.set_x(x)
def get_x(self):
return self.__x
def set_x(self, x):
if x > 1000:
self.__x = 1000
elif x < 0:
self.__x = 0
else:
self.__x = x
class Y:
def __init__(self, x):
self.x = x
@property
def x(self):
return self.__x
@x.setter
def x(self, x):
if x > 1000:
self.__x = 1000
elif x < 0:
self.__x = 0
else:
self.__x = x
class S:
def __init__(self, name):
self.name = name
def __repr__(self):
return f'{self.__dict__}'
def __str__(self):
return f'Name: {self.name}'
def __add__(self, other):
return s(f'{self.name} {other.name}')
class Deck:
def __init__(self, cards):
self.cards = list(cards)
def __getitem__(self, key):
return self.cards[key]
def __repr__(self):
return f'{self.__dict__}'
p = p('Claus', 'clbo')
p.who()
print(p.__dict__)
print(p._P__alias)
p._P__alias = 'wow'
print(p._P__alias)
x1 = x(3)
x2 = x(50)
x1.set_x(x1.get_x() + x2.get_x())
print(x1.get_x())
y1 = y(10)
y2 = y(15)
print(y1.__dict__)
print(y1.x)
y1.x = y1.x + y2.x
print(y1.x)
y1._Y__x = -10
print(y1.x)
s1 = s('Cristian')
s2 = s('Valentin')
s3 = s1.__add__(s2)
print(s3)
d1 = deck(['K', 'A', 2, 3])
print(d1)
print(d1[0]) |
class search:
def __init__():
pass
def ParseSearch(request):
tab = {}
if request.len > 0:
pass
pass
def search(request):
pass
| class Search:
def __init__():
pass
def parse_search(request):
tab = {}
if request.len > 0:
pass
pass
def search(request):
pass |
a = int(input())
b = int(input())
c = int(input())
mul = str(a * b * c)
for i in range(0, 10):
count = 0
for j in mul:
if i == int(j):
count += 1
print(count)
| a = int(input())
b = int(input())
c = int(input())
mul = str(a * b * c)
for i in range(0, 10):
count = 0
for j in mul:
if i == int(j):
count += 1
print(count) |
#User function Template for python3
# https://gitlab.com/pranav/my-sprints/-/snippets/2215721
'''
Input:
a = 5, b = 5, x = 11, # dest = (5, 5), x = 11
Output:
0
|
- R -
|
(-1) * x1 + 1 * x2 = a
(-1) * y1 + 1 * y2 = b
x1 + x2 + y1 + y2 = x
TC: O(1)
SC: O(1)
---
Exponential TC algorithm: O(1 + 4 + 4^2 + ... + 4^x), SC: O(4^x)
1. Start from 0, 0
2. For each direction posibility:
2.1. Do BFS
2.2. If we touch a,b at any leaf node(after x moves), return 1 else return 0
to_visit.push([0, 0])
step = 0
while(step < x):
queue_len = len(to_visit) # number of nodes at this level to be visited
id = 0
while(id < queue_len):
start = to_visit.pop(0)
next_1 = [start[0], start[1] + 1]
next_2 = [start[0], start[1] - 1]
next_3 = [start[0] + 1, start[1]]
next_4 = [start[0] - 1, start[1]]
to_visit.push(next_1)
to_visit.push(next_2)
to_visit.push(next_3)
to_visit.push(next_4)
id += 1
step += 1
while to_visit:
element = to_visit.pop()
if (element[0] == a and element[1] == b):
return 1
else:
continue
return 0
---
(a + b) mod x == 0
---
try solving this in 1D: given x units, and 0 starting point, each movement is +1 or -1
given (a, x) return true or false: if a % 2 == 0 and x > a, check x % a == 0, return true else false
if a % 2 == 1 and x > a, check x % a == 1 return true
'''
class Solution:
def canReachBFS(self, a, b, x):
to_visit = []
to_visit.append([0, 0])
step = 0
while(step < x):
queue_len = len(to_visit) # number of nodes at this level to be visited
id = 0
while(id < queue_len):
start = to_visit.pop(0)
next_1 = [start[0], start[1] + 1]
next_2 = [start[0], start[1] - 1]
next_3 = [start[0] + 1, start[1]]
next_4 = [start[0] - 1, start[1]]
to_visit.append(next_1)
to_visit.append(next_2)
to_visit.append(next_3)
to_visit.append(next_4)
id += 1
step += 1
while to_visit:
element = to_visit.pop()
if (element[0] == a and element[1] == b):
return 1
else:
continue
return 0
def canReach(self, a, b, x): # Final solution, TC: O(1), SC: O(1)
# code here
sum_ab = abs(a) + abs(b)
if x < sum_ab: # sanity check
return 0
if sum_ab % 2 == x % 2: # (0,0, 8)->1, (0, 0, 7)-> 0
return 1
else:
return 0
#{
# Driver Code Starts
#Initial Template for Python 3
if __name__ == '__main__':
t = int (input ())
for _ in range (t):
a,b,x=map(int,input().split())
ob = Solution()
print(ob.canReach(a,b,x))
# } Driver Code Ends
| """
Input:
a = 5, b = 5, x = 11, # dest = (5, 5), x = 11
Output:
0
|
- R -
|
(-1) * x1 + 1 * x2 = a
(-1) * y1 + 1 * y2 = b
x1 + x2 + y1 + y2 = x
TC: O(1)
SC: O(1)
---
Exponential TC algorithm: O(1 + 4 + 4^2 + ... + 4^x), SC: O(4^x)
1. Start from 0, 0
2. For each direction posibility:
2.1. Do BFS
2.2. If we touch a,b at any leaf node(after x moves), return 1 else return 0
to_visit.push([0, 0])
step = 0
while(step < x):
queue_len = len(to_visit) # number of nodes at this level to be visited
id = 0
while(id < queue_len):
start = to_visit.pop(0)
next_1 = [start[0], start[1] + 1]
next_2 = [start[0], start[1] - 1]
next_3 = [start[0] + 1, start[1]]
next_4 = [start[0] - 1, start[1]]
to_visit.push(next_1)
to_visit.push(next_2)
to_visit.push(next_3)
to_visit.push(next_4)
id += 1
step += 1
while to_visit:
element = to_visit.pop()
if (element[0] == a and element[1] == b):
return 1
else:
continue
return 0
---
(a + b) mod x == 0
---
try solving this in 1D: given x units, and 0 starting point, each movement is +1 or -1
given (a, x) return true or false: if a % 2 == 0 and x > a, check x % a == 0, return true else false
if a % 2 == 1 and x > a, check x % a == 1 return true
"""
class Solution:
def can_reach_bfs(self, a, b, x):
to_visit = []
to_visit.append([0, 0])
step = 0
while step < x:
queue_len = len(to_visit)
id = 0
while id < queue_len:
start = to_visit.pop(0)
next_1 = [start[0], start[1] + 1]
next_2 = [start[0], start[1] - 1]
next_3 = [start[0] + 1, start[1]]
next_4 = [start[0] - 1, start[1]]
to_visit.append(next_1)
to_visit.append(next_2)
to_visit.append(next_3)
to_visit.append(next_4)
id += 1
step += 1
while to_visit:
element = to_visit.pop()
if element[0] == a and element[1] == b:
return 1
else:
continue
return 0
def can_reach(self, a, b, x):
sum_ab = abs(a) + abs(b)
if x < sum_ab:
return 0
if sum_ab % 2 == x % 2:
return 1
else:
return 0
if __name__ == '__main__':
t = int(input())
for _ in range(t):
(a, b, x) = map(int, input().split())
ob = solution()
print(ob.canReach(a, b, x)) |
#!/usr/bin/python3
n = int(input())
_ = input()
for i in range(n):
a = int(input())
print(a*(i+1))
| n = int(input())
_ = input()
for i in range(n):
a = int(input())
print(a * (i + 1)) |
class NanometerPixelConverter:
def __init__(self, pitch_nm: float):
self._pitch_nm = pitch_nm
def to_pixel(self, value_nm: float) -> int:
return int(value_nm / self._pitch_nm)
def to_nm(self, value_pixel: int) -> float:
return value_pixel * self._pitch_nm
| class Nanometerpixelconverter:
def __init__(self, pitch_nm: float):
self._pitch_nm = pitch_nm
def to_pixel(self, value_nm: float) -> int:
return int(value_nm / self._pitch_nm)
def to_nm(self, value_pixel: int) -> float:
return value_pixel * self._pitch_nm |
# 399-evaluate-division.py
#
# Copyright (C) 2019 Sang-Kil Park <likejazz@gmail.com>
# All rights reserved.
#
# This software may be modified and distributed under the terms
# of the BSD license. See the LICENSE file for details.
class Solution:
def calcEquation(self, equations: List[List[str]], values: List[float], queries: List[List[str]]) -> List[float]:
# Make bidirectional skeleton graph.
graph = {e[0]: [] for e in equations}
graph.update({e[1]: [] for e in equations})
for k, v in enumerate(equations):
graph[v[0]].append({v[1]: values[k]})
graph[v[1]].append({v[0]: 1 / values[k]})
answers = []
def dfs(fr, to, answer) -> bool:
if fr not in graph:
return False
if fr == to:
answers.append(answer)
return True
# Calculate multiplication via graph order.
while graph[fr]:
to_list = graph[fr].pop()
key = list(to_list.keys())[0]
answer *= to_list[key]
if dfs(key, to, answer):
return True
answer /= to_list[key]
return False
for q in queries:
graph_backup = copy.deepcopy(graph)
# Start dfs to find two variables given.
if not dfs(q[0], q[1], answer=1):
answers.append(-1)
graph = graph_backup
return answers
| class Solution:
def calc_equation(self, equations: List[List[str]], values: List[float], queries: List[List[str]]) -> List[float]:
graph = {e[0]: [] for e in equations}
graph.update({e[1]: [] for e in equations})
for (k, v) in enumerate(equations):
graph[v[0]].append({v[1]: values[k]})
graph[v[1]].append({v[0]: 1 / values[k]})
answers = []
def dfs(fr, to, answer) -> bool:
if fr not in graph:
return False
if fr == to:
answers.append(answer)
return True
while graph[fr]:
to_list = graph[fr].pop()
key = list(to_list.keys())[0]
answer *= to_list[key]
if dfs(key, to, answer):
return True
answer /= to_list[key]
return False
for q in queries:
graph_backup = copy.deepcopy(graph)
if not dfs(q[0], q[1], answer=1):
answers.append(-1)
graph = graph_backup
return answers |
def a_kv(n):
return n*n*(-1)**n
def sumkv(n):
return sum(map(a_kv, range(1, n+1)))
def mysum(n):
if (n % 2) == 0:
k = n / 2
print(2*k*k+k)
else:
k = (n+1) / 2
print(-2*k*k+k)
print(sumkv(1))
print(sumkv(2))
print(sumkv(3))
print(sumkv(4))
mysum(1)
mysum(2)
mysum(3)
mysum(4)
| def a_kv(n):
return n * n * (-1) ** n
def sumkv(n):
return sum(map(a_kv, range(1, n + 1)))
def mysum(n):
if n % 2 == 0:
k = n / 2
print(2 * k * k + k)
else:
k = (n + 1) / 2
print(-2 * k * k + k)
print(sumkv(1))
print(sumkv(2))
print(sumkv(3))
print(sumkv(4))
mysum(1)
mysum(2)
mysum(3)
mysum(4) |
"Utilities for generating starlark source code"
def _to_list_attr(list, indent_count = 0, indent_size = 4, quote_value = True):
if not list:
return "[]"
tab = " " * indent_size
indent = tab * indent_count
result = "["
for v in list:
val = "\"{}\"".format(v) if quote_value else v
result += "\n%s%s%s," % (indent, tab, val)
result += "\n%s]" % indent
return result
def _to_dict_attr(dict, indent_count = 0, indent_size = 4, quote_key = True, quote_value = True):
if not len(dict):
return "{}"
tab = " " * indent_size
indent = tab * indent_count
result = "{"
for k, v in dict.items():
key = "\"{}\"".format(k) if quote_key else k
val = "\"{}\"".format(v) if quote_value else v
result += "\n%s%s%s: %s," % (indent, tab, key, val)
result += "\n%s}" % indent
return result
def _to_dict_list_attr(dict, indent_count = 0, indent_size = 4, quote_key = True):
if not len(dict):
return "{}"
tab = " " * indent_size
indent = tab * indent_count
result = "{"
for k, v in dict.items():
key = "\"{}\"".format(k) if quote_key else k
result += "\n%s%s%s: %s," % (indent, tab, key, v)
result += "\n%s}" % indent
return result
starlark_codegen_utils = struct(
to_list_attr = _to_list_attr,
to_dict_attr = _to_dict_attr,
to_dict_list_attr = _to_dict_list_attr,
)
| """Utilities for generating starlark source code"""
def _to_list_attr(list, indent_count=0, indent_size=4, quote_value=True):
if not list:
return '[]'
tab = ' ' * indent_size
indent = tab * indent_count
result = '['
for v in list:
val = '"{}"'.format(v) if quote_value else v
result += '\n%s%s%s,' % (indent, tab, val)
result += '\n%s]' % indent
return result
def _to_dict_attr(dict, indent_count=0, indent_size=4, quote_key=True, quote_value=True):
if not len(dict):
return '{}'
tab = ' ' * indent_size
indent = tab * indent_count
result = '{'
for (k, v) in dict.items():
key = '"{}"'.format(k) if quote_key else k
val = '"{}"'.format(v) if quote_value else v
result += '\n%s%s%s: %s,' % (indent, tab, key, val)
result += '\n%s}' % indent
return result
def _to_dict_list_attr(dict, indent_count=0, indent_size=4, quote_key=True):
if not len(dict):
return '{}'
tab = ' ' * indent_size
indent = tab * indent_count
result = '{'
for (k, v) in dict.items():
key = '"{}"'.format(k) if quote_key else k
result += '\n%s%s%s: %s,' % (indent, tab, key, v)
result += '\n%s}' % indent
return result
starlark_codegen_utils = struct(to_list_attr=_to_list_attr, to_dict_attr=_to_dict_attr, to_dict_list_attr=_to_dict_list_attr) |
def init():
global originlist, ellipselist, adjmatrix, adjcoordinates, valcount,num,dim,iterate, primA
adjmatrix = [] # the adjmatrix is the list of edges that being created
adjcoordinates = []; # the adjval gives the dimension coordinates (for plotting for the nth point)
valcount = -1; # valcount keeps the number of the value of the point being added to the adjacency tree
primA = [] #primA stores the terms for the primary axis. The one to traverse along on the first iteration
iterate = 100 #Number of slices to cover the ellipsoid in nD space
num = 0;
dim = 0;
| def init():
global originlist, ellipselist, adjmatrix, adjcoordinates, valcount, num, dim, iterate, primA
adjmatrix = []
adjcoordinates = []
valcount = -1
prim_a = []
iterate = 100
num = 0
dim = 0 |
def add_numbers(numbers):
result = 0
for i in numbers:
result += i
#print("number =", i)
return result
result = add_numbers([1, 2, 30, 4, 5, 9])
print(result)
| def add_numbers(numbers):
result = 0
for i in numbers:
result += i
return result
result = add_numbers([1, 2, 30, 4, 5, 9])
print(result) |
target_number = 0
increment = 0
while target_number == 0:
sum1 = 0
increment += 1
for j in range(1, increment):
sum1 += j
factors = 0
for k in range(1, int(sum1**.5)+1):
if sum1 % k == 0:
factors += 1
factors = factors * 2
if factors > 500:
target_number = sum1
print(target_number) # 76576500 | target_number = 0
increment = 0
while target_number == 0:
sum1 = 0
increment += 1
for j in range(1, increment):
sum1 += j
factors = 0
for k in range(1, int(sum1 ** 0.5) + 1):
if sum1 % k == 0:
factors += 1
factors = factors * 2
if factors > 500:
target_number = sum1
print(target_number) |
# Jun - Dangerous Hide-and-Seek : Neglected Rocky Mountain (931000001)
if "exp1=1" not in sm.getQRValue(23007):
sm.sendNext("Eep! You found me.")
sm.sendSay("Eh, I wanted to go further into the wagon, but my head wouldn't fit.")
sm.sendSay("Did you find Ulrika and Von yet? Von is really, really good at hiding.\r\n\r\n\r\n\r\n#fUI/UIWindow2.img/QuestIcon/8/0# 5 exp")
sm.giveExp(5)
sm.addQRValue(23007, "exp1=1")
else:
sm.sendNext("Did you find Ulrika and Von yet? Von is really, really good at hiding.")
| if 'exp1=1' not in sm.getQRValue(23007):
sm.sendNext('Eep! You found me.')
sm.sendSay("Eh, I wanted to go further into the wagon, but my head wouldn't fit.")
sm.sendSay('Did you find Ulrika and Von yet? Von is really, really good at hiding.\r\n\r\n\r\n\r\n#fUI/UIWindow2.img/QuestIcon/8/0# 5 exp')
sm.giveExp(5)
sm.addQRValue(23007, 'exp1=1')
else:
sm.sendNext('Did you find Ulrika and Von yet? Von is really, really good at hiding.') |
# Create a program that asks the user to enter their name and their age.
# Print out a message addressed to them that tells them the year that they will turn 100 years old.
print("Insert your name")
name = input()
print("Insert yor age")
age_str = input()
age_int = int(age_str)
print(f"{name}, you will be {age_int+100} years old in 100 years") | print('Insert your name')
name = input()
print('Insert yor age')
age_str = input()
age_int = int(age_str)
print(f'{name}, you will be {age_int + 100} years old in 100 years') |
def find_player(matrix):
for r in range(len(matrix)):
for c in range(len(matrix)):
if matrix[r][c] == 'P':
return r, c
def check_valid_cell(size, r, c):
return 0 <= r < size and 0 <= c < size
string = input()
size = int(input())
field = [list(input()) for _ in range(size)]
m = int(input())
pr, pc = find_player(field)
deltas = {'up': (-1, 0), 'down': (1, 0), 'left': (0, -1), 'right': (0, 1)}
for _ in range(m):
command = input()
next_r, next_c = pr + deltas[command][0], pc + deltas[command][1]
if check_valid_cell(size, next_r, next_c):
if field[next_r][next_c] != '-':
string += field[next_r][next_c]
field[next_r][next_c] = 'P'
field[pr][pc] = '-'
pr, pc = next_r, next_c
else:
if len(string) > 0:
string = string[:-1]
print(string)
for row in field:
print(''.join(row))
| def find_player(matrix):
for r in range(len(matrix)):
for c in range(len(matrix)):
if matrix[r][c] == 'P':
return (r, c)
def check_valid_cell(size, r, c):
return 0 <= r < size and 0 <= c < size
string = input()
size = int(input())
field = [list(input()) for _ in range(size)]
m = int(input())
(pr, pc) = find_player(field)
deltas = {'up': (-1, 0), 'down': (1, 0), 'left': (0, -1), 'right': (0, 1)}
for _ in range(m):
command = input()
(next_r, next_c) = (pr + deltas[command][0], pc + deltas[command][1])
if check_valid_cell(size, next_r, next_c):
if field[next_r][next_c] != '-':
string += field[next_r][next_c]
field[next_r][next_c] = 'P'
field[pr][pc] = '-'
(pr, pc) = (next_r, next_c)
elif len(string) > 0:
string = string[:-1]
print(string)
for row in field:
print(''.join(row)) |
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 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()) |
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) |
# 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 |
#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) |
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 |
# 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': ''} |
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)) |
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 |
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)) |
# 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__() |
#
# 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) |
# -*- 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 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)) |
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 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])) |
# 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 |
'''
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) |
# 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 |
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 |
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 = '' |
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 |
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) |
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' |
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' |
person='abc'
video_source_number=0
thresholds=[.9,.85,.85,.85,.85,.95,.9]
extra_thresholds=[.85,.85,.85,.85]
#select the image widow and press w,s,a,d keys while running the script and looking in appropriate direction to change threshold
tsrf=True
#if true only image of eye will be processed may increase accuracy
mode=False
print_frame_rate=False
print_additive_average_frame_rate=False
cursor_speed=3
auto_correct_threshold=False
auto_correct_left_pixel_limit=.5
auto_correct_right_pixel_limit=.5
auto_correct_up_pixel_limit=.5
auto_correct_down_pixel_limit=.5
delay_after_dclick_or_enable=.1
threshold_correction_rate=.01
auto_threshold_correct_rate=.01
brightness_correction=False
#brightness_correction doesnt work well
show_left_eye=True
show_left_eyebrow=True
landmarks=[['bros',17,21,19,'1122'],['eye',36,39,37,40],['eye',36,39,37,40],['eye',36,39,37,40],['eye',36,39,37,40],['eye',36,39,37,40],['eye',42,45,43,46]]
data=['bros','up','down','left','right','dclick','r_close']
color=[[0,0,0],[0,50,100],[100,50,0],[100,150,200],[200,150,100],[200,0,0],[0,0,0]]
extra_colors=[[0,50,100],[100,50,0],[100,150,200],[200,150,100]]
correct=['e','u','d','l','r','c','m']
steps=['raise your left eyebrow','look up','look down','look left','look right','close left eye','close right eye']
if tsrf==False and brightness_correction==True:
brightness_correction=False
print("brightness correction can't work with tsrf disabled as it takes cropped image from tensorflow and makes its average brightness equal to data")
print("turning off brightness correction")
if tsrf==False and mode==True:
mode==False;print('2 modes only when tsrf enabled') | person = 'abc'
video_source_number = 0
thresholds = [0.9, 0.85, 0.85, 0.85, 0.85, 0.95, 0.9]
extra_thresholds = [0.85, 0.85, 0.85, 0.85]
tsrf = True
mode = False
print_frame_rate = False
print_additive_average_frame_rate = False
cursor_speed = 3
auto_correct_threshold = False
auto_correct_left_pixel_limit = 0.5
auto_correct_right_pixel_limit = 0.5
auto_correct_up_pixel_limit = 0.5
auto_correct_down_pixel_limit = 0.5
delay_after_dclick_or_enable = 0.1
threshold_correction_rate = 0.01
auto_threshold_correct_rate = 0.01
brightness_correction = False
show_left_eye = True
show_left_eyebrow = True
landmarks = [['bros', 17, 21, 19, '1122'], ['eye', 36, 39, 37, 40], ['eye', 36, 39, 37, 40], ['eye', 36, 39, 37, 40], ['eye', 36, 39, 37, 40], ['eye', 36, 39, 37, 40], ['eye', 42, 45, 43, 46]]
data = ['bros', 'up', 'down', 'left', 'right', 'dclick', 'r_close']
color = [[0, 0, 0], [0, 50, 100], [100, 50, 0], [100, 150, 200], [200, 150, 100], [200, 0, 0], [0, 0, 0]]
extra_colors = [[0, 50, 100], [100, 50, 0], [100, 150, 200], [200, 150, 100]]
correct = ['e', 'u', 'd', 'l', 'r', 'c', 'm']
steps = ['raise your left eyebrow', 'look up', 'look down', 'look left', 'look right', 'close left eye', 'close right eye']
if tsrf == False and brightness_correction == True:
brightness_correction = False
print("brightness correction can't work with tsrf disabled as it takes cropped image from tensorflow and makes its average brightness equal to data")
print('turning off brightness correction')
if tsrf == False and mode == True:
mode == False
print('2 modes only when tsrf enabled') |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.