Merge pull request #2765 from akva2/janitoring

remove unused variables
This commit is contained in:
Arne Morten Kvarving 2021-10-19 11:49:55 +02:00 committed by GitHub
commit 648abeef1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -335,7 +335,6 @@ BOOST_AUTO_TEST_CASE(TuningTest) {
{
std::size_t timestep = 8;
const auto& event = schedule[timestep].events();
const auto& tuning = schedule[timestep].tuning();
BOOST_CHECK(event.hasEvent(ScheduleEvents::TUNING_CHANGE));
BOOST_CHECK_CLOSE(schedule[timestep].max_next_tstep(), 10*Metric::Time, diff);
@ -345,7 +344,6 @@ BOOST_AUTO_TEST_CASE(TuningTest) {
{
std::size_t timestep = 9;
const auto& event = schedule[timestep].events();
const auto& tuning = schedule[timestep].tuning();
BOOST_CHECK(event.hasEvent(ScheduleEvents::TUNING_CHANGE));
BOOST_CHECK_CLOSE(schedule[timestep].max_next_tstep(), 2*Metric::Time, diff);