def main():
    # write message
    tnam = os.path.splitext(os.path.basename(__file__))[0]
    msg = "Running {} test".format(tnam)
    print(msg)

    # get name of current file
    module_name = sys.modules[__name__].__file__

    # determine if test directory exists
    dir_available = is_directory_available(example_basedir)
    if not dir_available:
        return

    # get a list of test models to run
    example_dirs = get_mf5to6_models()

    # run the test models
    for on_dir in example_dirs:
        sim = Simulation(
            on_dir,
            mf6_regression=set_mf6_regression(),
            cmp_verbose=False,
            make_comparison=set_make_comparison(on_dir),
        )
        run_mf5to6(sim)

    return
def test_mf6model(exdir):
    # run the test model
    run_mf6(
        Simulation(
            exdir,
            mf6_regression=set_mf6_regression(),
            cmp_verbose=False,
            make_comparison=set_make_comparison(exdir),
        ))
def test_model(exdir):
    run_mf5to6(
        Simulation(
            exdir,
            mf6_regression=set_mf6_regression(),
            cmp_verbose=False,
            make_comparison=set_make_comparison(exdir),
        ))

    return
def test_model():
    # determine if test directory exists
    dir_available = is_directory_available(example_basedir)
    if not dir_available:
        return

    # get a list of test models to run
    example_dirs = get_mf5to6_models()

    # run the test models
    for on_dir in example_dirs:
        yield run_mf5to6, Simulation(
            on_dir,
            mf6_regression=set_mf6_regression(),
            cmp_verbose=False,
            make_comparison=set_make_comparison(on_dir),
        )

    return
def main():
    # write message
    tnam = os.path.splitext(os.path.basename(__file__))[0]
    msg = "Running {} test".format(tnam)
    print(msg)

    # get a list of test models to run
    example_dirs = get_mf6_models()

    # run the test model
    for on_dir in example_dirs:
        sim = Simulation(
            on_dir,
            mf6_regression=set_mf6_regression(),
            cmp_verbose=False,
            make_comparison=set_make_comparison(on_dir),
        )
        run_mf6(sim)

    return