Files
WFR-UnitTests/iwir/coderepo/if1/atomic6.code
T
2017-04-11 15:49:55 +02:00

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);