Lines Matching refs:double_val
78 double double_val; in TEST() local
80 double_val = 0.0; in TEST()
81 ASSERT_TRUE(root->GetAsDouble(&double_val)); in TEST()
82 ASSERT_DOUBLE_EQ(2147483648.0, double_val); in TEST()
86 double_val = 0.0; in TEST()
87 ASSERT_TRUE(root->GetAsDouble(&double_val)); in TEST()
88 ASSERT_DOUBLE_EQ(-2147483649.0, double_val); in TEST()
94 double_val = 0.0; in TEST()
95 ASSERT_TRUE(root->GetAsDouble(&double_val)); in TEST()
96 ASSERT_DOUBLE_EQ(43.1, double_val); in TEST()
101 double_val = 0.0; in TEST()
102 ASSERT_TRUE(root->GetAsDouble(&double_val)); in TEST()
103 ASSERT_DOUBLE_EQ(.43, double_val); in TEST()
108 double_val = 0.0; in TEST()
109 ASSERT_TRUE(root->GetAsDouble(&double_val)); in TEST()
110 ASSERT_DOUBLE_EQ(2.1, double_val); in TEST()
115 double_val = 0.0; in TEST()
116 ASSERT_TRUE(root->GetAsDouble(&double_val)); in TEST()
117 ASSERT_DOUBLE_EQ(21.0, double_val); in TEST()
122 double_val = 0.0; in TEST()
123 ASSERT_TRUE(root->GetAsDouble(&double_val)); in TEST()
124 ASSERT_DOUBLE_EQ(0.01, double_val); in TEST()
129 double_val = 0.0; in TEST()
130 ASSERT_TRUE(root->GetAsDouble(&double_val)); in TEST()
131 ASSERT_DOUBLE_EQ(1.0, double_val); in TEST()
306 double_val = 0.0; in TEST()
307 ASSERT_TRUE(dict_val->GetDouble("number", &double_val)); in TEST()
308 ASSERT_DOUBLE_EQ(9.87654321, double_val); in TEST()