Another two warnings

This commit is contained in:
Milo Yip 2015-04-11 00:20:10 +08:00
parent 09448e980b
commit d7ad55f49e

View File

@ -533,10 +533,10 @@ TEST(Value, Double) {
// SetDouble()
Value z;
z.SetDouble(12.34);
EXPECT_EQ(12.34, z.GetDouble());
EXPECT_NEAR(12.34, z.GetDouble(), 0.0);
z = 56.78;
EXPECT_EQ(56.78, z.GetDouble());
EXPECT_NEAR(56.78, z.GetDouble(), 0.0);
}
TEST(Value, String) {