Browse Source
more test-files included, two small fixes in parser
more test-files included, two small fixes in parser
Former-commit-id: 0e9000c988
tempestpy_adaptions
sjunges
9 years ago
2 changed files with 23 additions and 8 deletions
@ -1,4 +1,20 @@ |
|||
//
|
|||
// Created by Sebastian Junges on 21/05/16.
|
|||
//
|
|||
#include "gtest/gtest.h"
|
|||
#include "storm-config.h"
|
|||
#include "src/parser/JaniParser.h"
|
|||
#include "src/storage/jani/Model.h"
|
|||
|
|||
|
|||
TEST(JaniParser, DieTest) { |
|||
std::string testFileInput = STORM_CPP_TESTS_BASE_PATH"/../examples/jani-examples/dice.jani"; |
|||
storm::jani::Model model = storm::parser::JaniParser::parse(testFileInput); |
|||
} |
|||
|
|||
TEST(JaniParser, BrpTest) { |
|||
std::string testFileInput = STORM_CPP_TESTS_BASE_PATH"/../examples/jani-examples/brp.jani"; |
|||
storm::jani::Model model = storm::parser::JaniParser::parse(testFileInput); |
|||
} |
|||
|
|||
TEST(JaniParser, ConsensusTest) { |
|||
std::string testFileInput = STORM_CPP_TESTS_BASE_PATH"/../examples/jani-examples/consensus-6.jani"; |
|||
storm::jani::Model model = storm::parser::JaniParser::parse(testFileInput); |
|||
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue