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.
|
|
import pytest
import stormpy._config as config
# Skip not supported functionality has_xml = config.storm_with_xerces has_dft = config.storm_with_dft has_gspn = config.storm_with_gspn has_pars = config.storm_with_pars
# Check if numpy is available try: import numpy
has_numpy = True except ImportError: has_numpy = False
xml = pytest.mark.skipif(not has_xml, reason="No support for XML via xerces") dft = pytest.mark.skipif(not has_dft, reason="No support for DFTs") gspn = pytest.mark.skipif(not has_gspn, reason="No support for GSPNs") pars = pytest.mark.skipif(not has_pars, reason="No support for parametric model checking") numpy_avail = pytest.mark.skipif(not has_numpy, reason="Numpy not available")
|