Click or drag to resize

DoubleExtensions Class

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

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

The DoubleExtensions type exposes the following members.

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.
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