1#include "storm-config.h"
21#ifndef STORM_HAVE_CUDD
22 GTEST_SKIP() <<
"Library CUDD not available.";
32#ifndef STORM_HAVE_SYLVAN
33 GTEST_SKIP() <<
"Library Sylvan not available.";
40template<
typename TestType>
47#ifndef STORM_HAVE_MATHSAT
48 GTEST_SKIP() <<
"MathSAT not available.";
50 TestType::checkLibraryAvailable();
60 auto checker = std::make_shared<storm::gbar::modelchecker::GameBasedMdpModelChecker<DdType, storm::models::symbolic::Dtmc<DdType>>>(program);
68 std::unique_ptr<storm::modelchecker::CheckResult> result = checker->check(task);
73 formula = formulaParser.parseSingleFormulaFromString(
"P=? [F \"two\"]");
76 result = checker->check(task);
81 formula = formulaParser.parseSingleFormulaFromString(
"P=? [F \"three\"]");
84 result = checker->check(task);
98 auto checker = std::make_shared<storm::gbar::modelchecker::GameBasedMdpModelChecker<DdType, storm::models::symbolic::Dtmc<DdType>>>(program);
103 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
static const storm::dd::DdType DdType
static const storm::dd::DdType DdType
static void checkLibraryAvailable()
ExplicitQuantitativeCheckResult< ValueType > & asExplicitQuantitativeCheckResult()
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.
::testing::Types< Cudd, Sylvan > TestingTypes