cwTime.cpp : Added tests.

This commit is contained in:
kevin 2024-11-08 11:16:31 -05:00
parent 1ed6202885
commit 5974de6650

View File

@ -438,6 +438,13 @@ cw::rc_t cw::time::test(const test::test_args_t& test )
cwLogPrint("sleep %i ms\n",elapsedMs(t0)); cwLogPrint("sleep %i ms\n",elapsedMs(t0));
cw::time::fracSecondsToSpec( t0, 12.34567 );
double sec = specToSeconds( t0 );
cwLogPrint("fsecs: %f\n",sec);
return kOkRC; return kOkRC;
} }