Searched refs:kMaxRandomSeed (Results 1 – 2 of 2) sorted by relevance
105 const int kMaxRandomSeed = 99999; variable144 static_cast<unsigned int>(kMaxRandomSeed)) + 1; in GetRandomSeedFromFlag()152 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed) in GetNextRandomSeed()154 << kMaxRandomSeed << "]."; in GetNextRandomSeed()156 return (next_seed > kMaxRandomSeed) ? 1 : next_seed; in GetNextRandomSeed()
285 using testing::internal::kMaxRandomSeed;318 EXPECT_LE(seed, static_cast<int>(kMaxRandomSeed)); in TEST()324 EXPECT_EQ(kMaxRandomSeed - 1, GetRandomSeedFromFlag(kMaxRandomSeed - 1)); in TEST()325 EXPECT_EQ(static_cast<int>(kMaxRandomSeed), in TEST()326 GetRandomSeedFromFlag(kMaxRandomSeed)); in TEST()332 EXPECT_LE(seed1, static_cast<int>(kMaxRandomSeed)); in TEST()334 const int seed2 = GetRandomSeedFromFlag(kMaxRandomSeed + 1); in TEST()336 EXPECT_LE(seed2, static_cast<int>(kMaxRandomSeed)); in TEST()342 EXPECT_EQ(static_cast<int>(kMaxRandomSeed), in TEST()343 GetNextRandomSeed(kMaxRandomSeed - 1)); in TEST()[all …]