NUnit.Framework.Constraints.Numerics: Method Members

The methods of NUnit.Framework.Constraints.Numerics are listed below. For a list of all members, see the Numerics Members list.

See Also: Inherited members from System.Object

Public Methods

static
AreEqual(object, object, ref Tolerance) : bool
Test two numeric values for equality, performing the usual numeric conversions and using a provided or default tolerance. If the tolerance provided is Empty, this method may set it to a default tolerance.
static
Compare(object, object) : int
Compare two numeric values, performing the usual numeric conversions.
static
IsFixedPointNumeric(object) : bool
Checks the type of the object, returning true if the object is a fixed point numeric type.
static
IsFloatingPointNumeric(object) : bool
Checks the type of the object, returning true if the object is a floating point numeric type.
static
IsNumericType(object) : bool
Checks the type of the object, returning true if the object is a numeric type.