def test_guess_range():

    assert 1 > update_guess(0, 0.3, 0.1, 0.7) > 0
    assert 1 > update_guess(0, 0.01, 0.01, 0.01) > 0
    assert 1 > update_guess(0, 0.49, 0.49, 0.99) > 0
    assert 1 > update_guess(0, 0.01, 0.01, 0.99) > 0
    assert 1 > update_guess(0, 0.49, 0.49, 0.01) > 0
    assert 1 > update_guess(1, 0.3, 0.1, 0.7) > 0
    assert 1 > update_guess(1, 0.01, 0.01, 0.01) > 0
    assert 1 > update_guess(1, 0.49, 0.49, 0.99) > 0
    assert 1 > update_guess(1, 0.01, 0.01, 0.99) > 0
    assert 1 > update_guess(1, 0.49, 0.49, 0.01) > 0
Don't solve; just calculate the residual.
dataset/ETHPy150Open heiskr/sagefy/server/test/test_modules_sequencer_guess_and_slip.py/test_guess_range--crossover with--dataset/ETHPy150Open OpenMDAO/OpenMDAO/examples/implicit_ext_solve.py/SimpleImplicitComp.apply_nonlinear