diff --git a/src/test/storm/permissiveschedulers/MilpPermissiveSchedulerTest.cpp b/src/test/storm/permissiveschedulers/MilpPermissiveSchedulerTest.cpp index 3c756d283..10b5b5dab 100644 --- a/src/test/storm/permissiveschedulers/MilpPermissiveSchedulerTest.cpp +++ b/src/test/storm/permissiveschedulers/MilpPermissiveSchedulerTest.cpp @@ -38,14 +38,14 @@ TEST(MilpPermissiveSchedulerTest, DieSelection) { std::shared_ptr> mdp = storm::builder::ExplicitModelBuilder(program, options).build()->as>(); boost::optional> perms = storm::ps::computePermissiveSchedulerViaMILP<>(*mdp, formula02); - EXPECT_NE(perms, boost::none); + EXPECT_TRUE(perms.is_initialized()); boost::optional> perms2 = storm::ps::computePermissiveSchedulerViaMILP<>(*mdp, formula001); - EXPECT_EQ(perms2, boost::none); + EXPECT_FALSE(perms2.is_initialized()); boost::optional> perms3 = storm::ps::computePermissiveSchedulerViaMILP<>(*mdp, formula02b); - EXPECT_EQ(perms3, boost::none); + EXPECT_FALSE(perms3.is_initialized()); boost::optional> perms4 = storm::ps::computePermissiveSchedulerViaMILP<>(*mdp, formula001b); - EXPECT_NE(perms4, boost::none); + EXPECT_TRUE(perms4.is_initialized()); storm::modelchecker::SparseMdpPrctlModelChecker> checker0(*mdp); diff --git a/src/test/storm/permissiveschedulers/SmtPermissiveSchedulerTest.cpp b/src/test/storm/permissiveschedulers/SmtPermissiveSchedulerTest.cpp index 0553c691c..ca0fe3345 100644 --- a/src/test/storm/permissiveschedulers/SmtPermissiveSchedulerTest.cpp +++ b/src/test/storm/permissiveschedulers/SmtPermissiveSchedulerTest.cpp @@ -40,9 +40,9 @@ TEST(SmtPermissiveSchedulerTest, DieSelection) { // EXPECT_EQ(perms2, boost::none); boost::optional> perms3 = storm::ps::computePermissiveSchedulerViaSMT<>(*mdp, formula02b); - EXPECT_NE(perms3, boost::none); + EXPECT_TRUE(perms3.is_initialized()); boost::optional> perms4 = storm::ps::computePermissiveSchedulerViaSMT<>(*mdp, formula001b); - EXPECT_EQ(perms4, boost::none); + EXPECT_FALSE(perms4.is_initialized()); storm::modelchecker::SparseMdpPrctlModelChecker> checker0(*mdp);