RetroArch
Macros | Functions
dtoatest.cpp File Reference
#include "unittest.h"
#include "rapidjson/internal/dtoa.h"
Include dependency graph for dtoatest.cpp:

Macros

#define TEST_DTOA(d, a)
 
#define TEST_DTOA(m, d, a)
 

Functions

 TEST (dtoa, normal)
 
 TEST (dtoa, maxDecimalPlaces)
 

Macro Definition Documentation

◆ TEST_DTOA [1/2]

#define TEST_DTOA (   d,
  a 
)
Value:
*dtoa(d, buffer) = '\0';\
EXPECT_STREQ(a, buffer)
char * dtoa(double value, char *buffer, int maxDecimalPlaces=324)
Definition: dtoa.h:216
Definition: video4linux2.c:51
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6844

◆ TEST_DTOA [2/2]

#define TEST_DTOA (   m,
  d,
  a 
)
Value:
*dtoa(d, buffer, m) = '\0';\
EXPECT_STREQ(a, buffer)
char * dtoa(double value, char *buffer, int maxDecimalPlaces=324)
Definition: dtoa.h:216
Definition: video4linux2.c:51
const GLfloat * m
Definition: glext.h:11755
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6844

Function Documentation

◆ TEST() [1/2]

TEST ( dtoa  ,
normal   
)

◆ TEST() [2/2]

TEST ( dtoa  ,
maxDecimalPlaces   
)