Table of Contents

Class InstrumentCaptureAssertions

Namespace
TUnit.Assertions.Extensions
Assembly
MetricsAssertions.TUnit.dll
public static class InstrumentCaptureAssertions
Inheritance
InstrumentCaptureAssertions
Inherited Members

Methods

HasCounterTotal(IAssertionSource<InstrumentCapture>, long, string?)

Generated extension method for HasCounterTotal

public static InstrumentCapture_HasCounterTotal_Long_Assertion HasCounterTotal(this IAssertionSource<InstrumentCapture> source, long expected, string? expectedExpression = null)

Parameters

source IAssertionSource<InstrumentCapture>
expected long
expectedExpression string

Returns

InstrumentCapture_HasCounterTotal_Long_Assertion

HasCounterTotalAtLeast(IAssertionSource<InstrumentCapture>, long, string?)

Generated extension method for HasCounterTotalAtLeast

public static InstrumentCapture_HasCounterTotalAtLeast_Long_Assertion HasCounterTotalAtLeast(this IAssertionSource<InstrumentCapture> source, long expected, string? expectedExpression = null)

Parameters

source IAssertionSource<InstrumentCapture>
expected long
expectedExpression string

Returns

InstrumentCapture_HasCounterTotalAtLeast_Long_Assertion

HasLastValue(IAssertionSource<InstrumentCapture>, double, double, string?, string?)

Generated extension method for HasLastValue

public static InstrumentCapture_HasLastValue_Double_Double_Assertion HasLastValue(this IAssertionSource<InstrumentCapture> source, double expected, double tolerance, string? expectedExpression = null, string? toleranceExpression = null)

Parameters

source IAssertionSource<InstrumentCapture>
expected double
tolerance double
expectedExpression string
toleranceExpression string

Returns

InstrumentCapture_HasLastValue_Double_Double_Assertion

HasLastValue(IAssertionSource<InstrumentCapture>, double, string?)

Generated extension method for HasLastValue

public static InstrumentCapture_HasLastValue_Double_Assertion HasLastValue(this IAssertionSource<InstrumentCapture> source, double expected, string? expectedExpression = null)

Parameters

source IAssertionSource<InstrumentCapture>
expected double
expectedExpression string

Returns

InstrumentCapture_HasLastValue_Double_Assertion

HasMeasurementCount(IAssertionSource<InstrumentCapture>, int, string?)

Generated extension method for HasMeasurementCount

public static InstrumentCapture_HasMeasurementCount_Int_Assertion HasMeasurementCount(this IAssertionSource<InstrumentCapture> source, int expected, string? expectedExpression = null)

Parameters

source IAssertionSource<InstrumentCapture>
expected int
expectedExpression string

Returns

InstrumentCapture_HasMeasurementCount_Int_Assertion

HasNoMeasurements(IAssertionSource<InstrumentCapture>)

Generated extension method for HasNoMeasurements

public static InstrumentCapture_HasNoMeasurements_Assertion HasNoMeasurements(this IAssertionSource<InstrumentCapture> source)

Parameters

source IAssertionSource<InstrumentCapture>

Returns

InstrumentCapture_HasNoMeasurements_Assertion

HasTaggedMeasurement(IAssertionSource<InstrumentCapture>, string, object?, string?, string?)

Generated extension method for HasTaggedMeasurement

public static InstrumentCapture_HasTaggedMeasurement_String_Object_Assertion HasTaggedMeasurement(this IAssertionSource<InstrumentCapture> source, string tagKey, object? tagValue, string? tagKeyExpression = null, string? tagValueExpression = null)

Parameters

source IAssertionSource<InstrumentCapture>
tagKey string
tagValue object
tagKeyExpression string
tagValueExpression string

Returns

InstrumentCapture_HasTaggedMeasurement_String_Object_Assertion

HasUpDownCounterValue(IAssertionSource<InstrumentCapture>, long, string?)

Generated extension method for HasUpDownCounterValue

public static InstrumentCapture_HasUpDownCounterValue_Long_Assertion HasUpDownCounterValue(this IAssertionSource<InstrumentCapture> source, long expected, string? expectedExpression = null)

Parameters

source IAssertionSource<InstrumentCapture>
expected long
expectedExpression string

Returns

InstrumentCapture_HasUpDownCounterValue_Long_Assertion