Initial commit
This commit is contained in:
Executable
+16
@@ -0,0 +1,16 @@
|
||||
std::cout << "AtomicActivity4:" << std::endl
|
||||
<< "\tif2cond: " << sin->if2cond.getValue() << std::endl
|
||||
<< "\tif2value: " << sin->if2value.getValue() << std::endl;
|
||||
if (!sin->if2cond.getValue()) {
|
||||
#include <sstream>
|
||||
std::stringstream ss;
|
||||
ss << "Test Failure: if2cond [" << sin->if2cond.getValue() << "] is not true.";
|
||||
throw wfr::exception::wfr_fatal_error(ss.str());
|
||||
}
|
||||
if (sin->if2value.getValue() != -1) {
|
||||
#include <sstream>
|
||||
std::stringstream ss;
|
||||
ss << "Test Failure: if2Value [" << sin->if2value.getValue() << "] is not -1.";
|
||||
throw wfr::exception::wfr_fatal_error(ss.str());
|
||||
}
|
||||
sout->if2valueOut.setValue(4);
|
||||
Reference in New Issue
Block a user