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.

20 lines
447 B

  1. import os
  2. import stormpy
  3. from helpers.helper import get_example_path
  4. from configurations import gspn
  5. @gspn
  6. class TestGSPNBuilder:
  7. def test_build_gspn(self):
  8. # assert True
  9. # builder: ~/storm/src/storm-dft/transformations/DFTToGSPNTransformator.cpp
  10. name = "gspn_test"
  11. builder = stormpy.gspn.GSPNBuilder()
  12. builder.set_name(name)
  13. gspn = builder.build_gspn()
  14. assert gspn.name() == name