mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-10-28 11:31:57 +01:00
Disable printing hash code
This commit is contained in:
@@ -27,7 +27,7 @@ using namespace rapidjson;
|
|||||||
internal::Hasher<Value, CrtAllocator> h1, h2;\
|
internal::Hasher<Value, CrtAllocator> h1, h2;\
|
||||||
d1.Accept(h1);\
|
d1.Accept(h1);\
|
||||||
d2.Accept(h2);\
|
d2.Accept(h2);\
|
||||||
printf("%s: 0x%016llx\n%s: 0x%016llx\n\n", json1, h1.GetHashCode(), json2, h2.GetHashCode());\
|
/*printf("%s: 0x%016llx\n%s: 0x%016llx\n\n", json1, h1.GetHashCode(), json2, h2.GetHashCode());*/\
|
||||||
EXPECT_TRUE(expected == (h1.GetHashCode() == h2.GetHashCode()));\
|
EXPECT_TRUE(expected == (h1.GetHashCode() == h2.GetHashCode()));\
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user