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
actualobjectThe actual object value
lowobjectThe low value of the range
highobjectThe high value of the range