polynomial_test.cc | 250 double optimal_x = 0.0; local 254 MinimizePolynomial(polynomial, min_x, max_x, &optimal_x, &optimal_value); 257 EXPECT_LE(optimal_x, max_x); 258 EXPECT_GE(optimal_x, min_x); 268 double optimal_x = 0.0; local 272 MinimizePolynomial(polynomial, min_x, max_x, &optimal_x, &optimal_value); 274 EXPECT_EQ(optimal_x, 0.0); 288 double optimal_x = 0.0; local 292 MinimizePolynomial(polynomial, min_x, max_x, &optimal_x, &optimal_value); 293 EXPECT_EQ(optimal_x, 3.0/2.0) [all...] |