Changes to test system to allow per class tests.

This commit is contained in:
2023-03-31 03:00:17 -07:00
parent c5c8bddb48
commit c2f04de4f8
41 changed files with 1352 additions and 902 deletions

16
sbf-cpp/Utils.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef UTILS_H__
#define UTILS_H__
#include <string>
namespace SBF {
using std::wstring;
size_t get_index_of(const wstring& text, const wstring& search, size_t start);
wstring word_wrap(const wstring& text, int maxWidth);
wstring get_substring(const wstring& text, int32_t var1, int32_t var2);
wstring make_fit_l(const wstring& text, size_t length, wchar_t paddCh);
wstring left(const wstring& text, size_t length);
wstring string_dollar(size_t length, wchar_t ch);
} // End namespace SBF
#endif // End !defined UTILS_H__