def main():
        for relationalFunc in relational_func_list:
                dstTypes = relationalFunc[0]
                srcCount = relationalFunc[1]
                relationalFuncLiteral = relationalFunc[2 + srcCount]
                for dataTypeIdx in range(len(dstTypes)):
                        dst = []
                        src = []
                        dst.append(dstTypes[dataTypeIdx])
                        for idx in range(srcCount):
                                srcTypes = relationalFunc[2 + idx]
                                src.append(srcTypes[dataTypeIdx])
                        obj = unitTestFunc(src, dst, relationalFuncLiteral)
                        obj.dumpAll("../test/relational/")
def main():
        for mathFinc in math_func_list:
                dstTypes = mathFinc[0]
                srcCount = mathFinc[1]
                mathFincLiteral = mathFinc[2 + srcCount]
                for dataTypeIdx in range(len(dstTypes)):
                        dst = []
                        src = []
                        dst.append(dstTypes[dataTypeIdx])
                        for idx in range(srcCount):
                                srcTypes = mathFinc[2 + idx]
                                src.append(srcTypes[dataTypeIdx])
                        obj = unitTestFunc(src, dst, mathFincLiteral)
                        obj.dumpAll("../test/math/")
Example #3
0
def main():
        for integerFinc in integer_func_list:
                dstTypes = integerFinc[0]
                srcCount = integerFinc[1]
                integerFincLiteral = integerFinc[2 + srcCount]
                for dataTypeIdx in range(len(dstTypes)):
                        dst = []
                        src = []
                        dst.append(dstTypes[dataTypeIdx])
                        for idx in range(srcCount):
                                srcTypes = integerFinc[2 + idx]
                                src.append(srcTypes[dataTypeIdx])
                        obj = unitTestFunc(src, dst, integerFincLiteral)
                        obj.dumpAll("../test/integer/")
def main():
    for relationalFunc in relational_func_list:
        dstTypes = relationalFunc[0]
        srcCount = relationalFunc[1]
        relationalFuncLiteral = relationalFunc[2 + srcCount]
        for dataTypeIdx in range(len(dstTypes)):
            dst = []
            src = []
            dst.append(dstTypes[dataTypeIdx])
            for idx in range(srcCount):
                srcTypes = relationalFunc[2 + idx]
                src.append(srcTypes[dataTypeIdx])
            obj = unitTestFunc(src, dst, relationalFuncLiteral)
            obj.dumpAll("../test/relational/")
def main():

        for commonFunc in common_func_list:
                dstTypes = commonFunc[0]
                srcCount = commonFunc[1]
                commonFuncLiteral = commonFunc[2 + srcCount]
                for dataTypeIdx in range(len(dstTypes)):
                        dst = []
                        src = []
                        dst.append(dstTypes[dataTypeIdx])
                        for idx in range(srcCount):
                                srcTypes = commonFunc[2 + idx]
                                src.append(srcTypes[dataTypeIdx])
                        obj = unitTestFunc(src, dst, commonFuncLiteral)
                        obj.dumpAll("../test/common/")
Example #6
0
def main():

    for commonFunc in common_func_list:
        dstTypes = commonFunc[0]
        srcCount = commonFunc[1]
        commonFuncLiteral = commonFunc[2 + srcCount]
        for dataTypeIdx in range(len(dstTypes)):
            dst = []
            src = []
            dst.append(dstTypes[dataTypeIdx])
            for idx in range(srcCount):
                srcTypes = commonFunc[2 + idx]
                src.append(srcTypes[dataTypeIdx])
            obj = unitTestFunc(src, dst, commonFuncLiteral)
            obj.dumpAll("../test/common/")