Commit 47c32eee authored by Philipp A. Hartmann's avatar Philipp A. Hartmann

valuetest: add test for Uint64 comparisons

parent ab8416e1
......@@ -135,6 +135,11 @@ TEST(Value, equalto_operator) {
TestEqual(x, y);
TestEqual(y, z);
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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment