Lines Matching refs:double_value
71 double double_value; in TEST() local
72 ASSERT_TRUE(command.GetDoubleOption({"-s", "3.2"}, &i, &double_value, 0, 4)); in TEST()
73 ASSERT_DOUBLE_EQ(double_value, 3.2); in TEST()
121 double double_value; in TEST() local
122 ASSERT_TRUE(options.PullDoubleValue("--double-option", &double_value)); in TEST()
123 ASSERT_DOUBLE_EQ(double_value, -32.75); in TEST()
176 double double_value; in TEST() local
177 value.double_value = 0.0; in TEST()
179 ASSERT_FALSE(options.PullDoubleValue("--double-option", &double_value, 1.0)); in TEST()
181 ASSERT_FALSE(options.PullDoubleValue("--double-option", &double_value, -2.0, -1.0)); in TEST()
183 ASSERT_TRUE(options.PullDoubleValue("--double-option", &double_value, 0.0, 0.0)); in TEST()