NUnit.Framework.Constraints.Numerics
public static bool AreEqual<T1, T2>(T1 expected, T2 actual, ref Tolerance tolerance) where T1 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IConvertible where T2 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IConvertible
Compare two numeric values, performing the usual numeric conversions.
Checks the type of the object, returning true if
the object is a fixed point numeric type.
Checks the type of the object, returning true if
the object is a floating point numeric type.
Checks the type of the object, returning true if
the object is a numeric type.