C# Class Xunit.PairwiseStrategy.FeatureTuple

A FeatureTuple represents a combination of features, one per test parameter, which should be covered by a test case. In the PairwiseStrategy, we are only trying to cover pairs of features, so the tuples actually may contain only single feature or pair of features, but the algorithm itself works with triplets, quadruples and so on.
Show file Open project: AArnott/Xunit.Combinatorial

Public Methods

Method Description
FeatureTuple ( FeatureInfo feature1 ) : System

Initializes a new instance of the FeatureTuple class for a single feature.

FeatureTuple ( FeatureInfo feature1, FeatureInfo feature2 ) : System

Initializes a new instance of the FeatureTuple class for a pair of features.

this ( int index ) : FeatureInfo

Method Details

FeatureTuple() public method

Initializes a new instance of the FeatureTuple class for a single feature.
public FeatureTuple ( FeatureInfo feature1 ) : System
feature1 FeatureInfo Single feature.
return System

FeatureTuple() public method

Initializes a new instance of the FeatureTuple class for a pair of features.
public FeatureTuple ( FeatureInfo feature1, FeatureInfo feature2 ) : System
feature1 FeatureInfo First feature.
feature2 FeatureInfo Second feature.
return System

this() public method

public this ( int index ) : FeatureInfo
index int
return FeatureInfo