C# 클래스 PclUnit.Style.Nunit.RandomAttribute

RandomAttribute is used to supply a set of random values to a single parameter of a parameterized test.
상속: ValuesAttribute
파일 보기 프로젝트 열기: jbtule/PclUnit

공개 메소드들

메소드 설명
GetData ( ParameterInfo parameter ) : IEnumerable

Get the collection of values to be used as arguments

RandomAttribute ( double min, double max, int count ) : System

Construct a set of doubles from min to max

RandomAttribute ( int count ) : System

Construct a set of doubles from 0.0 to 1.0, specifying only the count.

RandomAttribute ( int min, int max, int count ) : System

Construct a set of ints from min to max

메소드 상세

GetData() 공개 메소드

Get the collection of values to be used as arguments
public GetData ( ParameterInfo parameter ) : IEnumerable
parameter System.Reflection.ParameterInfo
리턴 IEnumerable

RandomAttribute() 공개 메소드

Construct a set of doubles from min to max
public RandomAttribute ( double min, double max, int count ) : System
min double
max double
count int
리턴 System

RandomAttribute() 공개 메소드

Construct a set of doubles from 0.0 to 1.0, specifying only the count.
public RandomAttribute ( int count ) : System
count int
리턴 System

RandomAttribute() 공개 메소드

Construct a set of ints from min to max
public RandomAttribute ( int min, int max, int count ) : System
min int
max int
count int
리턴 System