Example #1
0
def test_get_fast_start_method_error():
    with pytest.raises(ValueError):
        _get_fast_start_method("wrong_input")
Example #2
0
def test_get_fast_start_method_jacobian():
    res = _get_fast_start_method("jacobian")
    assert res == (True, False)
Example #3
0
def test_get_fast_start_method_trust():
    res = _get_fast_start_method("trustregion")
    assert res == (False, True)
Example #4
0
def test_get_fast_start_method_auto():
    res = _get_fast_start_method("auto")
    assert res == (None, None)