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

Go to the source code of this file.

Macros

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

Functions

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

Variables

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

Macro Definition Documentation

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

Definition at line 21 of file bigintegertest.cpp.

Function Documentation

static const BigInteger kOne ( )
static
static const BigInteger kZero ( )
static
TEST ( BigInteger  ,
Constructor   
)

Definition at line 28 of file bigintegertest.cpp.

TEST ( BigInteger  ,
AddUint64   
)

Definition at line 44 of file bigintegertest.cpp.

TEST ( BigInteger  ,
MultiplyUint64   
)

Definition at line 63 of file bigintegertest.cpp.

TEST ( BigInteger  ,
MultiplyUint32   
)

Definition at line 85 of file bigintegertest.cpp.

TEST ( BigInteger  ,
LeftShift   
)

Definition at line 107 of file bigintegertest.cpp.

TEST ( BigInteger  ,
Compare   
)

Definition at line 125 of file bigintegertest.cpp.

Variable Documentation

const BigInteger kTwo64 = BIGINTEGER_LITERAL("18446744073709551616")
static

Definition at line 26 of file bigintegertest.cpp.

const BigInteger kUint64Max = BIGINTEGER_LITERAL("18446744073709551615")
static

Definition at line 25 of file bigintegertest.cpp.



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