| UInt64TypeGetValidValue Method |
Returns any value for this range (all values have the same probability)
Namespace:
SmartTests.Ranges
Assembly:
SmartTests (in SmartTests.dll) Version: 1.12.0
Syntax public override Criteria GetValidValue(
out ulong value,
params ulong[] avoidedValues
)
Public Overrides Function GetValidValue (
<OutAttribute> ByRef value As ULong,
ParamArray avoidedValues As ULong()
) As Criteria
public:
virtual Criteria^ GetValidValue(
[OutAttribute] unsigned long long% value,
... array<unsigned long long>^ avoidedValues
) override
abstract GetValidValue :
value : uint64 byref *
avoidedValues : uint64[] -> Criteria
override GetValidValue :
value : uint64 byref *
avoidedValues : uint64[] -> Criteria
Parameters
- value
- Type: SystemUInt64
A random value within this range. - avoidedValues
- Type: SystemUInt64
A value to avoid in the range.
For example, when testing a property setter with a different value, you do not want the value to be the current
value, even if it is within the tested range.
Return Value
Type:
CriteriaAny
Criteria so that it can be used everywhere a criteria is expected.
Implements
INumericTypeTGetValidValue(T, T)See Also