src/net/third_party/quiche/src/http2/test_tools/http2_random_test.cc
TEST(Http2RandomTest, SkewedLowFullRange) {
  Http2Random random;
  std::set<size_t> values;
  for (int i = 0; i < 1000; i++) {
    values.insert(random.RandomSizeSkewedLow(3));
  }
  EXPECT_THAT(values, testing::ElementsAre(0, 1, 2, 3));
}
// Checks that SkewedLow() generates full range.  This is required, since in
// some unit tests would infinitely loop.
Checks that SkewedLow() generates full range.  This is required, since in
some unit tests would infinitely loop.
Checks that SkewedLow () generates full range . This is required since in some unit tests would infinitely loop .
TEST(Http2RandomTest, SkewedLowFullRange) {
  Http2Random random;
  std::set<size_t> values;
  for (int i = 0; i < 1000; i++) {
    values.insert(random.RandomSizeSkewedLow(3));
  }
  EXPECT_THAT(values, testing::ElementsAre(0, 1, 2, 3));
}
TEST ( Http2RandomTest , SkewedLowFullRange ) { Http2Random random ; std :: set < size_t > values ; for ( int i = 0 ; i < 1000 ; i ++ ) { values . insert ( random . RandomSizeSkewedLow ( 3 ) ) ; } EXPECT_THAT ( values , testing :: ElementsAre ( 0 , 1 , 2 , 3 ) ) ; }
Checks that SkewedLow() generates full range.
Checks that SkewedLow () generates full range .