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.

12 lines
383 B

  1. class TestCore:
  2. def test_init(self):
  3. import stormpy
  4. def test_pycarl(self):
  5. import stormpy
  6. rational = stormpy.Rational(0.25)
  7. assert str(rational) == "1/4"
  8. pol1 = stormpy.FactorizedPolynomial(32)
  9. pol2 = stormpy.FactorizedPolynomial(2)
  10. rat = stormpy.FactorizedRationalFunction(pol1, pol2)
  11. assert str(rat) == "16"