|
@ -16,6 +16,8 @@ class TestModel: |
|
|
instantiated_model = instantiator.instantiate(point) |
|
|
instantiated_model = instantiator.instantiate(point) |
|
|
assert instantiated_model.nr_states == model.nr_states |
|
|
assert instantiated_model.nr_states == model.nr_states |
|
|
assert not instantiated_model.has_parameters |
|
|
assert not instantiated_model.has_parameters |
|
|
|
|
|
assert "0.4" in str(instantiated_model.transition_matrix[1]) |
|
|
|
|
|
|
|
|
point = {p: 0.5 for p in parameters} |
|
|
point = {p: 0.5 for p in parameters} |
|
|
instantiated_model2 = instantiator.instantiate(point) |
|
|
instantiated_model2 = instantiator.instantiate(point) |
|
|
|
|
|
assert "0.5" in str(instantiated_model2.transition_matrix[1]) |