Skip to content

Commit

Permalink
Fix add some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pavll committed Jul 25, 2021
1 parent f0cebb2 commit ca08831
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/cfe_testcase/src/time_conversion_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,10 @@ void TestConvertMicroSeconds2SubSeconds(void)
// convert
SUB = CFE_TIME_Micro2SubSecs(MS);

// manually convert example micro-seconds into OS_time_t
TimeMS = OS_TimeAssembleFromNanoseconds(0, MS * 1000);

// get sub-seconds form TimeMS and compare with SUB
UtAssert_True(OS_TimeGetSubsecondsPart(TimeMS) == SUB, "micro-seconds (%zu) = Micro2SubSecs (%zu)", MS, SUB);
}

Expand Down

0 comments on commit ca08831

Please sign in to comment.