Click or drag to resize

EnumTypeErrorValuesT Method

Adds enum values (considered an error) to test for as an equivalence class.

Namespace:  SmartTests.Ranges
Assembly:  SmartTests (in SmartTests.dll) Version: 1.7.0
Syntax
public Criteria ErrorValues<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