def METHOD_NAME():
    """test that the isothr is computed correctly"""
    inputs_1 = [30, 40, 50, 60, 70, 80]
    inputs_2 = [35, 45, 50, 60, 70, 80]  # <- same as inputs_1 as all rounded up to 50
    inputs_3 = [35, 55, 50, 60, 70, 80]
    outputs_1 = isothr(inputs_1)
    outputs_2 = isothr(inputs_2)
    outputs_3 = isothr(inputs_3)
    assert len(inputs_1) == len(outputs_1)
    assert np.all(outputs_1 == outputs_2)  # they should be the same
    assert not np.all(outputs_1 == outputs_3)  # they should be the different
    assert np.sum(outputs_1) == pytest.approx(
        237.52941176470588, rel=pytest.rel_tolerance, abs=pytest.abs_tolerance
    )
    assert np.sum(outputs_2) == pytest.approx(
        237.52941176470588, rel=pytest.rel_tolerance, abs=pytest.abs_tolerance
    )
    assert np.sum(outputs_3) == pytest.approx(
        235.02941176470588, rel=pytest.rel_tolerance, abs=pytest.abs_tolerance
    )