Click or drag to resize

EnumTypeHelperValuesT 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 static EnumTypeHelperPlaceHolder<T> Values<T>(
	this T _,
	params T[] values
)
where T : struct, new(), IComparable

Parameters

_
Type: T
An enum we do not care about, except to know to create a EnumType.
values
Type: T
The values as an equivalence class for the current test.

Type Parameters

T
An enum type.

Return Value

Type: EnumTypeHelperPlaceHolderT
The criteria representing the full range.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . 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