Electroneum
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< uint32_t >
 
struct  Traits< int32_t >
 
struct  Traits< uint64_t >
 
struct  Traits< int64_t >
 

Functions

 TEST (itoa, u32toa)
 
 TEST (itoa, i32toa)
 
 TEST (itoa, u64toa)
 
 TEST (itoa, i64toa)
 

Function Documentation

◆ TEST() [1/4]

TEST ( itoa  ,
u32toa   
)

Definition at line 142 of file itoatest.cpp.

142  {
143  Verify(u32toa_naive, u32toa);
144 }
char * u32toa(uint32_t value, char *buffer)
Definition: itoa.h:39

◆ TEST() [2/4]

TEST ( itoa  ,
i32toa   
)

Definition at line 146 of file itoatest.cpp.

146  {
147  Verify(i32toa_naive, i32toa);
148 }
char * i32toa(int32_t value, char *buffer)
Definition: itoa.h:115

◆ TEST() [3/4]

TEST ( itoa  ,
u64toa   
)

Definition at line 150 of file itoatest.cpp.

150  {
151  Verify(u64toa_naive, u64toa);
152 }
char * u64toa(uint64_t value, char *buffer)
Definition: itoa.h:126

◆ TEST() [4/4]

TEST ( itoa  ,
i64toa   
)

Definition at line 154 of file itoatest.cpp.

154  {
155  Verify(i64toa_naive, i64toa);
156 }
char * i64toa(int64_t value, char *buffer)
Definition: itoa.h:295