Classes | Functions
itoatest.cpp File Reference
#include "unittest.h"
#include "rapidjson/internal/itoa.h"
Include dependency graph for itoatest.cpp:

Go to the source code of this file.

Classes

struct  Traits< T >
 
struct  Traits< int32_t >
 
struct  Traits< int64_t >
 
struct  Traits< uint32_t >
 
struct  Traits< uint64_t >
 

Functions

static void i32toa_naive (int32_t value, char *buffer)
 
static void i64toa_naive (int64_t value, char *buffer)
 
 TEST (itoa, u32toa)
 
 TEST (itoa, i32toa)
 
 TEST (itoa, u64toa)
 
 TEST (itoa, i64toa)
 
static void u32toa_naive (uint32_t value, char *buffer)
 
static void u64toa_naive (uint64_t value, char *buffer)
 
template<typename T >
static void Verify (void(*f)(T, char *), char *(*g)(T, char *))
 
template<typename T >
static void VerifyValue (T value, void(*f)(T, char *), char *(*g)(T, char *))
 

Function Documentation

static void i32toa_naive ( int32_t  value,
char *  buffer 
)
static

Definition at line 109 of file itoatest.cpp.

static void i64toa_naive ( int64_t  value,
char *  buffer 
)
static

Definition at line 133 of file itoatest.cpp.

TEST ( itoa  ,
u32toa   
)

Definition at line 142 of file itoatest.cpp.

TEST ( itoa  ,
i32toa   
)

Definition at line 146 of file itoatest.cpp.

TEST ( itoa  ,
u64toa   
)

Definition at line 150 of file itoatest.cpp.

TEST ( itoa  ,
i64toa   
)

Definition at line 154 of file itoatest.cpp.

static void u32toa_naive ( uint32_t  value,
char *  buffer 
)
static

Definition at line 94 of file itoatest.cpp.

static void u64toa_naive ( uint64_t  value,
char *  buffer 
)
static

Definition at line 118 of file itoatest.cpp.

template<typename T >
static void Verify ( void(*)(T, char *)  f,
char *(*)(T, char *)  g 
)
static

Definition at line 70 of file itoatest.cpp.

template<typename T >
static void VerifyValue ( T  value,
void(*)(T, char *)  f,
char *(*)(T, char *)  g 
)
static

Definition at line 58 of file itoatest.cpp.



choreo_rapidjson
Author(s):
autogenerated on Thu Jul 18 2019 03:59:09