renamed main generator funcs to gen_func

This commit is contained in:
lukew3
2021-10-07 00:14:39 -04:00
parent 8de110346d
commit 3d3cc2dcc6
114 changed files with 363 additions and 363 deletions

View File

@@ -1,7 +1,7 @@
from .__init__ import *
def BCDtoDecimalFunc(maxNumber=10000, format='string'):
def gen_func(maxNumber=10000, format='string'):
n = random.randint(1000, maxNumber)
binstring = ''
while True:
@@ -26,4 +26,4 @@ def BCDtoDecimalFunc(maxNumber=10000, format='string'):
bcd_to_decimal = Generator("Binary Coded Decimal to Integer", 91,
BCDtoDecimalFunc, ["maxNumber=10000"])
gen_func, ["maxNumber=10000"])