Go to the source code of this file.
|
| | TEST (BigInteger, Constructor) |
| |
| | TEST (BigInteger, AddUint64) |
| |
| | TEST (BigInteger, MultiplyUint64) |
| |
| | TEST (BigInteger, MultiplyUint32) |
| |
| | TEST (BigInteger, LeftShift) |
| |
| | TEST (BigInteger, Compare) |
| |
◆ BIGINTEGER_LITERAL
| #define BIGINTEGER_LITERAL |
( |
|
s | ) |
BigInteger(s, sizeof(s) - 1) |
◆ TEST() [1/6]
| TEST |
( |
BigInteger |
, |
|
|
Constructor |
|
|
) |
| |
Definition at line 28 of file bigintegertest.cpp.
34 const BigInteger
a(123);
#define EXPECT_TRUE(condition)
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
#define EXPECT_EQ(val1, val2)
#define BIGINTEGER_LITERAL(s)
◆ TEST() [2/6]
| TEST |
( |
BigInteger |
, |
|
|
AddUint64 |
|
|
) |
| |
Definition at line 44 of file bigintegertest.cpp.
56 BigInteger b = kUint64Max;
#define EXPECT_TRUE(condition)
#define RAPIDJSON_UINT64_C2(high32, low32)
Construct a 64-bit literal by a pair of 32-bit integer.
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
#define BIGINTEGER_LITERAL(s)
◆ TEST() [3/6]
| TEST |
( |
BigInteger |
, |
|
|
MultiplyUint64 |
|
|
) |
| |
Definition at line 63 of file bigintegertest.cpp.
#define EXPECT_TRUE(condition)
#define RAPIDJSON_UINT64_C2(high32, low32)
Construct a 64-bit literal by a pair of 32-bit integer.
unsigned __int64 uint64_t
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
#define BIGINTEGER_LITERAL(s)
◆ TEST() [4/6]
| TEST |
( |
BigInteger |
, |
|
|
MultiplyUint32 |
|
|
) |
| |
Definition at line 85 of file bigintegertest.cpp.
#define EXPECT_TRUE(condition)
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
#define BIGINTEGER_LITERAL(s)
◆ TEST() [5/6]
| TEST |
( |
BigInteger |
, |
|
|
LeftShift |
|
|
) |
| |
Definition at line 107 of file bigintegertest.cpp.
108 BigInteger
a = kZero;
#define EXPECT_TRUE(condition)
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
#define BIGINTEGER_LITERAL(s)
◆ TEST() [6/6]
| TEST |
( |
BigInteger |
, |
|
|
Compare |
|
|
) |
| |