def METHOD_NAME(prec):
    # set tolerance level depending on whether Enzo-E was compiled with single or
    # double precision
    if prec == "double":
        tolerance = 1.0e-6
    else:
        tolerance = 1.0e-4
    try:
        return test_mmc(tolerance,
                        input_prefix = "Dir",
                        output = "mmc.png")
    except:
        print("Encountered error when trying to test mass and momentum conservation")
        return False