valuetest: add test for Uint64 comparisons
This commit is contained in:
parent
ab8416e1e6
commit
47c32eee6b
@ -135,6 +135,11 @@ TEST(Value, equalto_operator) {
|
|||||||
TestEqual(x, y);
|
TestEqual(x, y);
|
||||||
TestEqual(y, z);
|
TestEqual(y, z);
|
||||||
TestEqual(z, x);
|
TestEqual(z, x);
|
||||||
|
|
||||||
|
// Issue #129: compare Uint64
|
||||||
|
x.SetUint64(RAPIDJSON_UINT64_C2(0xFFFFFFFF, 0xFFFFFFF0));
|
||||||
|
y.SetUint64(RAPIDJSON_UINT64_C2(0xFFFFFFFF, 0xFFFFFFFF));
|
||||||
|
TestUnequal(x, y);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename Value>
|
template <typename Value>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user