def METHOD_NAME():
    wells = {f"PROD{idx}": 0.2 * idx for idx in range(1, 5)}
    wells.update(
        {"INJ": [{"name": f"INJ{idx}", "value": 1 - 0.2 * idx} for idx in range(1, 5)]}
    )
    wells_in = "well_drill.json"
    wells_tmpl = "well_drill_tmpl"
    wells_out = "wells.out"
    with open(wells_in, "w", encoding="utf-8") as fout:
        json.dump(wells, fout)
    with open("parameters.json", "w", encoding="utf-8") as fout:
        json.dump(default_parameters, fout)
    with open(wells_tmpl, "w", encoding="utf-8") as fout:
        fout.write(well_drill_tmpl)
    render_template(wells_in, wells_tmpl, wells_out)
    expected_template_out = [
        "PROD1 takes value 0.2, implying off\n",
        "PROD2 takes value 0.4, implying off\n",
        "----------------------------------\n",
        "INJ1 takes value 0.8, implying on\n",
        "INJ2 takes value 0.6, implying on\n",
        "INJ3 takes value 0.4, implying off\n",
        "INJ4 takes value 0.2, implying off",
    ]
    with open(wells_out, encoding="utf-8") as fin:
        output = fin.readlines()
    assert output == expected_template_out