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

10 lines
342 B
Plaintext
Executable File

std::cout << "AtomicActivity2:" << std::endl
<< "\tinput: " << sin->input.getValue() << std::endl;
if (sin->input.getValue()) {
#include <sstream>
std::stringstream ss;
ss << "Test Failure: input [" << sin->input.getValue() << "] is not false.";
throw wfr::exception::wfr_fatal_error(ss.str());
}
sout->output.setValue(-10);