Searched refs:IntervalOpenClosed (Results 1 – 6 of 6) sorted by relevance
/third_party/abseil-cpp/absl/random/internal/ |
D | uniform_helper_test.cc | 38 constexpr IntervalOpenClosedTag IntervalOpenClosed; in TEST_F() local 44 EXPECT_EQ(uniform_lower_bound(IntervalOpenClosed, 0, 100), 1); in TEST_F() 46 EXPECT_GT(uniform_lower_bound<float>(IntervalOpenClosed, 0, 1.0), 0); in TEST_F() 48 EXPECT_GT(uniform_lower_bound<double>(IntervalOpenClosed, 0, 1.0), 0); in TEST_F() 65 EXPECT_EQ(uniform_upper_bound(IntervalOpenClosed, 0, 100), 100); in TEST_F() 67 EXPECT_GT(uniform_upper_bound<float>(IntervalOpenClosed, 0, 1.0), 1.0); in TEST_F() 69 EXPECT_GT(uniform_upper_bound<double>(IntervalOpenClosed, 0, 1.0), 1.0); in TEST_F() 73 EXPECT_EQ(uniform_lower_bound(IntervalOpenClosed, -100, -1), -99); in TEST_F() 75 EXPECT_GT(uniform_lower_bound<float>(IntervalOpenClosed, -2.0, -1.0), -2.0); in TEST_F() 77 EXPECT_GT(uniform_lower_bound<double>(IntervalOpenClosed, -2.0, -1.0), -2.0); in TEST_F() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
D | uniform_helper_test.cc | 38 constexpr IntervalOpenClosedTag IntervalOpenClosed; in TEST_F() local 44 EXPECT_EQ(uniform_lower_bound(IntervalOpenClosed, 0, 100), 1); in TEST_F() 46 EXPECT_GT(uniform_lower_bound<float>(IntervalOpenClosed, 0, 1.0), 0); in TEST_F() 48 EXPECT_GT(uniform_lower_bound<double>(IntervalOpenClosed, 0, 1.0), 0); in TEST_F() 65 EXPECT_EQ(uniform_upper_bound(IntervalOpenClosed, 0, 100), 100); in TEST_F() 67 EXPECT_GT(uniform_upper_bound<float>(IntervalOpenClosed, 0, 1.0), 1.0); in TEST_F() 69 EXPECT_GT(uniform_upper_bound<double>(IntervalOpenClosed, 0, 1.0), 1.0); in TEST_F() 73 EXPECT_EQ(uniform_lower_bound(IntervalOpenClosed, -100, -1), -99); in TEST_F() 75 EXPECT_GT(uniform_lower_bound<float>(IntervalOpenClosed, -2.0, -1.0), -2.0); in TEST_F() 77 EXPECT_GT(uniform_lower_bound<double>(IntervalOpenClosed, -2.0, -1.0), -2.0); in TEST_F() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/ |
D | generators_test.cc | 74 absl::Uniform<double>(absl::IntervalOpenClosed, *gen, 0, 1); in TestUniform() 81 absl::Uniform<int>(absl::IntervalOpenClosed, *gen, 0, 100); in TestUniform()
|
D | distributions.h | 77 ABSL_INTERNAL_INLINE_CONSTEXPR(IntervalOpenClosedTag, IntervalOpenClosed, {});
|
/third_party/abseil-cpp/absl/random/ |
D | generators_test.cc | 74 absl::Uniform<double>(absl::IntervalOpenClosed, *gen, 0, 1); in TestUniform() 81 absl::Uniform<int>(absl::IntervalOpenClosed, *gen, 0, 100); in TestUniform()
|
D | distributions.h | 77 ABSL_INTERNAL_INLINE_CONSTEXPR(IntervalOpenClosedTag, IntervalOpenClosed, {});
|