17 lines
635 B
Plaintext
Executable File
17 lines
635 B
Plaintext
Executable File
std::cout << "AtomicActivity6:" << std::endl
|
|
<< "\tif3cond: " << sin->if3cond.getValue() << std::endl
|
|
<< "\tif3value: " << sin->if3value.getValue() << std::endl;
|
|
if (sin->if3cond.getValue()) {
|
|
#include <sstream>
|
|
std::stringstream ss;
|
|
ss << "Test Failure: if3cond [" << sin->if3cond.getValue() << "] is not false.";
|
|
throw wfr::exception::wfr_fatal_error(ss.str());
|
|
}
|
|
if (sin->if3value.getValue() != -1) {
|
|
#include <sstream>
|
|
std::stringstream ss;
|
|
ss << "Test Failure: if3Value [" << sin->if3value.getValue() << "] is not -1.";
|
|
throw wfr::exception::wfr_fatal_error(ss.str());
|
|
}
|
|
sout->if3valueOut.setValue(6);
|