Workaround to avoid failing tests, also fixed some tab indenting.

This commit is contained in:
Vegard Kippe
2023-08-25 13:32:29 +02:00
parent 128ba83810
commit 98adf5a536
9 changed files with 22 additions and 15 deletions

View File

@@ -101,13 +101,12 @@ BOOST_AUTO_TEST_CASE(TuningTest) {
{
size_t timestep = 4;
const auto& event = schedule[timestep].events();
// Because NEXTSTEP is persistent a tuning event is triggered at each report step
// Because NEXTSTEP is persistent a tuning event is triggered at each report step
BOOST_CHECK(event.hasEvent(ScheduleEvents::TUNING_CHANGE));
const auto& tuning = schedule[timestep].tuning();
std::optional<double> TSINIT_default = tuning.TSINIT;
BOOST_CHECK(TSINIT_default == std::nullopt);
// BOOST_CHECK_CLOSE(TSINIT_default, 1 * Metric::Time, diff);
BOOST_CHECK_CLOSE(schedule[timestep].max_next_tstep(), 5*Metric::Time, diff);