Files
2017-04-11 15:49:55 +02:00

10 lines
342 B
Plaintext
Executable File

std::cout << "AtomicActivity1:" << 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 true.";
throw wfr::exception::wfr_fatal_error(ss.str());
}
sout->output.setValue(10);