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.
 
 
 
 
 
 

14 lines
655 B

import stormpy
import stormpy.info
class TestInfo:
def test_version(self):
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.build_info, str) and "Compiled" in stormpy.info.Version.build_info
def test_version_equal(self):
assert stormpy.info.storm_version() in stormpy.info.Version.short
assert (stormpy.info.Version.development and stormpy.info.Version.short.endswith(
" (dev)")) or not stormpy.info.Version.development