Commit 212b8232 authored by Steffen Schotthöfer's avatar Steffen Schotthöfer
Browse files

small change since online test does not work


Former-commit-id: ef9808e9
parent aa029ff8
...@@ -318,7 +318,8 @@ TEST_CASE( "Test the Data Generator", "[dataGen]" ) { ...@@ -318,7 +318,8 @@ TEST_CASE( "Test the Data Generator", "[dataGen]" ) {
bool lineValid; bool lineValid;
const char delimHist = ','; const char delimHist = ',';
bool testPassed = true; bool testPassed = true;
bool testPassed1 = true;
// --- History Logger // --- History Logger
unsigned count = 0; unsigned count = 0;
while( !historyLoggerReferenceStream.eof() && !historyLoggerStream.eof() && count < 3 ) { while( !historyLoggerReferenceStream.eof() && !historyLoggerStream.eof() && count < 3 ) {
...@@ -332,7 +333,7 @@ TEST_CASE( "Test the Data Generator", "[dataGen]" ) { ...@@ -332,7 +333,7 @@ TEST_CASE( "Test the Data Generator", "[dataGen]" ) {
if( out.size() != outRef.size() ) { if( out.size() != outRef.size() ) {
std::cout << lineRef << "\n" << line << "\n"; std::cout << lineRef << "\n" << line << "\n";
testPassed = false; testPassed1 = false;
break; break;
} }
...@@ -346,5 +347,6 @@ TEST_CASE( "Test the Data Generator", "[dataGen]" ) { ...@@ -346,5 +347,6 @@ TEST_CASE( "Test the Data Generator", "[dataGen]" ) {
} }
count++; count++;
} }
REQUIRE( testPassed1 );
REQUIRE( testPassed ); REQUIRE( testPassed );
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment