Skip to content

Commit

Permalink
End-to-end BC tests : remove call to giveWeigthOnlyToYear(...) where …
Browse files Browse the repository at this point in the history
…it's not needed (we only run 1 MC year)
  • Loading branch information
guilpier-code committed Jul 24, 2023
1 parent 48a12c3 commit 2d35f4f
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,6 @@ BOOST_AUTO_TEST_CASE(Hourly_BC_restricts_link_direct_capacity_to_90)
bcGroupScenarioBuilder.yearGetsTSnumber(BC->group(), 0, 0);

simulation->create();
giveWeigthOnlyToYear(0);
simulation->run();

unsigned int hour = 0;
Expand Down Expand Up @@ -454,7 +453,6 @@ BOOST_AUTO_TEST_CASE(weekly_BC_restricts_link_direct_capacity_to_50)
bcGroupScenarioBuilder.yearGetsTSnumber(BC->group(), 0, 0);

simulation->create();
giveWeigthOnlyToYear(0);
simulation->run();

unsigned int week = 0;
Expand Down Expand Up @@ -483,7 +481,6 @@ BOOST_AUTO_TEST_CASE(daily_BC_restricts_link_direct_capacity_to_60)
bcGroupScenarioBuilder.yearGetsTSnumber(BC->group(), 0, 0);

simulation->create();
giveWeigthOnlyToYear(0);
simulation->run();

unsigned int day = 0;
Expand Down Expand Up @@ -511,7 +508,6 @@ BOOST_AUTO_TEST_CASE(Hourly_BC_restricts_link_direct_capacity_to_less_than_90)
bcGroupScenarioBuilder.yearGetsTSnumber(BC->group(), 0, 0);

simulation->create();
giveWeigthOnlyToYear(0);
simulation->run();

unsigned int hour = 100;
Expand All @@ -538,7 +534,6 @@ BOOST_AUTO_TEST_CASE(Daily_BC_restricts_link_direct_capacity_to_greater_than_80)
bcGroupScenarioBuilder.yearGetsTSnumber(BC->group(), 0, 0);

simulation->create();
giveWeigthOnlyToYear(0);
simulation->run();

unsigned int hour = 100;
Expand Down Expand Up @@ -570,7 +565,6 @@ BOOST_AUTO_TEST_CASE(Hourly_BC_restricts_cluster_generation_to_90)
bcGroupScenarioBuilder.yearGetsTSnumber(BC->group(), 0, 0);

simulation->create();
giveWeigthOnlyToYear(0);
simulation->run();

unsigned int hour = 10;
Expand Down

0 comments on commit 2d35f4f

Please sign in to comment.