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