Browse Source

changed path of shielding testfiles

tempestpy_adaptions
Lukas Posch 3 years ago
committed by Stefan Pranger
parent
commit
43b58a65c7
  1. 2
      src/test/storm/modelchecker/prctl/mdp/ShieldGenerationMdpPrctlModelCheckerTest.cpp
  2. 2
      src/test/storm/modelchecker/rpatl/smg/ShieldGenerationSmgRpatlModelCheckerTest.cpp

2
src/test/storm/modelchecker/prctl/mdp/ShieldGenerationMdpPrctlModelCheckerTest.cpp

@ -66,7 +66,7 @@ namespace {
void getStringsToCompare(std::string filename, std::string &shieldingString, std::string &compareFileString) { void getStringsToCompare(std::string filename, std::string &shieldingString, std::string &compareFileString) {
this->convertShieldingFileToString(filename, shieldingString); this->convertShieldingFileToString(filename, shieldingString);
std::string compareFileName = STORM_TEST_RESOURCES_DIR "/mdp-shields/" + filename;
std::string compareFileName = STORM_TEST_RESOURCES_DIR "/shields/mdp-shields/" + filename;
this->convertShieldingFileToString(compareFileName, compareFileString); this->convertShieldingFileToString(compareFileName, compareFileString);
filename += shieldFiletype; filename += shieldFiletype;
std::remove(filename.c_str()); std::remove(filename.c_str());

2
src/test/storm/modelchecker/rpatl/smg/ShieldGenerationSmgRpatlModelCheckerTest.cpp

@ -66,7 +66,7 @@ namespace {
void getStringsToCompare(std::string filename, std::string &shieldingString, std::string &compareFileString) { void getStringsToCompare(std::string filename, std::string &shieldingString, std::string &compareFileString) {
this->convertShieldingFileToString(filename, shieldingString); this->convertShieldingFileToString(filename, shieldingString);
std::string compareFileName = STORM_TEST_RESOURCES_DIR "/smg-shields/" + filename;
std::string compareFileName = STORM_TEST_RESOURCES_DIR "/shields/smg-shields/" + filename;
this->convertShieldingFileToString(compareFileName, compareFileString); this->convertShieldingFileToString(compareFileName, compareFileString);
filename += shieldFiletype; filename += shieldFiletype;
std::remove(filename.c_str()); std::remove(filename.c_str());

Loading…
Cancel
Save