Home
last modified time | relevance | path

Searched refs:IntervalClosedClosed (Results 1 – 10 of 10) sorted by relevance

/third_party/abseil-cpp/absl/random/internal/
Duniform_helper_test.cc36 constexpr IntervalClosedClosedTag IntervalClosedClosed; in TEST_F() local
51 EXPECT_EQ(uniform_lower_bound(IntervalClosedClosed, 0, 100), 0); in TEST_F()
53 EXPECT_EQ(uniform_lower_bound<float>(IntervalClosedClosed, 0, 1.0), 0); in TEST_F()
55 EXPECT_EQ(uniform_lower_bound<double>(IntervalClosedClosed, 0, 1.0), 0); in TEST_F()
66 EXPECT_EQ(uniform_upper_bound(IntervalClosedClosed, 0, 100), 100); in TEST_F()
68 EXPECT_GT(uniform_upper_bound<float>(IntervalClosedClosed, 0, 1.0), 1.0); in TEST_F()
70 EXPECT_GT(uniform_upper_bound<double>(IntervalClosedClosed, 0, 1.0), 1.0); in TEST_F()
80 EXPECT_EQ(uniform_lower_bound(IntervalClosedClosed, -100, -1), -100); in TEST_F()
82 EXPECT_EQ(uniform_lower_bound<float>(IntervalClosedClosed, -2.0, -1.0), -2.0); in TEST_F()
84 EXPECT_EQ(uniform_lower_bound<double>(IntervalClosedClosed, -2.0, -1.0), in TEST_F()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Duniform_helper_test.cc36 constexpr IntervalClosedClosedTag IntervalClosedClosed; in TEST_F() local
51 EXPECT_EQ(uniform_lower_bound(IntervalClosedClosed, 0, 100), 0); in TEST_F()
53 EXPECT_EQ(uniform_lower_bound<float>(IntervalClosedClosed, 0, 1.0), 0); in TEST_F()
55 EXPECT_EQ(uniform_lower_bound<double>(IntervalClosedClosed, 0, 1.0), 0); in TEST_F()
66 EXPECT_EQ(uniform_upper_bound(IntervalClosedClosed, 0, 100), 100); in TEST_F()
68 EXPECT_GT(uniform_upper_bound<float>(IntervalClosedClosed, 0, 1.0), 1.0); in TEST_F()
70 EXPECT_GT(uniform_upper_bound<double>(IntervalClosedClosed, 0, 1.0), 1.0); in TEST_F()
80 EXPECT_EQ(uniform_lower_bound(IntervalClosedClosed, -100, -1), -100); in TEST_F()
82 EXPECT_EQ(uniform_lower_bound<float>(IntervalClosedClosed, -2.0, -1.0), -2.0); in TEST_F()
84 EXPECT_EQ(uniform_lower_bound<double>(IntervalClosedClosed, -2.0, -1.0), in TEST_F()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Dgenerators_test.cc36 absl::Uniform(absl::IntervalClosedClosed, *gen, 1, 6); in TestUniform()
71 absl::Uniform<double>(absl::IntervalClosedClosed, *gen, 0, 1); in TestUniform()
75 absl::Uniform<double>(absl::IntervalClosedClosed, *gen, 0, 1); in TestUniform()
78 absl::Uniform<int>(absl::IntervalClosedClosed, *gen, 0, 100); in TestUniform()
82 absl::Uniform<int>(absl::IntervalClosedClosed, *gen, 0, 100); in TestUniform()
Dexamples_test.cc35 auto dice_roll = absl::Uniform<int>(absl::IntervalClosedClosed, gen, 1, 6); in TEST()
Ddistributions.h71 ABSL_INTERNAL_INLINE_CONSTEXPR(IntervalClosedClosedTag, IntervalClosedClosed,
Ddistributions_test.cc309 int64_t j = absl::Uniform(absl::IntervalClosedClosed, gen, 0, kMax); in TEST_F()
/third_party/abseil-cpp/absl/random/
Dgenerators_test.cc36 absl::Uniform(absl::IntervalClosedClosed, *gen, 1, 6); in TestUniform()
71 absl::Uniform<double>(absl::IntervalClosedClosed, *gen, 0, 1); in TestUniform()
75 absl::Uniform<double>(absl::IntervalClosedClosed, *gen, 0, 1); in TestUniform()
78 absl::Uniform<int>(absl::IntervalClosedClosed, *gen, 0, 100); in TestUniform()
82 absl::Uniform<int>(absl::IntervalClosedClosed, *gen, 0, 100); in TestUniform()
Dexamples_test.cc35 auto dice_roll = absl::Uniform<int>(absl::IntervalClosedClosed, gen, 1, 6); in TEST()
Ddistributions.h71 ABSL_INTERNAL_INLINE_CONSTEXPR(IntervalClosedClosedTag, IntervalClosedClosed,
Ddistributions_test.cc299 int64_t j = absl::Uniform(absl::IntervalClosedClosed, gen, 0, kMax); in TEST_F()