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

bugfixes in tests. Ref file was missing

parent d4b1f55a
Pipeline #118828 passed with stage
in 12 minutes and 49 seconds
2020-11-20 11:48:45.266038 | ---------------------------- Solver Starts -----------------------------
2020-11-20 11:48:45.266049 | | The simulation will run for 2 iterations.
2020-11-20 11:48:45.266050 | --------------------------------------------------------------
2020-11-20 11:48:45.266051 | | Iter | Mass | RMS flux | VTK out | CSV out |
2020-11-20 11:48:45.266051 | --------------------------------------------------------------
2020-11-20 11:48:45.266291 | | 0 | 1.81599 | 51.8512 | no | yes |
2020-11-20 11:48:45.266510 | | 1 | 1.81599 | 23.8563 | yes | yes |
2020-11-20 11:48:45.267245 | --------------------------------------------------------------
2020-11-20 11:48:45.267251 | | Postprocessing screen output goes here.
2020-11-20 11:48:45.267251 | --------------------------- Solver Finished ----------------------------
......@@ -215,6 +215,8 @@ TEST_CASE( "screen_output", "[output]" ) {
tokenize( line, delimScreen, out );
tokenize( lineRef, delimScreen, outRef );
if( out.size() != outRef.size() ) std::cout << lineRef << "\n" << line << "\n";
REQUIRE( out.size() == outRef.size() ); // Sanity check
for( unsigned idx_token = 1; idx_token < out.size(); idx_token++ ) { // Skip date ==> start from 1
......@@ -241,6 +243,7 @@ TEST_CASE( "screen_output", "[output]" ) {
tokenize( line, delimHist, out );
tokenize( lineRef, delimHist, outRef );
if( out.size() != outRef.size() ) std::cout << lineRef << "\n" << line << "\n";
REQUIRE( out.size() == outRef.size() ); // sanity check
for( unsigned idx_token = 1; idx_token < out.size(); idx_token++ ) { // Skip date ==> start from 1
......
Supports Markdown
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