Browse Source

removed deprecated expectation in test

tempestpy_adaptions
Sebastian Junges 8 years ago
parent
commit
d2c658f6c1
  1. 5
      src/test/modelchecker/SparseDtmcRegionModelCheckerTest.cpp

5
src/test/modelchecker/SparseDtmcRegionModelCheckerTest.cpp

@ -139,11 +139,6 @@ TEST(SparseDtmcRegionModelCheckerTest, Brp_Rew) {
dtmcModelchecker->checkRegion(exBothRegion); dtmcModelchecker->checkRegion(exBothRegion);
EXPECT_EQ((storm::modelchecker::region::RegionCheckResult::EXISTSBOTH), exBothRegion.getCheckResult()); EXPECT_EQ((storm::modelchecker::region::RegionCheckResult::EXISTSBOTH), exBothRegion.getCheckResult());
dtmcModelchecker->checkRegion(exBothHardRegion); dtmcModelchecker->checkRegion(exBothHardRegion);
//At this moment, Approximation should not be able to get a result for this region. (However, it is not wrong if it can)
EXPECT_TRUE(
(exBothHardRegion.getCheckResult()==(storm::modelchecker::region::RegionCheckResult::EXISTSBOTH)) ||
(exBothHardRegion.getCheckResult()==(storm::modelchecker::region::RegionCheckResult::EXISTSVIOLATED))
);
dtmcModelchecker->checkRegion(allVioRegion); dtmcModelchecker->checkRegion(allVioRegion);
EXPECT_EQ((storm::modelchecker::region::RegionCheckResult::ALLVIOLATED), allVioRegion.getCheckResult()); EXPECT_EQ((storm::modelchecker::region::RegionCheckResult::ALLVIOLATED), allVioRegion.getCheckResult());

Loading…
Cancel
Save