D | gaussian_distribution_test.cc | 94 const TypeParam mean = (mod & 0x1) ? -x : x; in TYPED_TEST() local 96 const param_type param(mean, stddev); in TYPED_TEST() 98 absl::gaussian_distribution<TypeParam> before(mean, stddev); in TYPED_TEST() 99 EXPECT_EQ(before.mean(), param.mean()); in TYPED_TEST() 120 INFO, absl::StrFormat("Range{%f, %f}: %f, %f", mean, stddev, in TYPED_TEST() 127 if (!std::isfinite(mean) || !std::isfinite(stddev)) { in TYPED_TEST() 135 EXPECT_NE(before.mean(), after.mean()); in TYPED_TEST() 142 EXPECT_EQ(before.mean(), after.mean()); in TYPED_TEST() 158 GaussianModel(double mean, double stddev) : mean_(mean), stddev_(stddev) {} in GaussianModel() argument 160 double mean() const { return mean_; } in mean() function in __anonbe5fbcf30111::GaussianModel [all …]
|