String routines to complement <string> && <cstring>:
|
Test program for strnum.cpp
.
More...
#include "strnum.h"
#include "uUnit.h"
#include <iostream>
#include <string.h>
#include <stdio.h>
#include <stdint.h>
Go to the source code of this file.
Classes | |
struct | N_vec< DIM > |
struct | N_vecU |
class | cc_val_cc< N > |
Macros | |
#define | exec_TEST(t) void t(); t(); |
#define | eqstr(a, b) ( 0==strcmp(a,b) ) |
Shortcut macro to compare 2 C strings using strcmp() More... | |
#define | PRIuMAX "I64u" |
Functions | |
int | main (const int argc, const char *argv[]) |
Test program. More... | |
void | test_atou_ndigit () |
test->atou_ndigit() . More... | |
void | test_atoi_vec () |
test -> atoi_vec() More... | |
void | test_atou_vec () |
test -> atou_vec() More... | |
void | test_atouint () |
test->atouint() . More... | |
void | test_utoa_sz () |
test->utoa_sz() More... | |
void | cc_test_cc () |
void | test_insnsep_Rupee () |
void | test_insnsep_date8 () |
void | test_insnsep () |
void | test_PRIuMAX () |
test->PRIuMAX() . More... | |
#define exec_TEST | ( | t | ) | void t(); t(); |
#define eqstr | ( | a, | |
b | |||
) | ( 0==strcmp(a,b) ) |
Shortcut macro to compare 2 C strings using strcmp()
Definition at line 40 of file strnum_test.cpp.
#define PRIuMAX "I64u" |
int main | ( | const int | argc, |
const char * | argv[] | ||
) |
Test program.
Simple macro to define && execute a test
Definition at line 17 of file strnum_test.cpp.
void test_atou_ndigit | ( | ) |
test->atou_ndigit()
.
Definition at line 43 of file strnum_test.cpp.
void test_atoi_vec | ( | ) |
test -> atoi_vec()
Definition at line 116 of file strnum_test.cpp.
void test_atou_vec | ( | ) |
test -> atou_vec()
Definition at line 245 of file strnum_test.cpp.
void test_atouint | ( | ) |
test->atouint()
.
Definition at line 361 of file strnum_test.cpp.
void test_utoa_sz | ( | ) |
test->utoa_sz()
Definition at line 375 of file strnum_test.cpp.
void cc_test_cc | ( | ) |
Definition at line 447 of file strnum_test.cpp.
void test_insnsep_Rupee | ( | ) |
Definition at line 501 of file strnum_test.cpp.
void test_insnsep_date8 | ( | ) |
Definition at line 534 of file strnum_test.cpp.
void test_insnsep | ( | ) |
Definition at line 553 of file strnum_test.cpp.
void test_PRIuMAX | ( | ) |
test->PRIuMAX()
.
Definition at line 790 of file strnum_test.cpp.