Skip to content
Snippets Groups Projects
Commit 53608fef authored by Pospelov, Gennady's avatar Pospelov, Gennady
Browse files

Commented debug output

parent ab2aade4
No related branches found
No related tags found
No related merge requests found
...@@ -16,15 +16,15 @@ void TestFunctionalTests::execute() ...@@ -16,15 +16,15 @@ void TestFunctionalTests::execute()
test->runTest(); test->runTest();
test->analyseResults(); test->analyseResults();
double diff = OutputDataFunctions::GetDifference(*test->getResult(), *test->getReference()); // double diff = OutputDataFunctions::GetDifference(*test->getResult(), *test->getReference());
std::cout << "XXX " << diff << std::endl; // std::cout << "XXX " << diff << std::endl;
for(size_t j=0; j<test->getResult()->getAllocatedSize(); ++j) { // for(size_t j=0; j<test->getResult()->getAllocatedSize(); ++j) {
std::cout << "AAA " << j << " " << (*test->getResult())[j] // std::cout << "AAA " << j << " " << (*test->getResult())[j]
<< " " << (*test->getReference())[j] // << " " << (*test->getReference())[j]
<< " diff:" << ((*test->getResult())[j] - (*test->getReference())[j])/(*test->getReference())[j] // << " diff:" << ((*test->getResult())[j] - (*test->getReference())[j])/(*test->getReference())[j]
<< std::endl; // << std::endl;
} // }
IsGISAXSTools::drawOutputDataComparisonResults( *test->getResult(), IsGISAXSTools::drawOutputDataComparisonResults( *test->getResult(),
*test->getReference(), test->getName(), test->getDescription()); *test->getReference(), test->getName(), test->getDescription());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment