Class TheoryData<T1, T2>
Represents a set of data for a theory with 2 parameters. Data can be added to the data set using the collection initializer syntax.
Namespace: Xunit
Assembly: xunit.core.dll
Syntax
public class TheoryData<T1, T2> : TheoryData
Type Parameters
Name | Description |
---|---|
T1 | The first parameter type. |
T2 | The second parameter type. |
Methods
| Improve this Doc View SourceAdd(T1, T2)
Adds data to the theory data set.
Declaration
public void Add(T1 p1, T2 p2)
Parameters
Type | Name | Description |
---|---|---|
T1 | p1 | The first data value. |
T2 | p2 | The second data value. |