Browse Source
Fixed usage of missing operator<< for permissive scheduler tests
tempestpy_adaptions
Tim Quatmann
4 years ago
No known key found for this signature in database
GPG Key ID: 6EDE19592731EEC3
2 changed files with
6 additions and
6 deletions
-
src/test/storm/permissiveschedulers/MilpPermissiveSchedulerTest.cpp
-
src/test/storm/permissiveschedulers/SmtPermissiveSchedulerTest.cpp
|
|
@ -38,14 +38,14 @@ TEST(MilpPermissiveSchedulerTest, DieSelection) { |
|
|
|
std::shared_ptr<storm::models::sparse::Mdp<double>> mdp = storm::builder::ExplicitModelBuilder<double>(program, options).build()->as<storm::models::sparse::Mdp<double>>(); |
|
|
|
|
|
|
|
boost::optional<storm::ps::SubMDPPermissiveScheduler<>> perms = storm::ps::computePermissiveSchedulerViaMILP<>(*mdp, formula02); |
|
|
|
EXPECT_NE(perms, boost::none); |
|
|
|
EXPECT_TRUE(perms.is_initialized()); |
|
|
|
boost::optional<storm::ps::SubMDPPermissiveScheduler<>> perms2 = storm::ps::computePermissiveSchedulerViaMILP<>(*mdp, formula001); |
|
|
|
EXPECT_EQ(perms2, boost::none); |
|
|
|
EXPECT_FALSE(perms2.is_initialized()); |
|
|
|
|
|
|
|
boost::optional<storm::ps::SubMDPPermissiveScheduler<>> perms3 = storm::ps::computePermissiveSchedulerViaMILP<>(*mdp, formula02b); |
|
|
|
EXPECT_EQ(perms3, boost::none); |
|
|
|
EXPECT_FALSE(perms3.is_initialized()); |
|
|
|
boost::optional<storm::ps::SubMDPPermissiveScheduler<>> perms4 = storm::ps::computePermissiveSchedulerViaMILP<>(*mdp, formula001b); |
|
|
|
EXPECT_NE(perms4, boost::none); |
|
|
|
EXPECT_TRUE(perms4.is_initialized()); |
|
|
|
|
|
|
|
storm::modelchecker::SparseMdpPrctlModelChecker<storm::models::sparse::Mdp<double>> checker0(*mdp); |
|
|
|
|
|
|
@ -40,9 +40,9 @@ TEST(SmtPermissiveSchedulerTest, DieSelection) { |
|
|
|
// EXPECT_EQ(perms2, boost::none);
|
|
|
|
|
|
|
|
boost::optional<storm::ps::SubMDPPermissiveScheduler<>> perms3 = storm::ps::computePermissiveSchedulerViaSMT<>(*mdp, formula02b); |
|
|
|
EXPECT_NE(perms3, boost::none); |
|
|
|
EXPECT_TRUE(perms3.is_initialized()); |
|
|
|
boost::optional<storm::ps::SubMDPPermissiveScheduler<>> perms4 = storm::ps::computePermissiveSchedulerViaSMT<>(*mdp, formula001b); |
|
|
|
EXPECT_EQ(perms4, boost::none); |
|
|
|
EXPECT_FALSE(perms4.is_initialized()); |
|
|
|
|
|
|
|
storm::modelchecker::SparseMdpPrctlModelChecker<storm::models::sparse::Mdp<double>> checker0(*mdp); |
|
|
|
|
|
|
|