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

9 lines
312 B
Plaintext
Executable File

std::cout << "wfOutput:" << std::endl
<< "\tisOk: " << wfOutput.isOk.getValue() << std::endl;
if (!wfOutput.isOk.getValue()) {
#include <sstream>
std::stringstream ss;
ss << "Test Failure: isOk [" << wfOutput.isOk.getValue() << "] is not true.";
throw wfr::exception::wfr_fatal_error(ss.str());
}