You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
435 B

  1. import stormpy
  2. import stormpy.logic
  3. from helpers.helper import get_example_path
  4. import pytest
  5. class TestJani:
  6. def test_information_collection(self):
  7. model, properties = stormpy.parse_jani_model(get_example_path("dtmc", "brp.jani"))
  8. information = stormpy.collect_information(model)
  9. assert information.nr_automata == 5
  10. assert information.nr_edges == 31
  11. assert information.nr_variables == 18