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:
miloyip@gmail.com
2012-11-15 07:16:26 +00:00
parent 90f983ced2
commit 47d60859d0
2 changed files with 5 additions and 2 deletions

View File

@@ -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) {