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

Macros

#define BIGINTEGER_LITERAL(s)   BigInteger(s, sizeof(s) - 1)
 

Functions

static const BigInteger kZero (0)
 
static const BigInteger kOne (1)
 
 TEST (BigInteger, Constructor)
 
 TEST (BigInteger, AddUint64)
 
 TEST (BigInteger, MultiplyUint64)
 
 TEST (BigInteger, MultiplyUint32)
 
 TEST (BigInteger, LeftShift)
 
 TEST (BigInteger, Compare)
 

Variables

static const BigInteger kUint64Max = BIGINTEGER_LITERAL("18446744073709551615")
 
static const BigInteger kTwo64 = BIGINTEGER_LITERAL("18446744073709551616")
 

Macro Definition Documentation

◆ BIGINTEGER_LITERAL

#define BIGINTEGER_LITERAL (   s)    BigInteger(s, sizeof(s) - 1)

Function Documentation

◆ kOne()

static const BigInteger kOne ( )
static
Here is the caller graph for this function:

◆ kZero()

static const BigInteger kZero ( )
static
Here is the caller graph for this function:

◆ TEST() [1/6]

TEST ( BigInteger  ,
Constructor   
)
Here is the call graph for this function:

◆ TEST() [2/6]

TEST ( BigInteger  ,
AddUint64   
)
Here is the call graph for this function:

◆ TEST() [3/6]

TEST ( BigInteger  ,
MultiplyUint64   
)
Here is the call graph for this function:

◆ TEST() [4/6]

TEST ( BigInteger  ,
MultiplyUint32   
)
Here is the call graph for this function:

◆ TEST() [5/6]

TEST ( BigInteger  ,
LeftShift   
)
Here is the call graph for this function:

◆ TEST() [6/6]

TEST ( BigInteger  ,
Compare   
)
Here is the call graph for this function:

Variable Documentation

◆ kTwo64

const BigInteger kTwo64 = BIGINTEGER_LITERAL("18446744073709551616")
static

◆ kUint64Max

const BigInteger kUint64Max = BIGINTEGER_LITERAL("18446744073709551615")
static