def test_get_fast_start_method_error(): with pytest.raises(ValueError): _get_fast_start_method("wrong_input")
def test_get_fast_start_method_jacobian(): res = _get_fast_start_method("jacobian") assert res == (True, False)
def test_get_fast_start_method_trust(): res = _get_fast_start_method("trustregion") assert res == (False, True)
def test_get_fast_start_method_auto(): res = _get_fast_start_method("auto") assert res == (None, None)