mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-10-29 04:17:59 +01:00
Another warning in valuetest
This commit is contained in:
@@ -517,7 +517,7 @@ TEST(Value, Double) {
|
|||||||
// Constructor with double
|
// Constructor with double
|
||||||
Value x(12.34);
|
Value x(12.34);
|
||||||
EXPECT_EQ(kNumberType, x.GetType());
|
EXPECT_EQ(kNumberType, x.GetType());
|
||||||
EXPECT_EQ(12.34, x.GetDouble());
|
EXPECT_NEAR(12.34, x.GetDouble(), 0.0);
|
||||||
EXPECT_TRUE(x.IsNumber());
|
EXPECT_TRUE(x.IsNumber());
|
||||||
EXPECT_TRUE(x.IsDouble());
|
EXPECT_TRUE(x.IsDouble());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user