|
@ -124,6 +124,6 @@ class TestModelChecking: |
|
|
assert model.nr_transitions == 33 |
|
|
assert model.nr_transitions == 33 |
|
|
assert len(model.initial_states) == 1 |
|
|
assert len(model.initial_states) == 1 |
|
|
initial_state = model.initial_states[0] |
|
|
initial_state = model.initial_states[0] |
|
|
assert initial_state == 0 |
|
|
|
|
|
|
|
|
assert initial_state == 1 |
|
|
result = stormpy.model_checking(model, formulas[0]) |
|
|
result = stormpy.model_checking(model, formulas[0]) |
|
|
assert math.isclose(result.at(initial_state), 4.166666667) |
|
|
assert math.isclose(result.at(initial_state), 4.166666667) |