Click or drag to resize

DoubleExtensions Class

Adds functionality that is often used for unit testing to the Double data type
Inheritance Hierarchy
SystemObject
  TestHelperExtensionsDoubleExtensions

Namespace:  TestHelperExtensions
Assembly:  CBI.TestHelperExtensions (in CBI.TestHelperExtensions.dll) Version: 2.1.0.1
Syntax
public static class DoubleExtensions

The DoubleExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetRandom(Double)
Returns a random number less than the double value and greater than or equal to 0
Public methodStatic memberGetRandom(Double, Double)
Returns a random number greater than or equal to the specified minValue and less than the maxValue
Public methodStatic memberIsWiderThanRange
Checks if the minValue and maxValue differ by more than the specified maximum range.
Top
Remarks
This library is not intended for use as production code, but instead is intended to provide functionality in the test libraries for that production code.
See Also