mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-10-28 03:20:15 +01:00
Additional fixes for Issue 48: incorrect return type of GetUint64()
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@89 c5894555-1306-4e8d-425f-1f6f381ee07c
This commit is contained in:
@@ -277,6 +277,9 @@ TEST(Value, Uint64) {
|
||||
|
||||
z.SetUint64(9223372036854775808uLL); // 2^63 cannot cast as int64
|
||||
EXPECT_FALSE(z.IsInt64());
|
||||
|
||||
// Issue 48
|
||||
EXPECT_EQ(9223372036854775808uLL, z.GetUint64());
|
||||
}
|
||||
|
||||
TEST(Value, Double) {
|
||||
|
||||
Reference in New Issue
Block a user