Skip to content

Commit

Permalink
fix(ci) regenerate test data and fix testfunctions.cpp excecution order
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian.froehlich committed May 9, 2018
1 parent 09b37bf commit 55e2ae9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified tests/cpputest/expectedResults.h5
Binary file not shown.
4 changes: 2 additions & 2 deletions tests/cpputest/testfunctions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ void simulateVerifyWrite(const std::string hdffileOptions, const std::string hdf
// simulate & verify
auto rdata = runAmiciSimulation(*solver, edata.get(), *model);
std::string resultPath = path + "/results";
verifyReturnData(hdffileResults.c_str(), resultPath.c_str(), rdata.get(), model.get(), atol, rtol);


// write
// delete destination group
H5::H5File in(hdffileOptions, H5F_ACC_RDONLY);
Expand All @@ -61,6 +60,7 @@ void simulateVerifyWrite(const std::string hdffileOptions, const std::string hdf
hdf5::writeReturnData(*rdata, out, writePath);

// verify
verifyReturnData(hdffileResults.c_str(), resultPath.c_str(), rdata.get(), model.get(), atol, rtol);
verifyReturnData(hdffilewrite, writePath, rdata.get(), model.get(), atol, rtol);
//remove(hdffilewrite.c_str());
}
Expand Down

0 comments on commit 55e2ae9

Please sign in to comment.