You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
695 B
25 lines
695 B
/*
|
|
* ParseDtmcTest.cpp
|
|
*
|
|
* Created on: 03.12.2012
|
|
* Author: Thomas Heinemann
|
|
*/
|
|
|
|
|
|
#include "gtest/gtest.h"
|
|
#include "storm-config.h"
|
|
#include "src/parser/DeterministicModelParser.h"
|
|
#include "src/utility/IoUtility.h"
|
|
|
|
TEST(ParseDtmcTest, parseAndOutput) {
|
|
storm::parser::DeterministicModelParser* dtmcParser;
|
|
ASSERT_NO_THROW(dtmcParser = new storm::parser::DeterministicModelParser(
|
|
STORM_CPP_TESTS_BASE_PATH "/parser/tra_files/pctl_general_input_01.tra",
|
|
STORM_CPP_TESTS_BASE_PATH "/parser/lab_files/pctl_general_input_01.lab"));
|
|
|
|
ASSERT_NO_THROW(storm::utility::dtmcToDot(*(dtmcParser->getDtmc()), STORM_CPP_TESTS_BASE_PATH "/parser/output.dot"));
|
|
|
|
delete dtmcParser;
|
|
}
|
|
|
|
|