NUnit.Framework.RandomAttribute
Supplies a set of random values to a single parameter of a parameterized test.
namespace NUnit.
Framework
{
public class RandomAttribute :
NUnitAttribute,
IParameterDataSource
{
public bool Distinct { get; set; }
public RandomAttribute(
int count);
public RandomAttribute(
int min,
int max,
int count);
public RandomAttribute(
uint min,
uint max,
int count);
public RandomAttribute(
long min,
long max,
int count);
public RandomAttribute(
ulong min,
ulong max,
int count);
public RandomAttribute(
short min,
short max,
int count);
public RandomAttribute(
ushort min,
ushort max,
int count);
public RandomAttribute(
double min,
double max,
int count);
public RandomAttribute(
float min,
float max,
int count);
public RandomAttribute(
byte min,
byte max,
int count);
public RandomAttribute(
sbyte min,
sbyte max,
int count);
public IEnumerable GetData(
IParameterInfo parameter);
}
}