PerformanceTestBaseTDelegate, TResultAddCase Method

Adds a test case to the test suit.
See the Examples section of the PerformanceTest class for some examples.


Namespace: KGySoft.Diagnostics
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 7.1.0
public PerformanceTestBase<TDelegate, TResult> AddCase(
	TDelegate testCase,
	string? name = null


testCase  TDelegate
The test case.
name  String  (Optional)
The name of the test. If not specified, a default name will be added.

Return Value

PerformanceTestBaseTDelegate, TResult
The self PerformanceTestBaseTDelegate, TResult instance to provide fluent initialization syntax.

See Also