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.

19 lines
758 B

  1. #include "gtest/gtest.h"
  2. #include "storm-config.h"
  3. #include "src/parser/JaniParser.h"
  4. #include "src/storage/jani/Model.h"
  5. TEST(JaniParser, DieTest) {
  6. std::string testFileInput = STORM_CPP_TESTS_BASE_PATH"/../examples/jani-examples/dice.jani";
  7. storm::jani::Model model = storm::parser::JaniParser::parse(testFileInput);
  8. }
  9. TEST(JaniParser, BrpTest) {
  10. std::string testFileInput = STORM_CPP_TESTS_BASE_PATH"/../examples/jani-examples/brp.jani";
  11. storm::jani::Model model = storm::parser::JaniParser::parse(testFileInput);
  12. }
  13. TEST(JaniParser, ConsensusTest) {
  14. std::string testFileInput = STORM_CPP_TESTS_BASE_PATH"/../examples/jani-examples/consensus-6.jani";
  15. storm::jani::Model model = storm::parser::JaniParser::parse(testFileInput);
  16. }