The source code and dockerfile for the GSW2024 AI Lab.
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

14 lines
655 B

4 weeks ago
  1. import stormpy
  2. import stormpy.info
  3. class TestInfo:
  4. def test_version(self):
  5. assert isinstance(stormpy.info.Version.short, str) and "." in stormpy.info.Version.short
  6. assert isinstance(stormpy.info.Version.long, str) and "Version" in stormpy.info.Version.long
  7. assert isinstance(stormpy.info.Version.build_info, str) and "Compiled" in stormpy.info.Version.build_info
  8. def test_version_equal(self):
  9. assert stormpy.info.storm_version() in stormpy.info.Version.short
  10. assert (stormpy.info.Version.development and stormpy.info.Version.short.endswith(
  11. " (dev)")) or not stormpy.info.Version.development