17 lines
635 B
Plaintext
Executable File
17 lines
635 B
Plaintext
Executable File
std::cout << "AtomicActivity3:" << 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 false.";
|
|
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(3);
|