Table of Contents

Class SequencesAssertions

Namespace
TUnit.Assertions.Extensions
Assembly
MathAssertions.TUnit.dll
public static class SequencesAssertions
Inheritance
SequencesAssertions
Inherited Members

Methods

ConvergesTo(IAssertionSource<double[]>, double, double, string?, string?)

Generated extension method for ConvergesTo

public static DoubleArray_ConvergesTo_Double_Double_Assertion ConvergesTo(this IAssertionSource<double[]> source, double limit, double tolerance, string? limitExpression = null, string? toleranceExpression = null)

Parameters

source IAssertionSource<double[]>
limit double
tolerance double
limitExpression string
toleranceExpression string

Returns

DoubleArray_ConvergesTo_Double_Double_Assertion

HasLength<T>(IAssertionSource<T[]>, int, string?)

Generated extension method for HasLength

[UnconditionalSuppressMessage("Trimming", "IL2091", Justification = "Generic type parameter is only used for property access, not instantiation")]
public static TArray_HasLength_Int_Assertion<T> HasLength<T>(this IAssertionSource<T[]> source, int expected, string? expectedExpression = null)

Parameters

source IAssertionSource<T[]>
expected int
expectedExpression string

Returns

TArray_HasLength_Int_Assertion<T>

Type Parameters

T

HasMinLength<T>(IAssertionSource<T[]>, int, string?)

Generated extension method for HasMinLength

[UnconditionalSuppressMessage("Trimming", "IL2091", Justification = "Generic type parameter is only used for property access, not instantiation")]
public static TArray_HasMinLength_Int_Assertion<T> HasMinLength<T>(this IAssertionSource<T[]> source, int expected, string? expectedExpression = null)

Parameters

source IAssertionSource<T[]>
expected int
expectedExpression string

Returns

TArray_HasMinLength_Int_Assertion<T>

Type Parameters

T

IsArithmeticProgression(IAssertionSource<double[]>, double, string?)

Generated extension method for IsArithmeticProgression

public static DoubleArray_IsArithmeticProgression_Double_Assertion IsArithmeticProgression(this IAssertionSource<double[]> source, double tolerance, string? toleranceExpression = null)

Parameters

source IAssertionSource<double[]>
tolerance double
toleranceExpression string

Returns

DoubleArray_IsArithmeticProgression_Double_Assertion

IsBounded(IAssertionSource<double[]>, double, double, string?, string?)

Generated extension method for IsBounded

public static DoubleArray_IsBounded_Double_Double_Assertion IsBounded(this IAssertionSource<double[]> source, double min, double max, string? minExpression = null, string? maxExpression = null)

Parameters

source IAssertionSource<double[]>
min double
max double
minExpression string
maxExpression string

Returns

DoubleArray_IsBounded_Double_Double_Assertion

IsCauchyConvergent(IAssertionSource<double[]>, double, string?)

Generated extension method for IsCauchyConvergent

public static DoubleArray_IsCauchyConvergent_Double_Assertion IsCauchyConvergent(this IAssertionSource<double[]> source, double tolerance, string? toleranceExpression = null)

Parameters

source IAssertionSource<double[]>
tolerance double
toleranceExpression string

Returns

DoubleArray_IsCauchyConvergent_Double_Assertion

IsGeometricProgression(IAssertionSource<double[]>, double, string?)

Generated extension method for IsGeometricProgression

public static DoubleArray_IsGeometricProgression_Double_Assertion IsGeometricProgression(this IAssertionSource<double[]> source, double tolerance, string? toleranceExpression = null)

Parameters

source IAssertionSource<double[]>
tolerance double
toleranceExpression string

Returns

DoubleArray_IsGeometricProgression_Double_Assertion

IsMonotonicallyDecreasing(IAssertionSource<double[]>)

Generated extension method for IsMonotonicallyDecreasing

public static DoubleArray_IsMonotonicallyDecreasing_Assertion IsMonotonicallyDecreasing(this IAssertionSource<double[]> source)

Parameters

source IAssertionSource<double[]>

Returns

DoubleArray_IsMonotonicallyDecreasing_Assertion

IsMonotonicallyIncreasing(IAssertionSource<double[]>)

Generated extension method for IsMonotonicallyIncreasing

public static DoubleArray_IsMonotonicallyIncreasing_Assertion IsMonotonicallyIncreasing(this IAssertionSource<double[]> source)

Parameters

source IAssertionSource<double[]>

Returns

DoubleArray_IsMonotonicallyIncreasing_Assertion

IsSorted(IAssertionSource<double[]>)

Generated extension method for IsSorted

public static DoubleArray_IsSorted_Assertion IsSorted(this IAssertionSource<double[]> source)

Parameters

source IAssertionSource<double[]>

Returns

DoubleArray_IsSorted_Assertion

IsStrictlyMonotonicallyDecreasing(IAssertionSource<double[]>)

Generated extension method for IsStrictlyMonotonicallyDecreasing

public static DoubleArray_IsStrictlyMonotonicallyDecreasing_Assertion IsStrictlyMonotonicallyDecreasing(this IAssertionSource<double[]> source)

Parameters

source IAssertionSource<double[]>

Returns

DoubleArray_IsStrictlyMonotonicallyDecreasing_Assertion

IsStrictlyMonotonicallyIncreasing(IAssertionSource<double[]>)

Generated extension method for IsStrictlyMonotonicallyIncreasing

public static DoubleArray_IsStrictlyMonotonicallyIncreasing_Assertion IsStrictlyMonotonicallyIncreasing(this IAssertionSource<double[]> source)

Parameters

source IAssertionSource<double[]>

Returns

DoubleArray_IsStrictlyMonotonicallyIncreasing_Assertion