Lines Matching refs:kMaxRandomSeed
104 // A valid random seed must be in [1, kMaxRandomSeed].
105 const int kMaxRandomSeed = 99999;
133 // Returns a random seed in range [1, kMaxRandomSeed] based on the
140 // Normalizes the actual seed to range [1, kMaxRandomSeed] such that
144 static_cast<unsigned int>(kMaxRandomSeed)) + 1;
149 // undefined if 'seed' is invalid. The seed after kMaxRandomSeed is
152 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed)
154 << kMaxRandomSeed << "].";
156 return (next_seed > kMaxRandomSeed) ? 1 : next_seed;