cwNumericConvert.h/cpp, cwTest.cpp : /numeric_test test added.

This commit is contained in:
kevin 2024-11-29 13:15:44 -05:00
parent 47466a4873
commit 5782264b87
3 changed files with 4 additions and 1 deletions

View File

@ -155,6 +155,7 @@ namespace cw
template < > inline 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); } 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 );
} }

View File

@ -5,6 +5,7 @@
#include "cwFile.h" #include "cwFile.h"
#include "cwSvg.h" #include "cwSvg.h"
#include "cwText.h" #include "cwText.h"
#include "cwTest.h"
#include "cwNumericConvert.h" #include "cwNumericConvert.h"
namespace cw namespace cw

View File

@ -57,6 +57,7 @@ namespace cw
{ "/audio_transform", dsp::test }, { "/audio_transform", dsp::test },
{ "/wt_note", wt_note::test }, { "/wt_note", wt_note::test },
{ "/thread_tasks", thread_tasks::test }, { "/thread_tasks", thread_tasks::test },
{ "/numeric_convert", numericConvertTest },
{ nullptr, nullptr }, { nullptr, nullptr },
}; };