| EnumTypeValuesT Method |
Adds enum values to test for as an equivalence class.
Namespace:
SmartTests.Ranges
Assembly:
SmartTests (in SmartTests.dll) Version: 1.12.0
Syntax public Criteria Values<T>(
out T value,
T firstValue,
params T[] values
)
where T : struct, new(), IComparable
Public Function Values(Of T As {Structure, New, IComparable}) (
<OutAttribute> ByRef value As T,
firstValue As T,
ParamArray values As T()
) As Criteria
public:
generic<typename T>
where T : value class, gcnew(), IComparable
Criteria^ Values(
[OutAttribute] T% value,
T firstValue,
... array<T>^ values
)
member Values :
value : 'T byref *
firstValue : 'T *
values : 'T[] -> Criteria when 'T : struct, new() and IComparable
Parameters
- value
- Type: T
A random value within these values. - firstValue
- Type: T
To be sure there is at least one value. - values
- Type: T
The other values as an equivalence class for the current test.
Type Parameters
- T
- An enum type.
Return Value
Type:
CriteriaThe criteria representing the full range.
See Also