Initial commit
This commit is contained in:
Executable
+16
@@ -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);
|
||||
Reference in New Issue
Block a user