search

goog.testing.PseudoRandom

Provided By
Extends
All Implemented Interfaces

Class for unit testing code that uses Math.random. Generates deterministic random numbers.

new PseudoRandom( opt_seed, opt_install )

Parameters
opt_seednumber=

The seed to use.

opt_installboolean=

Whether to install the PseudoRandom at construction time.

Instance Methods

Instance Properties

Static Properties