Browse Source

Added test cases

Former-commit-id: c9ea2edfff
tempestpy_adaptions
Mavo 9 years ago
parent
commit
0ed3714c90
  1. 1
      stormpy/tests/.gitignore
  2. 7
      stormpy/tests/core/test_parse.py
  3. 9
      stormpy/tests/expressions/test_expressions.py
  4. 8
      stormpy/tests/info/test_info.py
  5. 6
      stormpy/tests/logic/test_formulas.py

1
stormpy/tests/.gitignore

@ -0,0 +1 @@
__pycache__

7
stormpy/tests/core/test_parse.py

@ -0,0 +1,7 @@
import stormpy
class TestParse:
def test_parse_program(self):
# Fix!!!
#s = stormpy.parse_program("../../examples/dtmc/die/die.pm")
pass

9
stormpy/tests/expressions/test_expressions.py

@ -0,0 +1,9 @@
import stormpy
from stormpy.expressions import expressions
class TestExpressions:
def test_expression_manager(self):
manager = expressions.ExpressionManager
def test_expression(self):
expression = expressions.Expression

8
stormpy/tests/info/test_info.py

@ -0,0 +1,8 @@
import stormpy
from stormpy.info import info
class TestInfo:
def test_version(self):
s = info.Version.short()
s = info.Version.long()
s = info.Version.build_info()

6
stormpy/tests/logic/test_formulas.py

@ -0,0 +1,6 @@
import stormpy
from stormpy.logic import logic
class TestFormulas:
def test_formula(self):
formula = logic.Formula
Loading…
Cancel
Save