From 5782264b87b979619f8d1b8902ef00f6b5f8c7ef Mon Sep 17 00:00:00 2001 From: kevin Date: Fri, 29 Nov 2024 13:15:44 -0500 Subject: [PATCH] cwNumericConvert.h/cpp, cwTest.cpp : /numeric_test test added. --- cwNumericConvert.h | 3 ++- cwSvg.cpp | 1 + cwTest.cpp | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/cwNumericConvert.h b/cwNumericConvert.h index ebc6d50..d3b4ff9 100644 --- a/cwNumericConvert.h +++ b/cwNumericConvert.h @@ -155,7 +155,8 @@ namespace cw template < > inline int number_to_string( const double& v, char* buf, int bufN, const char* fmt ) { return snprintf(buf,bufN,fmt==nullptr ? "%f" : fmt, v); } - + rc_t numericConvertTest( const test::test_args_t& args ); + } #endif diff --git a/cwSvg.cpp b/cwSvg.cpp index 4348243..270ad2a 100644 --- a/cwSvg.cpp +++ b/cwSvg.cpp @@ -5,6 +5,7 @@ #include "cwFile.h" #include "cwSvg.h" #include "cwText.h" +#include "cwTest.h" #include "cwNumericConvert.h" namespace cw diff --git a/cwTest.cpp b/cwTest.cpp index c5c7706..7b16935 100644 --- a/cwTest.cpp +++ b/cwTest.cpp @@ -57,6 +57,7 @@ namespace cw { "/audio_transform", dsp::test }, { "/wt_note", wt_note::test }, { "/thread_tasks", thread_tasks::test }, + { "/numeric_convert", numericConvertTest }, { nullptr, nullptr }, };