Summary
Returns a random bool, with the specified probablility of being true.
- Namespace
- TCLite
.Interfaces - Containing Type
- IRandomGenerator
Syntax
bool NextBool(double probability)
Parameters
Name | Type | Description |
---|---|---|
probability | double |
Return Value
Type | Description |
---|---|
bool |