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