 | DoubleExtensionsIsWiderThanRange Method |
Checks if the minValue and maxValue differ by more than
the specified maximum range.
Namespace:
TestHelperExtensions
Assembly:
CBI.TestHelperExtensions (in CBI.TestHelperExtensions.dll) Version: 2.1.0.1
Syntaxpublic static bool IsWiderThanRange(
this double maxRange,
double minValue,
double maxValue
)
<ExtensionAttribute>
Public Shared Function IsWiderThanRange (
maxRange As Double,
minValue As Double,
maxValue As Double
) As Boolean
public:
[ExtensionAttribute]
static bool IsWiderThanRange(
double maxRange,
double minValue,
double maxValue
)
[<ExtensionAttribute>]
static member IsWiderThanRange :
maxRange : float *
minValue : float *
maxValue : float -> bool
Parameters
- maxRange
- Type: SystemDouble
The greatest difference to allow between the two values - minValue
- Type: SystemDouble
The lower bound of the range - maxValue
- Type: SystemDouble
The upper bound of the range
Return Value
Type:
BooleanTrue if the difference between the two values is greater than maxRange, False otherwise.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Double. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also