std::cout << "wfOutput:" << std::endl << "\tglobalOut1: " << wfOutput.globalOut1.getValue() << std::endl; if (!wfOutput.globalOut1.getValue()) { std::stringstream ss; ss << "Test Failure: globalOut1 [" << wfOutput.globalOut1.getValue() << "] is not true."; throw wfr::exception::wfr_fatal_error(ss.str()); } if (wfOutput.globalOut2.getSize() != wfInput.iterationCount.getValue()) { #include std::stringstream ss; ss << "Test Failure: globalOut2 collection size [" << wfOutput.globalOut2.getSize() << "] is not equal iterationCount [" << wfInput.iterationCount.getValue() << "]."; throw wfr::exception::wfr_fatal_error(ss.str()); } std::cout << "\tglobalOut2: [ "; bool isFirst = true; for (wfr_id_t t = 0; t < wfOutput.globalOut2.getSize(); t++) { if (wfOutput.globalOut2.getEntryValue(t) != t+1) { #include std::stringstream ss; ss << "Test Failure: globalOut2 collection value index [" << t << "] does not have correct value [" << wfOutput.globalOut2.getEntryValue(t)<< "]."; throw wfr::exception::wfr_fatal_error(ss.str()); } if (isFirst) { isFirst = false; } else { std::cout << ", "; } std::cout << wfOutput.globalOut2.getEntryValue(t); } std::cout << " ]" << std::endl;