Table of Contents

Method ForValueInRange

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

ForValueInRange(object, object, object)

Creates a new instance of the NotInRangeException class to be thrown when a value was unexpected with the range of two other values.

public static NotInRangeException ForValueInRange(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