Table of Contents

Method ForValueNotInRange

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

ForValueNotInRange(object, object, object)

Creates a new instance of the InRangeException class to be thrown when the given value is not in the given range.

public static InRangeException ForValueNotInRange(object actual, object low, object high)

Parameters

actual object

The actual object value

low object

The low value of the range

high object

The high value of the range

Returns