This commit is contained in:
Matthias
2017-07-24 16:37:13 +02:00
parent 3d8f381bae
commit 6c3a14afc8
14 changed files with 266 additions and 2 deletions
+16
View File
@@ -0,0 +1,16 @@
std::cout << "AtomicActivity2:" << std::endl
<< "\tif1cond: " << sin->if1cond.getValue() << std::endl
<< "\tif1value: " << sin->if1Value.getValue() << std::endl;
if (!sin->if1cond.getValue()) {
#include <sstream>
std::stringstream ss;
ss << "Test Failure: if1cond [" << sin->if1cond.getValue() << "] is not true.";
throw wfr::exception::wfr_fatal_error(ss.str());
}
if (sin->if1Value.getValue() != -1) {
#include <sstream>
std::stringstream ss;
ss << "Test Failure: if1Value [" << sin->if1Value.getValue() << "] is not -1.";
throw wfr::exception::wfr_fatal_error(ss.str());
}
sout->if1ValueOut.setValue(2);