Add month_num and year_num members to ScheduleState
This commit is contained in:
@@ -142,6 +142,12 @@ END
|
||||
BOOST_CHECK_MESSAGE(sched.write_rst_file(stepID),
|
||||
"Must write restart information for included step " << stepID);
|
||||
}
|
||||
|
||||
std::vector<std::size_t> month_num{ 0,0,0,0,0, 1, 1, 2, 3, 4, 5, 6, 7, 10, 12, 17, 17, 18, 18 };
|
||||
for (std::size_t index = 0; index < sched.size(); index++) {
|
||||
const auto& state = sched[index];
|
||||
BOOST_CHECK_EQUAL( state.month_num(), month_num[index] );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user