Skip to content

Commit 424ee10

Browse files
authored
Final comment fixes based on review
1 parent aed0993 commit 424ee10

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/timer_tests.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ TEST_P(TimerTestsFixture, TimeShiftTest) {
122122
cyclus::Timer ti;
123123
cyclus::Context ctx(&ti, &rec);
124124

125+
// Default SimInfo starts in January 2010: year=2010, month=1
125126
ti.Initialize(&ctx, cyclus::SimInfo(5));
126127

127128
int obs = ti.CalcTimeDiff(-1,-1);
@@ -165,7 +166,7 @@ TEST_P(TimerTestsFixture, TimeShiftTest) {
165166
exp = 7 * cyclusMonth / ctx2.dt();
166167
EXPECT_EQ(exp, obs);
167168

168-
// Create and initialize a new timer with a weird non-default timestep
169+
// Create and initialize a new timer with a weird non-default timestep
169170
cyclus::Timer weird_non_default_ti;
170171
cyclus::Context ctx3(&weird_non_default_ti, &rec);
171172
cyclus::SimInfo weird_timestep(5);

0 commit comments

Comments
 (0)