C# Class PclUnit.Style.Nunit.RangeAttribute

RangeAttribute is used to supply a range of values to an individual parameter of a parameterized test.
Inheritance: ValuesAttribute
Show file Open project: jbtule/PclUnit

Public Methods

Method Description
RangeAttribute ( double from, double to, double step ) : System

Construct a range of doubles

RangeAttribute ( float from, float to, float step ) : System

Construct a range of floats

RangeAttribute ( int from, int to ) : System

Construct a range of ints using default step of 1

RangeAttribute ( int from, int to, int step ) : System

Construct a range of ints specifying the step size

RangeAttribute ( long from, long to, long step ) : System

Construct a range of longs

Method Details

RangeAttribute() public method

Construct a range of doubles
public RangeAttribute ( double from, double to, double step ) : System
from double
to double
step double
return System

RangeAttribute() public method

Construct a range of floats
public RangeAttribute ( float from, float to, float step ) : System
from float
to float
step float
return System

RangeAttribute() public method

Construct a range of ints using default step of 1
public RangeAttribute ( int from, int to ) : System
from int
to int
return System

RangeAttribute() public method

Construct a range of ints specifying the step size
public RangeAttribute ( int from, int to, int step ) : System
from int
to int
step int
return System

RangeAttribute() public method

Construct a range of longs
public RangeAttribute ( long from, long to, long step ) : System
from long
to long
step long
return System