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
sourceIAssertionSource<InstrumentCapture>expectedlongexpectedExpressionstring
Returns
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
sourceIAssertionSource<InstrumentCapture>expectedlongexpectedExpressionstring
Returns
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
sourceIAssertionSource<InstrumentCapture>expecteddoubletolerancedoubleexpectedExpressionstringtoleranceExpressionstring
Returns
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
sourceIAssertionSource<InstrumentCapture>expecteddoubleexpectedExpressionstring
Returns
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
sourceIAssertionSource<InstrumentCapture>expectedintexpectedExpressionstring
Returns
HasNoMeasurements(IAssertionSource<InstrumentCapture>)
Generated extension method for HasNoMeasurements
public static InstrumentCapture_HasNoMeasurements_Assertion HasNoMeasurements(this IAssertionSource<InstrumentCapture> source)
Parameters
sourceIAssertionSource<InstrumentCapture>
Returns
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
sourceIAssertionSource<InstrumentCapture>tagKeystringtagValueobjecttagKeyExpressionstringtagValueExpressionstring
Returns
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
sourceIAssertionSource<InstrumentCapture>expectedlongexpectedExpressionstring