diff --git a/src/test/storm/builder/ExplicitPrismModelBuilderTest.cpp b/src/test/storm/builder/ExplicitPrismModelBuilderTest.cpp index d7d324112..d645f6ce3 100644 --- a/src/test/storm/builder/ExplicitPrismModelBuilderTest.cpp +++ b/src/test/storm/builder/ExplicitPrismModelBuilderTest.cpp @@ -126,6 +126,20 @@ TEST(ExplicitPrismModelBuilderTest, Ma) { EXPECT_EQ(7ul, model->as>()->getMarkovianStates().getNumberOfSetBits()); } +TEST(ExplicitPrismModelBuilderTest, POMdp) { + storm::prism::Program program = storm::parser::PrismParser::parse(STORM_TEST_RESOURCES_DIR "/pomdp/simple.prism"); + program = storm::utility::prism::preprocess(program, "slippery=0.4"); + std::shared_ptr> model = storm::builder::ExplicitModelBuilder(program).build(); + + program = storm::parser::PrismParser::parse(STORM_TEST_RESOURCES_DIR "/pomdp/maze2.prism"); + program = storm::utility::prism::preprocess(program, "sl=0.4"); + model = storm::builder::ExplicitModelBuilder(program).build(); + + program = storm::parser::PrismParser::parse(STORM_TEST_RESOURCES_DIR "/pomdp/refuel.prism"); + program = storm::utility::prism::preprocess(program, "N=5"); + model = storm::builder::ExplicitModelBuilder(program).build(); +} + TEST(ExplicitPrismModelBuilderTest, FailComposition) { storm::prism::Program program = storm::parser::PrismParser::parse(STORM_TEST_RESOURCES_DIR "/mdp/system_composition.nm");