Actually check the TSINIT value in TuningTests.cpp
This commit is contained in:
parent
98adf5a536
commit
b47324e42f
@ -228,8 +228,7 @@ BOOST_AUTO_TEST_CASE(TuningTest) {
|
||||
|
||||
BOOST_CHECK(event.hasEvent(ScheduleEvents::TUNING_CHANGE));
|
||||
std::optional<double> TSINIT = tuning.TSINIT;
|
||||
BOOST_CHECK(TSINIT.has_value());
|
||||
//BOOST_CHECK_CLOSE(TSINIT.value(), 2 * Metric::Time, diff);
|
||||
BOOST_CHECK_CLOSE(TSINIT.value(), 2 * Metric::Time, diff);
|
||||
|
||||
BOOST_CHECK_CLOSE(schedule[timeStep].max_next_tstep(), 5*Metric::Time, diff);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user