Skip to content

Commit

Permalink
unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
payetvin committed Jul 3, 2024
1 parent ecd3d28 commit 0912ef4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ void createIniFile(bool enabled)
outfile << "withdrawalnominalcapacity = 900.000000" << std::endl;
outfile << "reservoircapacity = 31200.000000" << std::endl;
outfile << "efficiency = 0.75" << std::endl;
outfile << "efficiencyWithdrawal = 0.9" << std::endl;
outfile << "initiallevel = 0.50000" << std::endl;
outfile << "enabled = " << (enabled ? "true" : "false") << std::endl;
outfile.close();
Expand All @@ -134,6 +135,7 @@ void createIniFileWrongValue()
outfile << "withdrawalnominalcapacity = -900.000000" << std::endl;
outfile << "reservoircapacity = -31200.000000" << std::endl;
outfile << "efficiency = 4" << std::endl;
outfile << "efficiencyWithdrawal = -2" << std::endl;
outfile << "initiallevel = -0.50000" << std::endl;

outfile.close();
Expand Down

0 comments on commit 0912ef4

Please sign in to comment.