1#include "storm-config.h"
23#ifndef STORM_HAVE_CUDD
24 GTEST_SKIP() <<
"Library CUDD not available.";
35#ifndef STORM_HAVE_SYLVAN
36 GTEST_SKIP() <<
"Library Sylvan not available.";
47#ifndef STORM_HAVE_SYLVAN
48 GTEST_SKIP() <<
"Library Sylvan not available.";
56template<
typename TestType>
64#ifndef STORM_HAVE_MATHSAT
65 GTEST_SKIP() <<
"MathSAT not available.";
67 TestType::checkLibraryAvailable();
76 typedef typename TestFixture::ValueType ValueType;
78 auto checker = std::make_shared<storm::gbar::modelchecker::GameBasedMdpModelChecker<DdType, storm::models::symbolic::Dtmc<DdType, ValueType>>>(program);
86 std::unique_ptr<storm::modelchecker::CheckResult> result = checker->check(task);
92 formula = formulaParser.parseSingleFormulaFromString(
"P=? [F \"two\"]");
95 result = checker->check(task);
101 formula = formulaParser.parseSingleFormulaFromString(
"P=? [F \"three\"]");
104 result = checker->check(task);
113 typedef typename TestFixture::ValueType ValueType;
120 auto checker = std::make_shared<storm::gbar::modelchecker::GameBasedMdpModelChecker<DdType, storm::models::symbolic::Dtmc<DdType, ValueType>>>(program);
125 std::unique_ptr<storm::modelchecker::CheckResult> result = checker->check(task);
TYPED_TEST(GameBasedDtmcModelCheckerTest, Die)
TYPED_TEST_SUITE(GameBasedDtmcModelCheckerTest, TestingTypes,)
static void checkLibraryAvailable()
static const storm::dd::DdType DdType
TestType::ValueType ValueType
static const storm::dd::DdType DdType
storm::RationalNumber ValueType
static void checkLibraryAvailable()
static const storm::dd::DdType DdType
static const storm::dd::DdType DdType
static void checkLibraryAvailable()
ExplicitQuantitativeCheckResult< ValueType > & asExplicitQuantitativeCheckResult()
A quantitative check result over the states of a sparse model.
static storm::prism::Program parse(std::string const &filename, bool prismCompatability=false)
Parses the given file into the PRISM storage classes assuming it complies with the PRISM syntax.
Program substituteConstantsFormulas(bool substituteConstants=true, bool substituteFormulas=true) const
Substitutes all constants and/or formulas appearing in the expressions of the program by their defini...
SettingsType const & getModule()
Get module.
TargetType convertNumber(SourceType const &number)
::testing::Types< Cudd, Sylvan > TestingTypes