v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
test-random-number-generator.cc File Reference
#include "v8.h"
#include "cctest.h"
#include "utils/random-number-generator.h"
Include dependency graph for test-random-number-generator.cc:

Go to the source code of this file.

Functions

 TEST (NextIntWithMaxValue)
 
 TEST (NextBoolReturnsBooleanValue)
 
 TEST (NextDoubleRange)
 
 TEST (RandomSeedFlagIsUsed)
 

Function Documentation

TEST ( NextIntWithMaxValue  )

Definition at line 42 of file test-random-number-generator.cc.

References ARRAY_SIZE, CHECK_LE, and CHECK_LT.

TEST ( NextBoolReturnsBooleanValue  )

Definition at line 54 of file test-random-number-generator.cc.

References ARRAY_SIZE, and CHECK.

TEST ( NextDoubleRange  )

Definition at line 65 of file test-random-number-generator.cc.

References ARRAY_SIZE, CHECK_LE, and CHECK_LT.

TEST ( RandomSeedFlagIsUsed  )

Definition at line 77 of file test-random-number-generator.cc.

References ARRAY_SIZE, and CHECK_EQ.