Table of Contents

Method GetMismatchExtents

Namespace
Xunit.Sdk
Assembly
xunit.v3.assert.dll

GetMismatchExtents(int?, out int, out int)

Gets the extents to print when you find a mismatched index, in the form of a startIndex and endIndex. If the mismatched index is null, the extents will start at index 0.

public override void GetMismatchExtents(int? mismatchedIndex, out int startIndex, out int endIndex)

Parameters

mismatchedIndex int?

The mismatched item index

startIndex int

The start index that should be used for printing

endIndex int

The end index that should be used for printing