src/net/third_party/quiche/src/quic/test_tools/quic_test_utils_test.cc
// Ensure that SimpleRandom does not change its output for a fixed seed.
Ensure that SimpleRandom does not change its output for a fixed seed.
Ensure that SimpleRandom does not change its output for a fixed seed .
TEST_F(QuicTestUtilsTest, SimpleRandomStability) {
  SimpleRandom rng;
  rng.set_seed(UINT64_C(0x1234567800010001));
  EXPECT_EQ(UINT64_C(12589383305231984671), rng.RandUint64());
  EXPECT_EQ(UINT64_C(17775425089941798664), rng.RandUint64());
}
TEST_F ( QuicTestUtilsTest , SimpleRandomStability ) { SimpleRandom rng ; rng . set_seed ( UINT64_C ( 0x1234567800010001 ) ) ; EXPECT_EQ ( UINT64_C ( 12589383305231984671 ) , rng . RandUint64 ( ) ) ; EXPECT_EQ ( UINT64_C ( 17775425089941798664 ) , rng . RandUint64 ( ) ) ; }
Ensure that SimpleRandom does not change its output for a fixed seed.
Ensure that SimpleRandom does not change its output for a fixed seed .