|
String routines to complement <string> && <cstring>:
|
Programa de prueba para las rutinas de string_tool.h.
More...
Go to the source code of this file.
Macros | |
| #define | exec_TEST(t) void t(); t(); |
| #define | roundUp(n, b) ( (b)==0 ? (n) : ( ((n)+(b)-1) - (((n)-1)%(b)) ) ) |
Programa de prueba para las rutinas de string_tool.h.
Definition in file string_tool_test.cpp.
| #define exec_TEST | ( | t | ) | void t(); t(); |
| #define roundUp | ( | n, | |
| b | |||
| ) | ( (b)==0 ? (n) : ( ((n)+(b)-1) - (((n)-1)%(b)) ) ) |
| int main | ( | int | argc, |
| const char * | argv[] | ||
| ) |
Programa de prueba para las rutinas de string_tool.h.
Simple macro to define && execute a test
Definition at line 17 of file string_tool_test.cpp.
| void test_trimQuote | ( | ) |
test->trimQuote().
Definition at line 48 of file string_tool_test.cpp.
| void test_tolower | ( | ) |
test->tolower().
Definition at line 66 of file string_tool_test.cpp.
| void test_removeAccented | ( | ) |
test->removeAccented() && test->removeAccented::string()
Definition at line 80 of file string_tool_test.cpp.
| void test_isalpha | ( | ) |
test->isalpha().
Definition at line 152 of file string_tool_test.cpp.
| void test_is_blank | ( | ) |
test->is_blank().
Definition at line 163 of file string_tool_test.cpp.
| void test_digitCount | ( | ) |
test->digitCount().
Definition at line 171 of file string_tool_test.cpp.
| void test_alphaCount | ( | ) |
test->alphaCount().
Definition at line 201 of file string_tool_test.cpp.
| void test_roundUp | ( | ) |
test->roundUp().
Rounding up to the nearest multiple of a number.
Definition at line 221 of file string_tool_test.cpp.
| void test_issuffix | ( | ) |
test->issuffix().
Definition at line 259 of file string_tool_test.cpp.
| void test_str2uint | ( | ) |
test->str2uint().
Definition at line 302 of file string_tool_test.cpp.
| void test_number_suffix | ( | ) |
Definition at line 312 of file string_tool_test.cpp.
| void test_tostring | ( | ) |
test->tostring().
Definition at line 329 of file string_tool_test.cpp.
| void test_tostring_char | ( | ) |
test->tostring_char().
Definition at line 343 of file string_tool_test.cpp.
| void test_is_email | ( | ) |
test->is_email().
Definition at line 359 of file string_tool_test.cpp.
| void test_tokens | ( | ) |
test->tokens().
Definition at line 378 of file string_tool_test.cpp.
| char* strins | ( | const char * | substr, |
| char * | num, | ||
| int | n | ||
| ) |
Definition at line 571 of file string_tool_test.cpp.
| char* strdel3_slow | ( | char * | str, |
| int | start, | ||
| int | len | ||
| ) |
Definition at line 580 of file string_tool_test.cpp.
| char* strdel_yang | ( | char * | str, |
| int | n, | ||
| int | l | ||
| ) |
Definition at line 599 of file string_tool_test.cpp.
| void test_strdel | ( | ) |
test->strdel()
Definition at line 622 of file string_tool_test.cpp.
| void test_strdel2 | ( | ) |
test->strdel2()
Definition at line 667 of file string_tool_test.cpp.
1.8.16