Browse Source

Check storm version

refactoring
Matthias Volk 7 years ago
parent
commit
039427b541
  1. 3
      tests/info/test_info.py

3
tests/info/test_info.py

@ -7,3 +7,6 @@ class TestInfo:
assert isinstance(stormpy.info.Version.short, str) and "." in stormpy.info.Version.short assert isinstance(stormpy.info.Version.short, str) and "." in stormpy.info.Version.short
assert isinstance(stormpy.info.Version.long, str) and "Version" in stormpy.info.Version.long assert isinstance(stormpy.info.Version.long, str) and "Version" in stormpy.info.Version.long
assert isinstance(stormpy.info.Version.build_info, str) and "Compiled" in stormpy.info.Version.build_info assert isinstance(stormpy.info.Version.build_info, str) and "Compiled" in stormpy.info.Version.build_info
def test_version_equal(self):
assert stormpy.info.Version.short == stormpy.info.storm_version()
Loading…
Cancel
Save