From 5974de665089569ca22ff9974040d510efc62ac7 Mon Sep 17 00:00:00 2001 From: kevin Date: Fri, 8 Nov 2024 11:16:31 -0500 Subject: [PATCH] cwTime.cpp : Added tests. --- cwTime.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cwTime.cpp b/cwTime.cpp index 530ae13..fef2586 100644 --- a/cwTime.cpp +++ b/cwTime.cpp @@ -438,6 +438,13 @@ cw::rc_t cw::time::test(const test::test_args_t& test ) cwLogPrint("sleep %i ms\n",elapsedMs(t0)); + + cw::time::fracSecondsToSpec( t0, 12.34567 ); + double sec = specToSeconds( t0 ); + cwLogPrint("fsecs: %f\n",sec); + + + return kOkRC; }