GNU Radio's DSD Package
testing::internal::Random Class Reference

#include <gtest-internal.h>

Public Member Functions

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

Static Public Attributes

static const UInt32 kMaxRange = 1u << 31

Constructor & Destructor Documentation

◆ Random() [1/2]

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

Referenced by Generate().

◆ Random() [2/2]

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

Member Function Documentation

◆ Generate() [1/2]

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

References Random().

Referenced by testing::internal::ShuffleRange().

◆ Generate() [2/2]

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

References Random().

◆ Reseed() [1/2]

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

◆ Reseed() [2/2]

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

Member Data Documentation

◆ kMaxRange

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

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