def main ():
    f = ECMFactoriser()
    f.set_time_bound(TIME_BOUND)
    
    curves = 1000000
    f.set_number_of_curves(curves)
    generic_factoring_test(TEST_SET_FILEPATH,
        BASE_RESULTS_PATH + "curves_" + str(curves) + ".txt", f)
def addition_bound_factoring_test ():
    f = ECMFactoriser()
    f.set_time_bound(TIME_BOUND)
    
    for b1 in [10**i for i in range(2, 8)]:
        f.set_addition_bound(b1)
        generic_factoring_test(TEST_SET_FILEPATH,
            BASE_RESULTS_PATH + "bound_" + str(b1) + ".txt", f)
def curve_factoring_test ():
    f = ECMFactoriser()
    f.set_time_bound(TIME_BOUND)
    
    for curves in [10**i for i in range(7)]:
        f.set_number_of_curves(curves)
        generic_factoring_test(TEST_SET_FILEPATH,
            BASE_RESULTS_PATH + "curves_" + str(curves) + ".txt", f)
def plain_factoring_test ():
    f = ECMFactoriser()
    f.set_time_bound(TIME_BOUND)

    generic_factoring_test(TEST_SET_FILEPATH,
        BASE_RESULTS_PATH + "factoring_results.txt", f)