From ca088317a4b88949632413909d0c79b37e5cd945 Mon Sep 17 00:00:00 2001 From: pavll Date: Sun, 25 Jul 2021 22:36:00 +0200 Subject: [PATCH] Fix add some comments --- modules/cfe_testcase/src/time_conversion_test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/cfe_testcase/src/time_conversion_test.c b/modules/cfe_testcase/src/time_conversion_test.c index 48f0b02fc..a586f8e24 100644 --- a/modules/cfe_testcase/src/time_conversion_test.c +++ b/modules/cfe_testcase/src/time_conversion_test.c @@ -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); }