Home
last modified time | relevance | path

Searched refs:IntervalOpenClosed (Results 1 – 6 of 6) sorted by relevance

/third_party/abseil-cpp/absl/random/internal/
Duniform_helper_test.cc38 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/
Duniform_helper_test.cc38 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/
Dgenerators_test.cc74 absl::Uniform<double>(absl::IntervalOpenClosed, *gen, 0, 1); in TestUniform()
81 absl::Uniform<int>(absl::IntervalOpenClosed, *gen, 0, 100); in TestUniform()
Ddistributions.h77 ABSL_INTERNAL_INLINE_CONSTEXPR(IntervalOpenClosedTag, IntervalOpenClosed, {});
/third_party/abseil-cpp/absl/random/
Dgenerators_test.cc74 absl::Uniform<double>(absl::IntervalOpenClosed, *gen, 0, 1); in TestUniform()
81 absl::Uniform<int>(absl::IntervalOpenClosed, *gen, 0, 100); in TestUniform()
Ddistributions.h77 ABSL_INTERNAL_INLINE_CONSTEXPR(IntervalOpenClosedTag, IntervalOpenClosed, {});