Exemple #1
0
def test_state_update(linear_argus_model_instance):
    state = State(linear_argus_model_instance.test_step, qwerty=42)
    assert state.qwerty == 42
    state.update(asdf=12)
    assert state.asdf == 12
Exemple #2
0
def test_state_update():
    state = State(qwerty=42)
    assert state.qwerty == 42
    state.update(asdf=12)
    assert state.asdf == 12