46 #ifndef ABSL_RANDOM_MOCK_DISTRIBUTIONS_H_
47 #define ABSL_RANDOM_MOCK_DISTRIBUTIONS_H_
50 #include <type_traits>
53 #include "gmock/gmock.h"
54 #include "gtest/gtest.h"
55 #include "absl/meta/type_traits.h"
56 #include "absl/random/distributions.h"
57 #include "absl/random/internal/mock_overload_set.h"
58 #include "absl/random/mocking_bit_gen.h"
83 using MockUniform = random_internal::MockOverloadSet<
84 random_internal::UniformDistributionWrapper<R>,
85 R(IntervalClosedOpenTag, MockingBitGen&, R, R),
86 R(IntervalClosedClosedTag, MockingBitGen&, R, R),
87 R(IntervalOpenOpenTag, MockingBitGen&, R, R),
88 R(IntervalOpenClosedTag, MockingBitGen&, R, R), R(MockingBitGen&, R, R),
111 bool(MockingBitGen&,
double)>;
132 template <
typename RealType>
134 random_internal::MockOverloadSet<absl::beta_distribution<RealType>,
135 RealType(MockingBitGen&, RealType,
158 template <
typename RealType>
160 random_internal::MockOverloadSet<absl::exponential_distribution<RealType>,
161 RealType(MockingBitGen&, RealType)>;
183 template <
typename RealType>
185 random_internal::MockOverloadSet<absl::gaussian_distribution<RealType>,
186 RealType(MockingBitGen&, RealType,
209 template <
typename IntType>
212 IntType(MockingBitGen&, IntType, IntType, IntType)>;
233 template <
typename IntType>
235 random_internal::MockOverloadSet<absl::poisson_distribution<IntType>,
236 IntType(MockingBitGen&,
double)>;
257 template <
typename IntType>
259 random_internal::MockOverloadSet<absl::zipf_distribution<IntType>,
260 IntType(MockingBitGen&, IntType,
double,
266 #endif // ABSL_RANDOM_MOCK_DISTRIBUTIONS_H_