diff --git a/src/test/storm-dft/api/DftParserTest.cpp b/src/test/storm-dft/api/DftParserTest.cpp index 05edb5b73..2744254a4 100644 --- a/src/test/storm-dft/api/DftParserTest.cpp +++ b/src/test/storm-dft/api/DftParserTest.cpp @@ -26,8 +26,11 @@ namespace { STORM_SILENT_EXPECT_THROW(storm::api::loadDFTGalileoFile(file), storm::exceptions::WrongFormatException); } - TEST(DftParserTest, CatchSeqChildren) { + TEST(DftParserTest, LoadSeqChildren) { std::string file = STORM_TEST_RESOURCES_DIR "/dft/seqChild.dft"; - STORM_SILENT_EXPECT_THROW(storm::api::loadDFTGalileoFile(file), storm::exceptions::WrongFormatException); + std::shared_ptr> dft = storm::api::loadDFTGalileoFile(file); + EXPECT_EQ(4ul, dft->nrElements()); + EXPECT_EQ(2ul, dft->nrBasicElements()); + EXPECT_TRUE(storm::api::isWellFormed(*dft).first); } }