Browse Source

small change in FragmentCheckerTest Rpatl

tempestpy_adaptions
Lukas Posch 3 years ago
committed by Stefan Pranger
parent
commit
e1b00dae7a
  1. 5
      src/test/storm/logic/FragmentCheckerTest.cpp

5
src/test/storm/logic/FragmentCheckerTest.cpp

@ -178,9 +178,10 @@ TEST(FragmentCheckerTest, Rpatl) {
storm::parser::FormulaParser formulaParser(expManager); storm::parser::FormulaParser formulaParser(expManager);
std::shared_ptr<storm::logic::Formula const> formula; std::shared_ptr<storm::logic::Formula const> formula;
ASSERT_ANY_THROW(formula = formulaParser.parseSingleFormulaFromString("<<player1>> \"label\""));
// this may be a parsing issue
//ASSERT_ANY_THROW(formula = formulaParser.parseSingleFormulaFromString("<<player1>> \"label\""));
ASSERT_NO_THROW(formula = formulaParser.parseSingleFormulaFromString("<<1>> P=? [F \"label\"]"));
ASSERT_NO_THROW(formula = formulaParser.parseSingleFormulaFromString("<<p1>> P=? [F \"label\"]"));
EXPECT_TRUE(checker.conformsToSpecification(*formula, rpatl)); EXPECT_TRUE(checker.conformsToSpecification(*formula, rpatl));
ASSERT_NO_THROW(formula = formulaParser.parseSingleFormulaFromString("<<1,2>> Pmin=? [ \"label1\" U \"label2\" ]")); ASSERT_NO_THROW(formula = formulaParser.parseSingleFormulaFromString("<<1,2>> Pmin=? [ \"label1\" U \"label2\" ]"));

Loading…
Cancel
Save