Initial commit

This commit is contained in:
Matthias
2017-04-11 15:49:55 +02:00
commit 3d8f381bae
106 changed files with 4407 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
std::cout << "AtomicActivity2:" << std::endl
<< "\titerCount: " << sin->iterCount.getValue() << std::endl
<< "\tin1: " << sin->in1.getValue() << std::endl
<< "\tin3: " << sin->in3.getValue() << std::endl
<< "\tin4: " << sin->in4.getValue() << std::endl;
if (sin->iterCount.getValue() <= 0) {
std::stringstream ss;
ss << "Test Failure: iterCount [" << sin->iterCount.getValue() << "] is not greater than zero.";
throw wfr::exception::wfr_fatal_error(ss.str());
}
if (sin->iterCount.getValue()+1 != sin->in1.getValue()) {
std::stringstream ss;
ss << "Test Failure: in1 [" << sin->in1.getValue() << "] is not equal iterCount+1.";
throw wfr::exception::wfr_fatal_error(ss.str());
}
if (sin->iterCount.getValue()+1 != sin->in3.getValue()) {
std::stringstream ss;
ss << "Test Failure: in3 [" << sin->in3.getValue() << "] is not equal iterCount+1.";
throw wfr::exception::wfr_fatal_error(ss.str());
}
if (sin->iterCount.getValue()+1 != sin->in4.getValue()) {
std::stringstream ss;
ss << "Test Failure: in4 [" << sin->in4.getValue() << "] is not equal iterCount+1.";
throw wfr::exception::wfr_fatal_error(ss.str());
}
sout->out1.setValue(sin->in1.getValue());
sout->out2 = sin->in2;
sout->isOK.setValue(true);