GrPPI  1.0
Generic and Reusable Parallel Pattern Interface
Public Member Functions | Static Public Attributes | List of all members
testing::internal::Random Class Reference

#include <gtest-internal.h>

Public Member Functions

 Random (uint32_t seed)
 
void Reseed (uint32_t seed)
 
uint32_t Generate (uint32_t range)
 
 Random (uint32_t seed)
 
void Reseed (uint32_t seed)
 
uint32_t Generate (uint32_t range)
 

Static Public Attributes

static const uint32_t kMaxRange = 1u << 31
 

Constructor & Destructor Documentation

◆ Random() [1/2]

testing::internal::Random::Random ( uint32_t  seed)
inlineexplicit

◆ Random() [2/2]

testing::internal::Random::Random ( uint32_t  seed)
inlineexplicit

Member Function Documentation

◆ Generate() [1/2]

uint32_t testing::internal::Random::Generate ( uint32_t  range)

◆ Generate() [2/2]

uint32_t testing::internal::Random::Generate ( uint32_t  range)

◆ Reseed() [1/2]

void testing::internal::Random::Reseed ( uint32_t  seed)
inline

◆ Reseed() [2/2]

void testing::internal::Random::Reseed ( uint32_t  seed)
inline

Member Data Documentation

◆ kMaxRange

static const uint32_t testing::internal::Random::kMaxRange = 1u << 31
static

The documentation for this class was generated from the following files: