Click or drag to resize

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

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: Criteria
The criteria representing the full range.
See Also