Commit d7ad55f4 authored by Milo Yip's avatar Milo Yip

Another two warnings

parent 09448e98
...@@ -533,10 +533,10 @@ TEST(Value, Double) { ...@@ -533,10 +533,10 @@ TEST(Value, Double) {
// SetDouble() // SetDouble()
Value z; Value z;
z.SetDouble(12.34); z.SetDouble(12.34);
EXPECT_EQ(12.34, z.GetDouble()); EXPECT_NEAR(12.34, z.GetDouble(), 0.0);
z = 56.78; z = 56.78;
EXPECT_EQ(56.78, z.GetDouble()); EXPECT_NEAR(56.78, z.GetDouble(), 0.0);
} }
TEST(Value, String) { TEST(Value, String) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment