Class Example
- Namespace
- Hegel
- Assembly
- Hegel.dll
An explicit test case: the values its draws return, positionally and by draw label, run before the generated ones when Examples holds it.
public sealed class Example
- Inheritance
-
Example
- Inherited Members
Methods
Of(params object?[])
An example whose draws return values in order.
public static Example Of(params object?[] values)
Parameters
valuesobject[]
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
With(string, object?)
This example with the draws named name returning value.
The name is a draw's label ("xs", for every draw labelled xs) or the numbered
name one draw is printed with ("xs_2", the second of them), which wins over the label.
public Example With(string name, object? value)