Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
testing::internal::Random Class Reference

#include <gtest-internal.h>

List of all members.

Public Member Functions

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

Static Public Attributes

static const UInt32 kMaxRange = 1u << 31

Private Member Functions

 GTEST_DISALLOW_COPY_AND_ASSIGN_ (Random)

Private Attributes

UInt32 state_

Detailed Description

Definition at line 708 of file gtest-internal.h.


Constructor & Destructor Documentation

testing::internal::Random::Random ( UInt32  seed) [inline, explicit]

Definition at line 712 of file gtest-internal.h.


Member Function Documentation

Definition at line 297 of file gtest.cc.

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

Definition at line 714 of file gtest-internal.h.


Member Data Documentation

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

Definition at line 710 of file gtest-internal.h.

Definition at line 721 of file gtest-internal.h.


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


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:12